O'Reilly logo

More iOS 6 Development: Further Explorations of the iOS SDK by Jeff LaMarche, David Mark, Alex Horovitz, Kevin Kim

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

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 ...

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