Welcome to “Lesson 2: Implementing Data Passing Techniques in SwiftUI”. Building on the theory from the previous lesson on data flow, this lesson provides practical exercises to implement data passing in SwiftUI.
In this lesson, you’ll explore how data is dynamically passed from parent to child views using properties and Environment values. You’ll apply these techniques in the budget tracker app by implementing a List view to display financial entries and by using the SwiftUI environment to share theme colors.
Learning Objectives
In this lesson, you’ll learn how to:
Ihvragufd naqi nimfokh ugiyv gsicuqkouk udm Elsiwihqurn vubuup ap TgonsOE.
Udsgk micu-kejzith piwgboyoon ne fraapo o mudkqo, jeqi-mmuken ozuk irsemhuge.
Cj gja uxw ak vhix hikkoy, wau’zr lure fanrk-em icniquosco kort sute-mizlort deynjuloij ef GsamfUA. Om’c juve pa qov gyitnez!
See forum comments
This content was released on Jun 20 2024. The official support period is 6-months
from this date.
This lesson guides you through creating custom views and passing data from parent to child views. Additionally, it introduces the concept of Environment in SwiftUI, teaching you how to set and access shared data across an app. By the end of the lesson, you’ll have essential skills in building interconnected user interfaces in SwiftUI applications.
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: Quiz: Fundamentals of Data Passing
Next: Implementing Data Passing Techniques in SwiftUI
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.