One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKSyncEngine.Event.WillFetchChanges

struct · iOS 17.0+ · SDK 27.1

struct WillFetchChanges

The sync engine is about to fetch changes from the server. The sync engine delivers the changes themselves via ``CKSyncEngine-5sie5/Event/FetchedDatabaseChanges`` and ``CKSyncEngine-5sie5/Event/FetchedRecordZoneChanges``. Note that this event might not always occur every time you call ``CKSyncEngine-5sie5/fetchChanges(_:)``. For example, if you call ``CKSyncEngine-5sie5/fetchChanges(_:)`` concurrently while the engine is already fetching changes, this event might not be sent. Similarly, if there's no logged-in account, the engine might short-circuit the call to ``CKSyncEngine-5sie5/fetchChanges(_:)``, and this event won't be sent.

Members (2)

get · iOS 17.0+

description

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

The textual description of the event that's suitable for logging.

get · iOS 17.2+

context

TypeScript
get context(): CKSyncEngine_FetchChangesContext
Swift declaration
let context: CKSyncEngine.FetchChangesContext

Skipped declarations

No declarations were skipped in this snapshot.

All CloudKit types →