O'Reilly logo

Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours by Jesse Feiler

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

Hour 8. Controllers: Integrating the Data Model with Your Code

What You’ll Learn in This Hour:

Understanding controllers in iOS and Mac OS

Working with view controllers on iOS

Working with data controllers on iOS

Looking Inside Model/View/Controller

Mac OS and iOS are built on the model/view/controller (MVC) design pattern. The concepts are simple: The model is the data, the view is the interface, and the controller mediates between those two objects. This allows the model and the interface to be independent of one another. Both need to know about the controller, but neither needs to know about the other.

This is a fairly common description of MVC. Its disadvantage is that it tends to suggest to many people that the controller object ...

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