skip to content

State and Data Flow

0 questions

@State, @Binding, @StateObject, @ObservedObject, @EnvironmentObject, and the newer Observation macros each answer a different question about who owns a value and who merely reads it. This is the most asked SwiftUI area, usually arriving as 'when do you use @StateObject instead of @ObservedObject'.

questions

no questions here yet

this part of the tree is still being written

>
0 questions in this topic or below it