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

# cursor

The cursor for continuing the search.

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

## Discussion

The initial value of this property is the cursor that you provide to the [`init(cursor:)`](/documentation/CloudKit/CKQueryOperation/init(cursor:)) method. When you use a cursor, the operation ignores the contents of the [`query`](/documentation/CloudKit/CKQueryOperation/query) property. This property’s value is an opaque value that CloudKit provides. For more information, see the [`queryCompletionBlock`](/documentation/CloudKit/CKQueryOperation/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.

---

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)