Introduction

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

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
Download course materials from Github
Next: SwiftData Basics