find any information about Observable at swiftui
Asked on 2025-07-13
1 search
Observable entities in SwiftUI are a key feature that allows for seamless data flow between SwiftUI and RealityKit. In the session titled "Better together: SwiftUI and RealityKit" from WWDC 2025, it is explained that observable entities enable information to flow both ways between SwiftUI and RealityKit. This means that RealityKit entities can act like model objects to drive updates to your SwiftUI views, and vice versa. This integration allows for a more dynamic and interactive user experience, as changes in data can automatically update the UI and 3D models.
Additionally, the session "What’s new in SwiftUI" highlights that RealityKit entities now conform to Observable, making it easier to observe changes in your SwiftUI views. This enhancement simplifies the interaction between SwiftUI and RealityKit, allowing for more complex and responsive applications.
For more detailed information, you can refer to the session Better together: SwiftUI and RealityKit (20:02) and What’s new in SwiftUI (17:06).

Better together: SwiftUI and RealityKit
Discover how to seamlessly blend SwiftUI and RealityKit in visionOS 26. We’ll explore enhancements to Model3D, including animation and ConfigurationCatalog support, and demonstrate smooth transitions to RealityView. You’ll learn how to leverage SwiftUI animations to drive RealityKit component changes, implement interactive manipulation, use new SwiftUI components for richer interactions, and observe RealityKit changes from your SwiftUI code. We’ll also cover how to use unified coordinate conversion for cross-framework coordinate transformations.

SwiftUI essentials
Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.