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

Get Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours 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.