13. iCloud
You never fail until you stop trying.
Albert Einstein
This chapter shows how to achieve automatic data synchronization between an individual user’s devices using iCloud. Once Core Data is integrated with iCloud, changes made to application data on one user device are automatically reflected on the user’s other devices. If an application requires that multiple accounts have the ability to use the same data, CloudKit should be used instead. If an application requires ordered relationships, or needs a mapping model for migration in future releases, be aware that neither is supported with iCloud at the time of writing.
iCloud Basics
iCloud is used to synchronize documents and data between devices belonging to one user. When Core Data ...
Get Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition 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.