Your First iOS App: Data Flow in SwiftUI [SUBSCRIBER]
Ray Wenderlich

Your First iOS App: Data Flow in SwiftUI [SUBSCRIBER]

Module 2 of 2 in Your First iOS App: An App From Scratch

This module continues building Bull’s Eye while introducing SwiftUI data concepts. You will add button actions, use state and bindings, work with strings and variables, and move game logic into a model.

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)
  2. SwiftUI State Lesson (10 mins)
  3. SwiftUI Bindings Lesson (4 mins)
  4. Intro to App Architecture Lesson (4 mins)
  5. Create a Model Lesson (11 mins)

Comments

No comments yet. Start the discussion.