Login
From:
Jesse Squires
(Uncensored)
subscribe
SwiftUI's Observable macro is not a drop-in replacement for ObservableObject
https://www.jessesquires.com/blog/2024/09/09/swift-observable-macro/
links
backlinks
Tagged with:
ios
swift
macos
swiftui
software-dev
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.
Roast topics
Find topics
Find it!