Тэги:
#swift_5_tutorial #swift_2020 #swift #swift_5 #swift_tutorial #swift_for_beginners #swiftUI_2020 #swift_programming #swift_basics #swift_apps #make_iPhone_app #swift_make_first_app #swiftUI_tutorial #swiftui_forms #swiftui_state #swiftui_mvvm #swiftui_basics #swiftui_2 #swiftui_beginner #wiftui_textfield #swiftui_binding #swiftui_observable_object #swiftui_observable #swiftui_2.0 #swiftui_tutorial_2021 #2021_swiftui #swiftui_search_field #swiftiu_fields #swiftui #ios #appКомментарии:
u saved me
ОтветитьAfter extracting to FormViewModel, I think it should be @Published instead of @State?
ОтветитьNice simple video. If you imagine this was a contacts app, would you create perhaps a struct with all the contact properties (id, email, phone, address etc.), then create an empty array of these structs for instance - var contacts = [Contacts] in the view model. Then create a function in the view model linked to a save UI button to (check data validation) but then append all the @State vars (name, email etc.) to the array within the struct structure? These could then be sorted by id, or name etc. Is this generally the right approach for this context?
ОтветитьComing here from UIKit. This is crazy.
ОтветитьNicely done. Well explained. Thank you so much
ОтветитьVery hard to follow and out of date
ОтветитьThe section footer doesn't seem to work for me and text fields don't show text?
Ответитьhow can I send the input to an email by clicking on a button?
ОтветитьGreat video. I am definitely going to use this! Just need to learn how to save the user data to a database.
ОтветитьHow would I go about doing that in UIKit and without SwiftUI?
Ответитьnice video, but whatsup with that ugly white backgrund behind the button, and how can I remove it? thanks!
ОтветитьHow do you “do something with form data”? I am stuck on that part
Ответитьhow to get iOS simulator to show like that on previews on the side?
ОтветитьI run into many errors immediately after creating a SwiftUI project. It says that it cannot find type 'View', 'Scene' and 'App' in scope. Can anyone help me?
ОтветитьGreat video!! Thank you for your work! 🙏🏻
ОтветитьGreat walkthrough again, Afraz. Though I have yet to be doing stuff in SwiftUI, I however got the gist. 😊
ОтветитьThanks for giving this great idea :)...please make a continuation of this video, after filling all the fields then shows the data to a next page....
ОтветитьPersonally, I feel that forms are a great/useful part of swiftUI, thanks for giving me a good understanding of how to use them!
ОтветитьGreat video! Thanks for this tutorial.🙏🏻
Ответить