Getting Started with SwiftData in iOS 26

SwiftData is Apple’s modern framework for managing data in SwiftUI apps. In this article, you’ll explore the core concepts behind SwiftData in iOS 26 and learn how it fits into a modern iOS architecture. By Josh Steele.

Leave a rating/review
Download materials
Save for later
Share
You are currently viewing page 2 of 2 of this article. Click here to view the first page.

Where to go next?

There are a few different places to go from here to learn more!

There is a free lesson on SwiftData that can be found here.

Learn all about the basics of SwiftData and how you can integrate it into your app.

That free lesson is part of a larger module that goes into other areas where model inheritance comes into play. As mentioned above, any SwiftData code that deals with model inheritance need to be decorated with the @available check. This also applies when you are dealing with schema migrations. There have also been some enhancements to making queries and fetches, helping you improve performance and efficiency. You’ll also learn how to filter on the possible results from the fetches, granting your picker the ability show the user what they want to see.

Contributors

Over 300 content creators. Join our team.