Contents

resultsLimit

The maximum number of records to fetch from the record zone.

Declaration

var resultsLimit: Int { get set }

Discussion

Use this property to limit the number of results in situations where you expect a large number of records. The default value is 0, which causes the server to return an appropriate number of records using dynamic conditions.

When the number of records that CloudKit returns exceeds this limit, the operation sets the moreComing property to true when executing the recordZoneFetchResultBlock handler.

See Also

Accessing a Zone Change Configuration