@observable in UIKit

Asked on 06/16/2025

1 search

In the session titled "What’s new in UIKit" from WWDC 2025, Apple introduced built-in support for Swift observable objects in UIKit. This integration allows UIKit to automatically track observable view references and manage dependencies, which helps in keeping views in sync without requiring manual updates. This feature is enabled by default in iOS 26, and can be back-deployed to iOS 18 by adding a specific key to your info plist.

For more details, you can refer to the chapter on Automatic observation tracking in the "What’s new in UIKit" session.