Chapter    7

Relationships, Fetched Properties and Expressions

Welcome to the final chapter on Core Data. So far, your application includes only a single entity, Hero. In this chapter, we’re going to 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’re also going 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 extend ...

Get More iOS 6 Development: Further Explorations of the iOS SDK 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.