In this chapter, you learned about what Core Data is and how to use it. We also looked at NSManagedObjectModel
, NSManagedObjectContext
, and NSPersistentStoreCoordinator
and how they work together inside Core Data. Even if they all do not make sense, and they did not work for me the first time, it is all right because it eventually clicks. Finally, we created two Core Data models, one for reviews and one for photos.
In the next chapter, we work on actually saving the data we create as well as getting it back out. We take our reviews and photos and display them inside our restaurant details.