SearchResultsView
-
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
YapDatabaseSearchResults allows you to pipe search results from YapDatabaseFullTextSearch into a YapDatabaseView. This makes it easy to display search results in a tableView or collectionView.
See moreDeclaration
Objective-C
@interface YapDatabaseSearchResultsView : YapDatabaseAutoView
Swift
class YapDatabaseSearchResultsView : YapDatabaseAutoView
-
Note: This class extends YapDatabaseViewOptions.
See moreDeclaration
Objective-C
@interface YapDatabaseSearchResultsViewOptions : YapDatabaseViewOptions <NSCopying>
Swift
class YapDatabaseSearchResultsViewOptions : YapDatabaseViewOptions, NSCopying
-
Undocumented
See moreDeclaration
Objective-C
@interface YapDatabaseSearchResultsViewConnection : YapDatabaseAutoViewConnection
Swift
class YapDatabaseSearchResultsViewConnection : YapDatabaseAutoViewConnection
-
Undocumented
See moreDeclaration
Objective-C
@interface YapDatabaseSearchResultsViewTransaction : YapDatabaseAutoViewTransaction
Swift
class YapDatabaseSearchResultsViewTransaction : YapDatabaseAutoViewTransaction
-
The YapDatabaseSearchQueue class assists in UI based searches, where the database is tasked in keeping up with the user’s typing.
Here’s how it works:
- The user enters a new character in the search field.
- You enqueue the proper query, and asynchronously start the search using performSearchWithQueue.
- Rather than performing every single search (for every single enqueued query), the database can flush the queue, and perform the most recent query.
When the search overhead is low, the database will keep up with the user’s typing. But when the search overhead is higher, this allows for optimizations that help better meet UI expectations.
This class is thread-safe.
See moreDeclaration
Objective-C
@interface YapDatabaseSearchQueue : NSObject
Swift
class YapDatabaseSearchQueue : NSObject