@Observable ownership and passing
When working with an iOS 17 @Observable class in SwiftUI views, using "who owns it" and "how is it passed" as the criteria, when do you use @State, a plain property, @Bindable, and @Environment?
@Observable ownership and passing
When working with an iOS 17 @Observable class in SwiftUI views, using "who owns it" and "how is it passed" as the criteria, when do you use @State, a plain property, @Bindable, and @Environment?
SwiftUIMultiple choiceBasics
You're moving a SwiftUI app's ObservableObject code to @Observable. Select all the correc…
#observable #state #bindable #environment
SwiftUIShort answerIntro
A junior asks you why the screen doesn't update after they change a @State value in Swift…
#observable #state
SwiftUIShort answerAdvanced
In SwiftUI, what does the iOS 17 @Observable macro give you over the older ObservableObje…
#observation #observable
SwiftUIMultiple choiceExpert
In this SwiftUI plus Observation code, when only store.count is incremented, select all t…
#observation #observable