Constants
The following constants are available globally.
-
This notification is posted by a CBLDatabase in response to document changes.
Declaration
Objective-C
extern NSString *const _Nonnull kCBLDatabaseChangeNotification
Swift
static let cblDatabaseChange: NSNotification.Name
-
The key to access the document IDs of the documents that has been changed.
Declaration
Objective-C
extern NSString *const _Nonnull kCBLDatabaseChangesUserInfoKey
Swift
let kCBLDatabaseChangesUserInfoKey: String
-
The key to access the last sequence number as of the notified changes.
Declaration
Objective-C
extern NSString *const _Nonnull kCBLDatabaseLastSequenceUserInfoKey
Swift
let kCBLDatabaseLastSequenceUserInfoKey: String
-
The key to check whether the changes are from the current database object or not.
Declaration
Objective-C
extern NSString *const _Nonnull kCBLDatabaseIsExternalUserInfoKey
Swift
let kCBLDatabaseIsExternalUserInfoKey: String
-
Notification posted by a CBLDocument when a property is changed in memory.
Declaration
Objective-C
extern NSString *const _Nonnull kCBLDocumentChangeNotification
Swift
static let cblDocumentChange: NSNotification.Name
-
Notification posted by a CBLDocument when it is updated in the database. This is posted after -save:, -deleteDocument:, or -purge: are called. It will also be posted if a change was made by another thread, and the local CBLDocument has reloaded its properties. In the latter case, the kCBLDocumentIsExternalUserInfoKey will have a value of YES.
Declaration
Objective-C
extern NSString *const _Nonnull kCBLDocumentSavedNotification
Swift
static let cblDocumentSaved: NSNotification.Name
-
Key in the userInfo dictionary of a kCBLDocumentSavedNotification. It will have a value of YES if the change was made by a different CBLDatabase or by the replicator.
Declaration
Objective-C
extern NSString *const _Nonnull kCBLDocumentIsExternalUserInfoKey
Swift
let kCBLDocumentIsExternalUserInfoKey: String
-
Undocumented
-
Undocumented