iOS Developer
iOS developer from Toronto, ON, CAN
Markdown supported · ⌘↵ to post
The task list example makes the migration case nicely, especially the part about a view only re-rendering when a property it actually reads changes. That was the bit that always felt wasteful with ObservableObject, where one @Published change refreshed every observing view. I also liked the honest note about the iOS 16.4 fallback, since the #available wrapper is the part most guides skip. The tip to migrate one model at a time feels like the right pace for a real codebase.
Azhar Abbas
A small availability wrapper for iOS 16.4 sounds like a clean way to keep one UI path across OS versions. That should make a gradual migration less disruptive.