The master view controller manages the list of detail objects. That list is the major focus of the iCloud integration.


There are four main tasks in managing the list of documents:

Image Initializing the master view controller: As always, you need to set up the instance of a class at the beginning.

Image Creating a new document: This is where you will create a new document and store it both in iCloud and in the private documents array. In practice, you will probably also store a local copy in the app’s sandbox, ...

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.