Instance Property

completionHandler

The block to execute when the query completes.

Declaration

var completionHandler: ((Error?) -> Void)? { get set }

Discussion

The block returns no value and takes the following parameter:

error

An error object that contains information about a problem, or nil if the query completed successfully.

See Also

Handling Query Results

var foundItemCount: Int

The number of items found so far.

var foundItemsHandler: (([CSSearchableItem]) -> Void)?

The block to execute when the query finds a new batch of matching items.