Contents

foundItemCount

The number of matching items found for the given query string.

Declaration

var foundItemCount: Int { get }

Discussion

As Spotlight finds matches to the query string, it updates the value of this property and delivers the new results to the handler in the foundItemsHandler property. This value reflects the total number of matching items, including the number of items the query delivered to your handler block previously.

See Also

Executing the query with handler blocks