WWDC22: Evolve your Core Data schema | Apple
Learn how you can cleanly migrate Core Data schemas after updating your app, and breeze through data model changes. We’ll show you how you can take advantage of built-in migration tools to keep your data storage up to date, and let Core Data analyze your schema to infer data model migrations. We’ll also provide best practices, help you tackle tough migration challenges, and discover how Core Data schemas can interact with CloudKit to support easy migrations in the cloud.
To get the most out of this session, we recommend being familiar with Core Data schemas and data types, and have a basic understanding around syncing Core Data databases with CloudKit.
Explore related documentation, sample code, and more:
Migrating your data model automatically: https://developer.apple.com/documentation/CoreData/migrating-your-data-model-automatically
What’s new in Core Data: https://developer.apple.com/videos/play/wwdc2023/10186
Optimize your use of Core Data and CloudKit: https://developer.apple.com/videos/play/wwdc2022/10119
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