@obsservable in uikit.

Asked on 06/16/2025

1 search

In the session titled "What’s new in UIKit" at 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 simplifies the process of keeping UI elements in sync with data changes. This feature is enabled by default in iOS 26, and can be back-deployed to iOS 18 by adding the UIObservationTrackingEnabled key to your Info.plist.

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