Chapter    7

Relationships, Fetched Properties, and Expressions

Welcome to the final chapter on Core Data Relationships,  Core Data. So far, your application includes only a single entity, Hero. In this chapter, we’ll show you how managed objects can incorporate and reference other managed objects through the use of relationships and fetched properties. This will give you the ability to make applications of much greater complexity than your current SuperDB application.

That’s not the only thing you’re going to do in this chapter, however. You’ll also turn your HeroDetailController into a generic managed object controller. By making the controller code even more generic, you’ll make the controller subclasses smaller and easier to maintain. You’ll ...

Get More iPhone Development with Objective-C 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.