7. Introducing Blocks, Threads, and Notifications

In Part II, “Using the APIs,” you saw how to use APIs to get at the iCloud data that users enter and manage. Contacts, Reminders, and Calendar work with iCloud if the user has registered and turned it on, but the APIs work just as well if the user doesn’t use iCloud or does use it but has no network connection at the time. In this part of the book, “Using the Technologies,” you start to deal explicitly with iCloud itself.

As you saw in Chapter 2, “Setting Up iCloud for Development,” iCloud is not a single framework or API. You won’t be sitting down to write line after line of code. Instead, you’ll be setting up the iCloud structure for your app with Apple IDs, a bundle ID, entitlements, and in ...

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.