Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

The inclusion of model inheritance as a SwiftData feature announced at WWDC 2025 was a welcome one, allowing developers to automatically bring their classes that were already using inheritance into the object model as easily as the parent classes, if it makes sense to do so.

In the next lesson, you’ll learn how you can make more efficient queries in SwiftData, which becomes very useful as your database grows in size.

See forum comments
Download course materials from Github
Previous: SwiftData Model Demo Next: Introduction