Other Constants
The following constants are available globally.
-
Undocumented
Declaration
Objective-C
extern NSString *const kYapReachabilityChangedNotificationSwift
static let yapReachabilityChanged: NSNotification.Name
-
This notification is posted whenever the operations in the pipeline’s queue have changed. That is, one of the following have occurred:
- One or more operations were removed from the queue (completed or skipped)
- One or more operations were added to the queue (added or inserted)
- One or more operations were modified
This notification is posted to the main thread.
Declaration
Objective-C
extern NSString *const _Nonnull YDBCloudCorePipelineQueueChangedNotificationSwift
static let YDBCloudCorePipelineQueueChanged: NSNotification.Name -
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_addedOperationUUIDsSwift
let YDBCloudCorePipelineQueueChangedKey_addedOperationUUIDs: String -
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_modifiedOperationUUIDsSwift
let YDBCloudCorePipelineQueueChangedKey_modifiedOperationUUIDs: String -
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_insertedOperationUUIDsSwift
let YDBCloudCorePipelineQueueChangedKey_insertedOperationUUIDs: String -
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_removedOperationUUIDsSwift
let YDBCloudCorePipelineQueueChangedKey_removedOperationUUIDs: String -
This notification is posted whenever the suspendCount changes. This notification is posted to the main thread.
Declaration
Objective-C
extern NSString *const _Nonnull YDBCloudCorePipelineSuspendCountChangedNotificationSwift
static let YDBCloudCorePipelineSuspendCountChanged: NSNotification.Name -
This notification is posted whenever the isActive status changes. This notification is posted to the main thread.
Declaration
Objective-C
extern NSString *const _Nonnull YDBCloudCorePipelineActiveStatusChangedNotificationSwift
static let YDBCloudCorePipelineActiveStatusChanged: NSNotification.Name
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCloudCoreDefaultPipelineNameSwift
let YapDatabaseCloudCoreDefaultPipelineName: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCloudKitSuspendCountChangedNotificationSwift
static let YapDatabaseCloudKitSuspendCountChanged: NSNotification.Name -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCloudKitInFlightChangeSetChangedNotificationSwift
static let YapDatabaseCloudKitInFlightChangeSetChanged: NSNotification.Name
-
Welcome to YapDatabase!
https://github.com/yapstudios/YapDatabase
The project wiki has a wealth of documentation if you have any questions. https://github.com/yapstudios/YapDatabase/wiki
YapDatabaseFullTextSearch is an extension for performing text based search. Internally it uses sqlite’s FTS module which was contributed by Google.
Declaration
Objective-C
extern NSString *const _Nonnull YapDatabaseFullTextSearchFTS5VersionSwift
let YapDatabaseFullTextSearchFTS5Version: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseFullTextSearchFTS4VersionSwift
let YapDatabaseFullTextSearchFTS4Version: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseFullTextSearchFTS3VersionSwift
let YapDatabaseFullTextSearchFTS3Version: String
-
The YapDatabaseModifiedNotification notification is posted after a readwrite transaction (where the database was actually modified).
It is documented in more detail in the wiki article
YapDatabaseModifiedNotification
: https://github.com/yapstudios/YapDatabase/wiki/YapDatabaseModifiedNotificationYou can get the raw changeset for a view via: notification.userInfo[YapDatabaseExtensionsKey][@
registeredNameOfView
][YapDatabaseViewChangesKey].However, it’s usually more useful to pass the notification to YapDatabaseConnection, and ask it to give you a list of changes that you can use to animate your tableView/collectionView:
See
YapDatabaseConnection getSectionChanges:rowChanges:forNotifications:withMappings:Declaration
Objective-C
extern NSString *const _Nonnull YapDatabaseViewChangesKeySwift
let YapDatabaseViewChangesKey: String
-
Undocumented
Declaration
Objective-C
extern const YapBidirectionalCacheCallBacks kYapBidirectionalCacheDefaultCallBacksSwift
let kYapBidirectionalCacheDefaultCallBacks: YapBidirectionalCacheCallBacks
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseUrlKeySwift
let YapDatabaseUrlKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseUrlWalKeySwift
let YapDatabaseUrlWalKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseUrlShmKeySwift
let YapDatabaseUrlShmKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseSnapshotKeySwift
let YapDatabaseSnapshotKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseConnectionKeySwift
let YapDatabaseConnectionKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseExtensionsKeySwift
let YapDatabaseExtensionsKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCustomKeySwift
let YapDatabaseCustomKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseObjectChangesKeySwift
let YapDatabaseObjectChangesKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseMetadataChangesKeySwift
let YapDatabaseMetadataChangesKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseInsertedKeysKeySwift
let YapDatabaseInsertedKeysKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseRemovedKeysKeySwift
let YapDatabaseRemovedKeysKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseRemovedCollectionsKeySwift
let YapDatabaseRemovedCollectionsKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseAllKeysRemovedKeySwift
let YapDatabaseAllKeysRemovedKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseModifiedExternallyKeySwift
let YapDatabaseModifiedExternallyKey: String
Other Constants Reference