---
title: resultsLimit
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchrecordzonechangesoperation/zoneoptions/resultslimit
---

# resultsLimit

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

## Declaration

```swift
var resultsLimit: Int { get set }
```

## Discussion

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 recordZoneFetchCompletionBlock handler.

## See Also

### Zone Change Options

- [desiredKeys](cloudkit/ckfetchrecordzonechangesoperation/zoneoptions/desiredkeys.md)
- [previousServerChangeToken](cloudkit/ckfetchrecordzonechangesoperation/zoneoptions/previousserverchangetoken.md)
