<!--
{
  "availability" : [
    "iOS: 8.0.0 - 10.0.0",
    "iPadOS: 8.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.10.0 - 10.12.0",
    "tvOS: 9.0.0 - 10.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 3.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKFetchRecordChangesOperation/resultsLimit",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CKFetchRecordChangesOperation(py)resultsLimit"
  },
  "title" : "resultsLimit"
}
-->

# resultsLimit

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

```
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 to be large. The default value is 0, which causes the server to return an appropriate number of results using dynamic conditions.

When the number of returned results exceeds the results limit, the operation object sets the [`moreComing`](/documentation/CloudKit/CKFetchRecordChangesOperation/moreComing) property to <doc://com.apple.documentation/documentation/Swift/true> before executing the block in the [`fetchRecordChangesCompletionBlock`](/documentation/CloudKit/CKFetchRecordChangesOperation/fetchRecordChangesCompletionBlock) property. In your block, check the value of that property, and if it’s <doc://com.apple.documentation/documentation/Swift/true>, create a new [`CKFetchRecordChangesOperation`](/documentation/CloudKit/CKFetchRecordChangesOperation) object to fetch more results.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)