10. Using the Data Model Editor

Xcode comes with an integrated data model editor tool. In this chapter, you’ll learn how to use the data modeler to give your application the ability to create, manage, manipulate, save, and load its data without writing a single line of code.

Introducing Core Data

A data model gives your application a well-defined structure for managing and persisting its data. The model corresponds with the Model layer of the Model-View-Controller design pattern. There are a number of ways to manage your application’s model layer but Apple has created a solution that works well in many situations: Core Data. This facility is well integrated with Xcode.

Apple is very careful to specify Core Data as an “object graph management ...

Get Mastering Xcode 4: Develop and Design 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.