Two-way bindings in SwiftUI - SwiftUI Starter Project 10/14

preview_player
Показать описание
In this video we take a closer look at how bindings work in SwiftUI, then add a toggle switch, text field, and more.

This project is aimed at programmers who have some experience with Swift and UIKit already, and want to get up to speed with SwiftUI as quickly as possible.
Рекомендации по теме
Комментарии
Автор

So YouTube needs a really like button. This is great! Form has been lurking around my I gotta check ou what that thing is list for quite some time. Thanks, this is huge

lincolndickerson
Автор

Great, Awesome, Exceptional as usual, Thanks. Talking about binding, there is a new waring "Modifying state during view update, this will cause undefined behavior". Even if this is a bug that Apple might fix, creating views that has uncontrolled dependency on external events can cause performance issues, correct? Any thoughts? Your opinion will be helpful.

santhoshVnair