Chapter Summary

This chapter took your first app and added iCloud data to it in the form of address book contacts. This is user data—data that the user has entered (or obtains through synchronization with WebDAV or Exchange). On iOS, users can manipulate the data with apps that use the MFMailComposeViewController framework, which you’ve seen how to use. Both OS X and iOS use the same AddressBook API, but on OS X, you need to build your own updating interface to the data.

You’ve also seen the overall structure of the AddressBook API. It involves an abstract superclass that supports ABPerson and ABGroup classes, which you instantiate. It is this abstract superclass that iCloud syncs, and you’ll see this design pattern in use through iCloud synchronizations. ...

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.