Chapter 3. Modeling Your Data

When writing an application that uses Core Data, your first step will normally be to design the object graph, using the Data Model editor in Xcode. In this chapter, you’ll see how to build this visual representation of your entities, along with their attributes and relationships.

This chapter also covers general principles of data modeling, as they apply to Core Data. If you are familiar with data normalization for standard databases, you’ll see how it’s frequently better in performance terms not to over-normalize your data for a Core Data store, particularly on an iOS device.

Managed Objects and ...

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.