Introduced in iOS 17 back at WWDC 2023, SwiftData finally provided a “Swift-y” way to work with database persistence in Swift apps. While it still uses Core Data on the backend, the API is greatly improved, taking advantage of Swift Macros also released in 2023.
Before diving into what’s new with SwiftData from WWDC 2025, you’ll get a quick refresher on how to:
Build models with SwiftData, taking advantage of Swift Macros
Perform queries using the @Query macro
Insert data
By the end of the lesson, your brain will be primed to learn about improvements to SwiftData in 2026 Apple operating systems.
See forum comments
This content was released on Dec 10 2025. The official support period is 6-months
from this date.
In this introduction, you’ll get a quick overview of using model inheritance with SwiftData.
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.