Introduction to SwiftData
SwiftData was introduced by Apple during WWDC 2023 as a new approach to data persistence previously provided by Core Data. Built to support Swift and SwiftUI, SwiftData incorporates Swift Macros to create an approachable set of tools for saving application data between sessions. Like it’s predecessor Core Data, Swift Data can create and save data objects in your app, all without requiring external dependencies.
You’ll learn the basics of Swift Data in this lesson and will carry on to more advanced uses and techniques in the following lessons. Carry on to the next page to get started.