O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, you learned how to add data persistence in your apps. After looking at the pieces of Core Data and how they fit together, you built a data model for the car object. You added some boilerplate code for setting up the Core Data environment and then used a repeatable process to convert first the car overview list and then the detail view to use the new data format.

You completed your exploration of the basics by using NSFetchedResultsController to significantly reduce the amount of code needed to manage a table view. Along the way, you learned how to recognize some common errors and make your code a bit more readable.

The ability to save and retrieve data adds many more possibilities for the kinds of apps you can create. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required