23 Core Data Relationships

Core Data is not that exciting with just one entity. Much of the power behind Core Data comes to light when there are multiple entities that are related to one another, because Core Data manages relationships between entities.

In this chapter, you are going to add tags to the photos in Photorama with labels such as Nature, Electronics, or Selfies. Users will be able to add one or more tags to photos and also create their own custom tags (Figure 23.1).

Figure 23.1  Final Photorama application

Final Photorama application

Relationships

One of the benefits of using Core Data is that entities can be related ...

Get iOS Programming: The Big Nerd Ranch Guide, 6th Edition 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.