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 Groceries sample application. You configured a persistent store, coordinator, model, and context; however, the object graph remains 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.

What Is a Managed Object Model?

A managed object model represents a data structure. The terms data structure, schema, object graph, data model, and managed object ...

Get Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition 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.