Instance Property

foundItemCount

The number of items found so far.

Declaration

var foundItemCount: Int { get }

Discussion

While the query is operating, it updates this property before each invocation of the block you supply in the foundItemsHandler property. When foundItemsHandler is nil, the value of this property is the total number of found items at the completion of the query.

See Also

Handling Query Results

var completionHandler: ((Error?) -> Void)?

The block to execute when the query completes.

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

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