Hour 6. Working with the Core Data Model Editor

What You’ll Learn in This Hour:

• Getting to know the Core Data model editor

• Creating entities

• Adding attributes

• Relating tables to one another

• Writing code with the Core Data model editor

• Creating fetch requests

Moving the Data Model from Paper to Xcode and the Core Data Model Editor

In the previous hour (Hour 5, “Working with Data Models”), you learned how to think about your data model and its structure—its entities, attributes, and relationships. In this hour, you will move the data model into Xcode and its Core Data model editor. Xcode will store the model and include it in your app’s bundle when you build it.

Note

Hour 5 provides the logical and structural rationale for your data ...

Get Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.