Module 2 of 2 in Your First iOS App: An App From Scratch
Your First iOS App: Data Flow in SwiftUI
Module outcomes
- Add button actions and alerts to a SwiftUI view.
- Use state and bindings to keep a SwiftUI interface in sync with data.
- Move Bull’s Eye game logic into a model object.
Covered concepts
- SwiftUI Button actions and alerts
- State and bindings
- String interpolation, variables, constants, and model structure
Module content
1
Buttons & Actions
Lesson (4 mins)
1
Buttons & Actions
Lesson (4 mins)
2
SwiftUI State
Lesson (10 mins)
2
SwiftUI State
Lesson (10 mins)
3
SwiftUI Bindings
Lesson (4 mins)
3
SwiftUI Bindings
Lesson (4 mins)
6
Intro to App Architecture
Lesson (4 mins)
6
Intro to App Architecture
Lesson (4 mins)
7
Create a Model
Lesson (11 mins)
7
Create a Model
Lesson (11 mins)