O'Reilly logo

Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition by Tim Roadley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required