Skip to main content

Extensions on NSNotification

Properties#

ModelAdapterHasChangesNotification#

/// Sent by the model adapter when it detects changes to some objects. The notification is sent only once, if there were no changes before and new changes were detected.

static let ModelAdapterHasChangesNotification: NSString = "QSModelAdapterHasChangesNotification"

CloudKitSynchronizerWillSynchronizeNotification#

Sent when the synchronizer is going to start a sync with CloudKit.

static let CloudKitSynchronizerWillSynchronizeNotification: NSString = "QSCloudKitSynchronizerWillSynchronizeNotification"

CloudKitSynchronizerWillFetchChangesNotification#

Sent when the synchronizer is going to start the fetch stage, where it downloads any new changes from CloudKit.

static let CloudKitSynchronizerWillFetchChangesNotification: NSString = "QSCloudKitSynchronizerWillFetchChangesNotification"

CloudKitSynchronizerWillUploadChangesNotification#

Sent when the synchronizer is going to start the upload stage, where it sends changes to CloudKit.

static let CloudKitSynchronizerWillUploadChangesNotification: NSString = "QSCloudKitSynchronizerWillUploadChangesNotification"

CloudKitSynchronizerDidSynchronizeNotification#

Sent when the synchronizer finishes syncing.

static let CloudKitSynchronizerDidSynchronizeNotification: NSString = "QSCloudKitSynchronizerDidSynchronizeNotification"

CloudKitSynchronizerDidFailToSynchronizeNotification#

Sent when the synchronizer encounters an error while syncing.

static let CloudKitSynchronizerDidFailToSynchronizeNotification: NSString = "QSCloudKitSynchronizerDidFailToSynchronizeNotification"