Other Constants
The following constants are available globally.
-
Undocumented
Declaration
Objective-C
extern NSString *const kYapReachabilityChangedNotification
Swift
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 YDBCloudCorePipelineQueueChangedNotification
Swift
static let YDBCloudCorePipelineQueueChanged: NSNotification.Name
-
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_addedOperationUUIDs
Swift
let YDBCloudCorePipelineQueueChangedKey_addedOperationUUIDs: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_modifiedOperationUUIDs
Swift
let YDBCloudCorePipelineQueueChangedKey_modifiedOperationUUIDs: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_insertedOperationUUIDs
Swift
let YDBCloudCorePipelineQueueChangedKey_insertedOperationUUIDs: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YDBCloudCorePipelineQueueChangedKey_removedOperationUUIDs
Swift
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 YDBCloudCorePipelineSuspendCountChangedNotification
Swift
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 YDBCloudCorePipelineActiveStatusChangedNotification
Swift
static let YDBCloudCorePipelineActiveStatusChanged: NSNotification.Name
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCloudCoreDefaultPipelineName
Swift
let YapDatabaseCloudCoreDefaultPipelineName: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCloudKitSuspendCountChangedNotification
Swift
static let YapDatabaseCloudKitSuspendCountChanged: NSNotification.Name
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCloudKitInFlightChangeSetChangedNotification
Swift
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 YapDatabaseFullTextSearchFTS5Version
Swift
let YapDatabaseFullTextSearchFTS5Version: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseFullTextSearchFTS4Version
Swift
let YapDatabaseFullTextSearchFTS4Version: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseFullTextSearchFTS3Version
Swift
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 YapDatabaseViewChangesKey
Swift
let YapDatabaseViewChangesKey: String
-
Undocumented
Declaration
Objective-C
extern const YapBidirectionalCacheCallBacks kYapBidirectionalCacheDefaultCallBacks
Swift
let kYapBidirectionalCacheDefaultCallBacks: YapBidirectionalCacheCallBacks
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseUrlKey
Swift
let YapDatabaseUrlKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseUrlWalKey
Swift
let YapDatabaseUrlWalKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseUrlShmKey
Swift
let YapDatabaseUrlShmKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseSnapshotKey
Swift
let YapDatabaseSnapshotKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseConnectionKey
Swift
let YapDatabaseConnectionKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseExtensionsKey
Swift
let YapDatabaseExtensionsKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseCustomKey
Swift
let YapDatabaseCustomKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseObjectChangesKey
Swift
let YapDatabaseObjectChangesKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseMetadataChangesKey
Swift
let YapDatabaseMetadataChangesKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseInsertedKeysKey
Swift
let YapDatabaseInsertedKeysKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseRemovedKeysKey
Swift
let YapDatabaseRemovedKeysKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseRemovedCollectionsKey
Swift
let YapDatabaseRemovedCollectionsKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseAllKeysRemovedKey
Swift
let YapDatabaseAllKeysRemovedKey: String
-
Undocumented
Declaration
Objective-C
extern NSString *const YapDatabaseModifiedExternallyKey
Swift
let YapDatabaseModifiedExternallyKey: String