2. Managed Object Model Basics

The only source of knowledge is experience.

Albert Einstein

In Chapter 1, “Your First Core Data Application,” the fundamental Core Data building blocks were added to the Grocery Dude sample application. You configured a persistent store, coordinator, model, and context; however, the object graph remained empty. This means that although all the ingredients are ready to make cookies, you’re missing the cookie cutters! This chapter explains managed object model basics and takes you through the process of configuring an object graph for the sample application.

Get Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.