Chapter 4. Basic Storing and Fetching

Back in Chapter 2, “A Core Data Primer,” you learned the basic terms and underlying features in the Core Data framework. You saw how a persistent store coordinator is set up to talk to a SQLite persistent store, and how a managed object context can then be created to act as a scratchpad for the managed objects pulled from the store.

In this chapter you’ll see how new managed objects are created in a managed object context, based on the entity descriptions you define in the managed object model. You’ll learn how these new objects are stored ...

Get Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch 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.