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 ...
Get Learning iCloud Data Management: A Hands-On Guide to Structuring Data for iOS and OS X 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.