In This Chapter
• Understanding the Data Model editor
• Creating entities, attributes, and relationships
• Making entities into classes
• Generating data with a script phase
It’s time to put some flesh on Passer Rating’s data design. The Core Data framework for iOS and Mac OS X provides a powerful system for managing object-relational graphs and persisting them in an SQLite database.
Xcode includes essential support for Core Data. In this chapter, you’ll see how to use Xcode’s graphical editor to turn a data design into an executable data model.
Core Data stores the model objects for you and tracks their relationships to each other. To do that it needs a managed-object model, which ...