WWDC25: SwiftData: Dive into inheritance and schema migration | Apple
Автор: Apple Developer
Загружено: 2025-06-09
Просмотров: 2033
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.
Explore related documentation, sample code, and more:
SwiftData: https://developer.apple.com/documenta...
Building rich SwiftUI text experiences: https://developer.apple.com/documenta...
Adopting SwiftData for a Core Data app: https://developer.apple.com/documenta...
What’s new in SwiftUI: https://developer.apple.com/videos/pl...
Track model changes with SwiftData history: https://developer.apple.com/videos/pl...
00:00 - Introduction
02:11 - Harness class inheritance
07:39 - Evolving data with migration
11:27 - Tailoring fetched data
13:54 - Observing changes to data
18:28 - Next steps
More Apple Developer resources:
Video sessions: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: