In this lesson, you learned how to inject a view model object into the environment of the app. You also learned how to implement two-way binding between a view and a view model object so the view can modify values in the view model object.
You utilized @State and @Environment for efficient data sharing within the MVVM architecture.
You implemented two-way data binding between a View and ViewModel using @Bindable.
See forum comments
This content was released on Feb 28 2025. The official support period is 6-months
from this date.
Recap the key points about data binding techniques.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous: Demo 2
Next: Data Binding Techniques Quiz
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.