Skip to main content

CloudKitSynchronizerDelegate

@objc public protocol CloudKitSynchronizerDelegate: AnyObject 

Inheritance#

AnyObject

Requirements#

synchronizerWillStartSyncing(_:​)#

func synchronizerWillStartSyncing(_ synchronizer: CloudKitSynchronizer)

synchronizerWillCheckForChanges(_:​)#

func synchronizerWillCheckForChanges(_ synchronizer: CloudKitSynchronizer)

synchronizerWillFetchChanges(_:​in:​)#

func synchronizerWillFetchChanges(_ synchronizer: CloudKitSynchronizer, in recordZone: CKRecordZone.ID)

synchronizerDidFetchChanges(_:​in:​)#

func synchronizerDidFetchChanges(_ synchronizer: CloudKitSynchronizer, in recordZone: CKRecordZone.ID)

synchronizerWillUploadChanges(_:​to:​)#

func synchronizerWillUploadChanges(_ synchronizer: CloudKitSynchronizer, to recordZone: CKRecordZone.ID)

synchronizerDidSync(_:​)#

func synchronizerDidSync(_ synchronizer: CloudKitSynchronizer)

synchronizerDidfailToSync(_:​error:​)#

func synchronizerDidfailToSync(_ synchronizer: CloudKitSynchronizer, error: Error)

synchronizer(_:​didAddAdapter:​forRecordZoneID:​)#

func synchronizer(_ synchronizer: CloudKitSynchronizer, didAddAdapter adapter: ModelAdapter, forRecordZoneID: CKRecordZone.ID)

synchronizer(_:​zoneIDWasDeleted:​)#

func synchronizer(_ synchronizer: CloudKitSynchronizer, zoneIDWasDeleted zoneID: CKRecordZone.ID)