Swift theorytheory 0/50 · 0%
SwiftUI · easy

18. SwiftUI: State

Basic state management.

@State is used for simple local state within a view.

Check your understanding

  1. 1. Modifier for local state?

  2. 2. Passed as a binding?