I think this is the clearest one I've seen for Swift UI on KZitem! Thanks man
@yerlan2100
5 жыл бұрын
Awesome tutorial! Keep doing something like this!
@DesignCodeTeam
5 жыл бұрын
Yerlan thank you, will keep posting more
@MK-jp1ey
4 жыл бұрын
Am I missing something?! Why does my list and form display as individual rounded boarder pads ! I’m sorry I’m new to this but I like the way yours is showing
@Maziyarlayeghkar
2 жыл бұрын
My Form is creating rounded cells and these cells are not covering whole the screen (like yours), then there will be some grey margins from left and right. Is it because of new iOS? (I am using iOS 15.2)
@sd961960
5 жыл бұрын
This is a great video...but where is the first part? You start of with an app that is halfway built already, and no link to the beginning of this, which in effect makes this tutorial in effective for me...where is the starting point?
@DesignCodeTeam
5 жыл бұрын
It's part of this course, which teaches you from scratch: designcode.io/swiftui-course
@shenZ007
4 жыл бұрын
Great tutorial
@developerios6096
5 жыл бұрын
Nice video! I was wondering if there was a way to execute a block of instructions when you actually interact with the Toggle( like setting a global color for your app)
@DesignCodeTeam
5 жыл бұрын
Developer iOS I don’t see why not. By listening to the state change, you can execute a function that would do that.
@developerios6096
5 жыл бұрын
@@DesignCodeTeam You actually dont have a closure block which gets executed when you interact with Toggle(Button has one). How would i listen to the state change(the toggle binding) and execute , lets say, a function ? Do you have a video of that?
@DesignCodeTeam
5 жыл бұрын
Not sure if this is the best way, but you can use .onAppear or .tapAction to call the function which then apply the changes.
@developerios6096
5 жыл бұрын
@@DesignCodeTeam I thought about that, but the toggle state can be changed also dragging on the control, which leads to non calling .tapAction. Its a bad workaround as you suggested. Probably there will be a a better method in next betas which could solve this issue, what you think?
@DesignCodeTeam
5 жыл бұрын
You can also do: if receive { print("change...") }, but you need to return the parent View: return NavigationView
@moayadkom
5 жыл бұрын
Could you please share this sample source code?
@mwxd
4 жыл бұрын
Useless tutorial, without validation and store data from form...
Пікірлер: 16