SwiftData is Apple's modern, Swift-first persistence framework built on top of Core Data. Core Data remains the underlying engine and is still fully supported.
| Feature | SwiftData | Core Data |
|---|---|---|
| API style | Swift macros (@Model) | NSManagedObject subclassing |
| Boilerplate | Near zero | High |
| iOS support | iOS 17+ | iOS 3+ |
| CloudKit sync | Built-in | Built-in |
| Migration story | Schema versioning APIs | Mature, well-documented |
SwiftData for any new project targeting iOS 17+. Stay on Core Data only if you need iOS 16 support or have heavy custom NSManagedObject subclasses.
Yes for iOS 17+. Early bugs were resolved in iOS 17.2 and the API stabilized in iOS 18.
Yes. SwiftData is built on Core Data; you can access the underlying store from both APIs.