MasterViewController

As is always the case with a master view controller, its primary function is to manage the master view. In the Master-Detail Application, that view is presented in a UITableView. Typically, the elements of the master view controller are stored at runtime in an array. That master view controller lets you create new detail elements; they need to be added to the runtime array and stored appropriately.

MasterViewController.m is the longest file in the app, and because of its central role, it touches on just about every aspect of the app. As noted previously, because control does not flow in a linear way through the app, some of the aspects of MasterView-Controller will not become clear until you drill down into the other classes. ...

Get Learning iCloud Data Management: A Hands-On Guide to Structuring Data for iOS and OS X 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.