Contents

maximumResultCount

The maximum number of results to retrieve from this source.

Declaration

var maximumResultCount: Int?

Discussion

Use this property to limit the number of results the Spotlight search tool returns to the model. If you specify nil, the tool returns all results that match the model’s query. This maximum applies only to the current source, and doesn’t include results from other sources, which have their own maximum values. The default value of this property is nil.

See Also

Configuring the search options