maxResultCount
The maximum number of search results for the query to return.
Declaration
var maxResultCount: Int { get set }Discussion
Spotlight returns all results that it finds by default. Set a maximum limit to terminate the search early, which can improve performance.