Information is not knowledge.
In Chapter 15, “CloudKit Sync: Uploading Objects,” the capability to upload Core Data managed objects into iCloud using CloudKit was added. This chapter completes the circle as the capability to download changed CloudKit records is added. Support for handling deleted objects is implemented too.
Similar to the previous chapter, there are several disparate functions intended for
CDCloudSync.swift that won’t be brought together until the end of the chapter. To begin with, four base functions are added to the existing
GENERAL section. The first function,
fetchRecordWithCacheID, is shown in Listing 16.1 ...