SwiftUI Form with Section, TextFields, Picker, Toggle, Button, Validation & SwiftUI Accordion

preview_player
Показать описание
SwiftUI Form with Section, TextFields, Picker, Toggle, Button, Validation & SwiftUI Accordion

🤙🏾 Subscribe to the tundsdev YouTube channel

⏭ Next Video
@FocusState In SwiftUI (How To Manage Keyboard In SwiftUI, Dismiss Keyboard In SwiftUI)

⏮ Previous Video
Menu VS Context Menu In SwiftUI (Breaking down the difference between Menu and Context Menu)

Ready to level up your SwiftUI skills?🚀

Learn how to tackle take-home projects in SwiftUI, nail interviews, and more with this FREE course!📚

This YouTube playlist teaches you everything you need know to land your first iOS role 🫂

In this video, we will look at a SwiftUI Form Example. This SwiftUI Form will include the following:

- SwiftUI Section
- SwiftUI Section Header
- SwiftUI Section Footer
- SwiftUI TextField
- SwiftUI Picker
- SwiftUI Toggle
- SwiftUI Button
- SwiftUI Form Validation
- SwiftUI Form Error Handling
- SwiftUI Accordion

We'll look at how to add each one of these SwiftUI views into our SwiftUI Form, which will use a closure to communicate back any valid form data, which we can use in our SwiftUI app. This SwiftUI Form will be presented using the .sheet modifier, and will allow us to reuse it in multiple projects. So let's see how to build a form in SwiftUI.

Build A Settings Screen In SwiftUI (SwiftUI Tutorial, SwiftUI Form, FormView)

SwiftUI Form Validation using Combine (SwiftUI Tutorial, Regular Expressions, Combine Framework)

How To Use ForEach In SwiftUI With Identifiable (SwiftUI ForEach Loop, SwiftUI Identifiable)

GitHub link:

SwiftUI Sessions Playlist:
Рекомендации по теме
Комментарии
Автор

i love this straight forward tutorial, i learnt many things

succeeder
Автор

Great Job
Would love to see a video about writing and reading data to Firebase Realtime Database using Combine.

pridetechnologies
Автор

This was extremely helpful and explained very well!

chrisstromberg
Автор

@tundsdev, this is awesome. How do you address some textfield in form that is being covered by the keyboard? thanks

EmanNollase
Автор

anyone encounter when using the Form with section the button is lagging ?

slimbody
Автор

Would it be possible for you to create a tutorial on creating dropdown pickers and storing that data in a firebase collection? Essentially creating a collection for user profile information, and then create a variable for gender that is displayed as a dropdown picker in the UI interface.

deanspann
Автор

I've watched this a couple times, the first time I thought it was way over my head. But after a few weeks of practice and more videos I came back to this one and wrote out the code along with you. I learnt a lot of different techniques. A couple of things are still foggy for me; especially ... 
let action: (_ contact: NewContact) -> Void
this seems like magic. Anyway great video, I thoroughly enjoyed your method of teaching. 'Sweet'

dugrut