O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Designing data models

Before getting started with Core Data, you should take a look at how we will organize or design the data models and determine the relations between these models. The data model in Core Data is called Entity.

Xcode provides an editor to add entities and to specify the relations between them. The design of your data models should be simple and organized, so anyone looking at it should understand what is going on between your data models and what the relations are between them. Check the following example of a design of data models:

Designing data models

The example shows four entities and the relations between them. The first entity is a Chef entity, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required