DetailViewController

The detail view controller is much simpler than the master view controller, and it focuses on the user interface. It has relatively little to do with iCloud: the master view controller handles the direct interaction with iCloud at the document level, and the WrappedFile class manages the transfer of data to and from iCloud after a document has been selected.

The header file is shown in Listing 15.14

Listing 15.14 DetailViewController.h

#import <UIKit/UIKit.h>#import "JFWrappedDocument.h"                                            //1#import "JFFileRepresentation.h"                                         //2@interface JFDetailViewController : UIViewController<UISplitViewControllerDelegate,

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.