![]() |
Couchbase Lite
Objective-C API for iOS and Mac OS
|
Go to the source code of this file.
Classes | |
class | CBLDocument |
A Couchbase Lite document. More... | |
category | CBLDocument(Subscripts) |
Variables | |
NS_ASSUME_NONNULL_BEGIN NSString *const | kCBLDocumentChangeNotification |
Notification posted by a CBLDocument when a property is changed in memory. More... | |
NSString *const | kCBLDocumentSavedNotification |
Notification posted by a CBLDocument when it is updated in the database. More... | |
NSString *const | kCBLDocumentIsExternalUserInfoKey |
Key in the userInfo dictionary of a kCBLDocumentSavedNotification. More... | |
NS_ASSUME_NONNULL_BEGIN NSString* const kCBLDocumentChangeNotification |
Notification posted by a CBLDocument when a property is changed in memory.
NSString* const kCBLDocumentSavedNotification |
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.
NSString* const kCBLDocumentIsExternalUserInfoKey |
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.