SwiftUI
@Observable vs ObservableObject in SwiftUI
In SwiftIUI, when requiring the reference semantics of a class and wanting to upgrade from Combine’s ObservableObject and @StateObject to the new @Observable it requires a bit more work to get the life-cycle correct. The reason for this is we Read more…
You must be logged in to post a comment.