Applications that are backed by persistence mechanisms like SwiftData can hold a lot of data. Providing users with the ability to filter on the available data is a must for positive user experience. Building powerful predicates allows you to restrict the data shown to the user, providing only what is most important to them. You can even get more precise by only fetching a fixed set of values, which can come in handy for working with widgets and other views outside your main app.
In the next lesson, you’ll learn how to make sure your app continues to work as you evolve your data schema via successful data migrations.
See forum comments
This content was released on Dec 10 2025. The official support period is 6-months
from this date.
In this segment, you’ll wrap up what you’ve learned in this lesson, and get a look at what is coming next.
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.