14. Taming iCloud

Only those who attempt the absurd can achieve the impossible.

Albert Einstein

In Chapter 13, “iCloud,” the basic steps to integrate Core Data with iCloud were demonstrated. Still, several areas need to be addressed to ensure that the user’s iCloud experience is as seamless as possible. For example, when multiple iCloud-enabled devices are in play, there’s a risk that some data may be duplicated. Techniques for handling data duplication are discussed as they are implemented in Groceries. This chapter also shows how to seed iCloud from data found in a local “Non-iCloud” persistent store. This approach ensures that users don’t lose data when they start using iCloud for the first time, even if they had existing data on separate ...

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.