Daily iOS
SwiftUI크림

@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?

Submit