One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKSyncEngine.FetchChangesOptions

struct · iOS 17.0+ · SDK 27.1

struct FetchChangesOptions

A set of options to use when fetching changes from the server.

Members (8)

get · iOS 17.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual description of the options that's suitable for logging.

get · iOS 17.0+

operationGroup

TypeScript
get operationGroup(): CKOperationGroup
Swift declaration
var operationGroup: CKOperationGroup { get set }

The operation group to use for the underlying CloudKit operations. - Tip: Providing a specific operation group helps you to identify and analyze the telemetry of fetch operations in CloudKit Console. The default value is `nil`.

set · iOS 17.0+

operationGroup

TypeScript
set operationGroup(value: CKOperationGroup)
Swift declaration
var operationGroup: CKOperationGroup { get set }

The operation group to use for the underlying CloudKit operations. - Tip: Providing a specific operation group helps you to identify and analyze the telemetry of fetch operations in CloudKit Console. The default value is `nil`.

get · iOS 17.0+

prioritizedZoneIDs

TypeScript
get prioritizedZoneIDs(): Array<CKRecordZone_ID>
Swift declaration
var prioritizedZoneIDs: [CKRecordZone.ID]

A list of zones that should be prioritized over others while fetching changes. ``CKSyncEngine-5sie5`` will fetch changes for the zones in this list first before any other zones. You might use this to prioritize a specific set of zones for initial sync. You could also prioritize the object currently showing in the UI by putting it first in this list. Any zones not included in this list will be prioritized in a default manner. If a zone in this list has no changes to fetch, then that zone will be ignored.

set · iOS 17.0+

prioritizedZoneIDs

TypeScript
set prioritizedZoneIDs(value: Array<CKRecordZone_ID>)
Swift declaration
var prioritizedZoneIDs: [CKRecordZone.ID]

A list of zones that should be prioritized over others while fetching changes. ``CKSyncEngine-5sie5`` will fetch changes for the zones in this list first before any other zones. You might use this to prioritize a specific set of zones for initial sync. You could also prioritize the object currently showing in the UI by putting it first in this list. Any zones not included in this list will be prioritized in a default manner. If a zone in this list has no changes to fetch, then that zone will be ignored.

init · iOS 17.0+

init

TypeScript
static init(scope?: CKSyncEngine_FetchChangesOptions_Scope, operationGroup?: (CKOperationGroup) | null): CKSyncEngine_FetchChangesOptions
Swift declaration
init(scope: CKSyncEngine.FetchChangesOptions.Scope = .all, operationGroup: CKOperationGroup? = nil)

Creates a new set of fetch changes options. - Parameters: - scope: The scope in which to fetch changes. Defaults to ``Scope/all``. - operationGroup: The operation group to use for the underlying CloudKit operations. If `nil`, a default operation group will be created.

get · iOS 17.0+

scope

TypeScript
get scope(): CKSyncEngine_FetchChangesOptions_Scope
Swift declaration
var scope: CKSyncEngine.FetchChangesOptions.Scope { get set }

The scope in which to fetch changes.

set · iOS 17.0+

scope

TypeScript
set scope(value: CKSyncEngine_FetchChangesOptions_Scope)
Swift declaration
var scope: CKSyncEngine.FetchChangesOptions.Scope { get set }

The scope in which to fetch changes.

Skipped declarations

No declarations were skipped in this snapshot.

All CloudKit types →