May 2014
Intermediate to advanced
624 pages
19h 43m
English
The data model so far is not very useful. You can store and enumerate Passers, and you can do the same with Games, but quarterbacks participate in games, and Game is the only thing that holds a quarterback’s actual performance. Core Data calls the link between two entities a relationship.
9. Make sure the Passer entity is selected. A passer may start with no games played but will eventually play in many. Choose Add Relationship from the drop-down on the right-hand + button; click the + button under the Relationships table; or select Editor → Add Relationship. A new entry appears in the Relationships list.
Note
If you don’t see the new relationship, make sure the disclosure triangle next to the “Relationships” label is open.