Previous episode: 04. Filtering Using Predicates
Next episode: 06. Modeling Relationships
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
While sort descriptors can be handy to initially sort data coming out of the persistent store, you might want to provide your user the chance to sort the data in real time as they use your app. Luckily some improvements to Core Data in recent years has made that possible. Both sort descriptors and predicates for fetch requests are accessible outside of the initial fetch request declaration and can be changed on the fly. Let’s add a sort button to the Launches view.
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.