---
title: cursor
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckqueryoperation/cursor-swift.property
---

# cursor

The cursor for continuing the search.

## Declaration

```swift
@NSCopying var cursor: CKQueryOperation.Cursor? { get set }
```

## Discussion

Discussion The initial value of this property is the cursor that you provide to the init(cursor:) method. When you use a cursor, the operation ignores the contents of the query property. This property’s value is an opaque value that CloudKit provides. For more information, see the queryCompletionBlock property. If you intend to specify or change the value in this property, do so before you execute the operation or submit it to a queue.

## See Also

### Configuring the Query Operation

- [query](cloudkit/ckqueryoperation/query.md)
- [CKQueryOperation.Cursor](cloudkit/ckqueryoperation/cursor-swift.class.md)
- [zoneID](cloudkit/ckqueryoperation/zoneid.md)
- [resultsLimit](cloudkit/ckqueryoperation/resultslimit.md)
- [maximumResults](cloudkit/ckqueryoperation/maximumresults.md)
- [desiredKeys](cloudkit/ckqueryoperation/desiredkeys-7qrse.md)
