Instance Property

resultsLimit

The maximum number of changed records to report with this operation object.

Declaration

var resultsLimit: Int { get set }

Discussion

Use this property to limit the number of results in situations where you expect the number of changed records might be large. The default value is 0, which causes the server to choose an appropriate number of results to return based on dynamic conditions.

When the number of returned results exceeds the results limit, the operation object sets the moreComing property to true before executing the block in the fetchRecordChangesCompletionBlock property. In your block, check the value of that property, and if it is true, create a new CKFetchRecordChangesOperation object to fetch more results.

See Also

Properties

var desiredKeys: [String]?

The fields to fetch for the requested records.

Deprecated
var previousServerChangeToken: CKServerChangeToken?

The token that identifies the starting point for retrieving changes.

Deprecated