O'Reilly logo

Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch by Tom Harrington, Tim Isted

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required