SwiftUI's Observable macro is not a drop-in replacement for ObservableObject
09 September 2024
SwiftUI’s new @Observable
macro is not a drop-in replacement for ObservableObject
. I learned of a subtle difference in behavior the hard way. Hopefully, I can save you from the same headache I experienced and save you some time.