Chapter 21: Understanding Core Data
Your app is almost done! Every screen works as shown in the app tour. However, there is one last thing that you need to do. In Chapter 19, Getting Started with Custom UIControls, you implemented a Review Form screen, which lets you enter a review for a particular restaurant. In the previous chapter, you implemented a Photo Filter screen, which lets you get a photo from the camera or photo library and add a filter to it. But there is no way at present to save either reviews or photos, and they are lost when the app is closed.
In this chapter, you will use Core Data to save reviews and photos in your app. First, you'll learn about Core Data and its different components. Next, you'll create a data model for reviews and photos and create corresponding model objects for your app. After that, you'll set up Core Data components for your app.
You'll then learn the mechanism used to save reviews and photos for a particular restaurant...