One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKSyncEngineDelegate

protocol · iOS 17.0+ · SDK 27.1

protocol CKSyncEngineDelegate : AnyObject, Sendable

An interface for providing record data to a sync engine and customizing that engine's behavior. - Important: ``CKSyncEngine-5sie5`` delivers events serially, which means the delegate doesn't receive the next event until it finishes handling the current one. To maintain this ordering, don't call sync engine methods from your delegate that may cause the engine to generate additional events. For example, don't invoke ``CKSyncEngine-5sie5/fetchChanges(_:)`` or ``CKSyncEngine-5sie5/sendChanges(_:)`` from within ``handleEvent(_:syncEngine:)``.

Members (1)

method · iOS 17.0+

nextFetchChangesOptions

Swift declaration
func nextFetchChangesOptions(_ context: CKSyncEngine.FetchChangesContext, syncEngine: CKSyncEngine) async -> CKSyncEngine.FetchChangesOptions

Default implementation returns the options from the context.

Skipped declarations

No declarations were skipped in this snapshot.

All CloudKit types →