swiftdata in wwdc 2025
Asked on 06/14/2025
1 search
At WWDC 2025, SwiftData was highlighted in several sessions, showcasing its capabilities and improvements. In the session titled "SwiftData: Dive into inheritance and schema migration," SwiftData was demonstrated using a sample app called Trips, which is written in SwiftUI. The session covered how to use SwiftData for persistence, schema migration, graph management, and synchronization with CloudKit. You can learn more about this in the session SwiftData: Dive into inheritance and schema migration (00:00:57).
Additionally, the "Platforms State of the Union" session mentioned enhancements to SwiftData, including model subclassing, entity inheritance, and support for additional data types like AttributedString
. These updates make SwiftData more flexible and powerful for developers working with data models in SwiftUI.
For a comprehensive overview of what's new in SwiftData, you might also want to check out the session from WWDC 2024 titled "What’s new in SwiftData," which covers the framework's features and improvements in detail.

SwiftData: Dive into inheritance and schema migration
Discover how to use class inheritance to model your data. Learn how to optimize queries and seamlessly migrate your app’s data to use inheritance. Explore subclassing for building model graphs, crafting efficient fetches and queries, and implementing robust schema migrations. Understand how to use Observable and persistent history for efficient change tracking.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Keynote
Don’t miss the exciting reveal of the latest Apple software and technologies.