iOS / Swift / Swift values and SwiftUI ownership

iOS / Swift β€” Swift values and SwiftUI ownership

Optionals, value models, state identity, layout, drafts, and typed navigation.

6 lessons Β· No account required

What you will learn

  • Optionals, value models, state identity, layout, drafts, and typed navigation.
  1. Swift values, optionals, and the iOS host

    Establish language and platform boundaries, then handle absence without inventing a plausible domain value.

    Start learning
  2. Value models, collections, and errors

    Use structs and enums to preserve invariants, and understand where collection copying stops protecting shared references.

    Start learning
  3. SwiftUI state, bindings, and identity

    Treat views as descriptions and give editable state one owner that survives the intended view identity.

    Start learning
  4. SwiftUI layout and stable lists

    Reason about proposed size, modifier order, Dynamic Type, and row identity instead of fixing one screenshot.

    Start learning
  5. Forms, drafts, and validation

    Keep editing forgiving while creating explicit validated commands and preserving work through recoverable failures.

    Start learning
  6. Navigation values and presentation

    Model destinations with stable values, keep route validation distinct from permission, and define cancellation explicitly.

    Start learning
Back to course