O'Reilly logo

Learning iCloud Data Management: A Hands-On Guide to Structuring Data for iOS and OS X by Jesse Feiler

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

10. Managing Persistent Storage with Core Data

Synchronizing data successfully and efficiently often means structuring the data. Once the data is structured in some way, software can keep track of changes to the structures within the data and synchronize those instead of the entire data store. That is how you can easily sync thousands (or even hundreds of thousands) of addresses: you sync the relatively few that have changed since the last sync.

iCloud and the Cocoa frameworks use a variety of tools and techniques to structure data. For relatively small amounts of data (<1MB), key-value coding (KVC) fits the bill. Property lists and the user defaults system are built on top of KVC to provide you with abstractions and tools that you need to support ...

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