Migrating your model schema is vital for the successful continued operation of your app. If the schema is not properly migrated, interactions such as saving model objects in the database can fail, since the expected properties in the code no longer match the properties defined in the schema. This can cause your app to crash, so don’t forget to handle the migration of schemas, as many as you need, so your user’s experience remains free of errors.
There weren’t a lot of SwiftData updates this year from WWDC, but they were impactful ones, centering around the addition of the long requested model inheritance feature.
See forum comments
This content was released on Dec 10 2025. The official support period is 6-months
from this date.
In this segment, you’ll wrap up this lesson, and this module!
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.