Chapter 9Using Core Data with iCloud

Starting with iOS 5.0 and Mac OS X 10.7 Lion, Apple has added the ability to sync a Core Data application to iCloud. For developers, that means we can easily add cloud sharing of our application’s data without the need to build our own servers. It also means our applications can share data between devices and computers.

iCloud integration allows developers to sync data between any number of computers and devices; we can sync between an iPhone application, an iPad application, a Mac application, or any combination thereof. In fact, we can add the ability to sync with our very first application, and new clients added later will automatically sync once we make them available to our users.

There are two approaches ...

Get Core Data in Swift 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.