The block to execute when the query finds a new batch of matching items.
- iOS 10.0+
- macOS 10.13+
- UIKit for Mac 13.0+Beta
- Core Spotlight
The block returns no value and takes the following parameter:
An array of indexed items that match the specified query.
The query object serializes the calls to the handler block as new items are found. Although
items contains only the new items that have been found (previously found items are not included in the array), the query updates
found before each call to this handler block, so that
found contains the running total of items that have been found. If no items are found, the query completes successfully and