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

Moving CarValet to Core Data

The best way to understand Core Data is to use it. In the rest of this chapter, you convert CarValet to use Core Data. First, you add the model and then some boilerplate code to load and access it. Next, you convert the cars table and prototype cell. Then, you update the car data view and make sure any changes are updated. Finally, you learn a better way to use Core Data with data overview tables.

Before you can do any of that, you need to add the CoreData framework to your app. Follow these steps:

1. Open the CarValet project. You can start with your final code from Chapter 8, “Table Views I: The Basics,” or use the CH09 CarValet Starter project provided with the sample code files for this chapter.

Now open the ...

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