handleEvent(_:syncEngine:)
Tells the delegate to handle the specified sync event.
Declaration
func handleEvent(_ event: CKSyncEngine.Event, syncEngine: CKSyncEngine) asyncParameters
- event:
Information about the event. An event may occur for a number of reasons, such as when new data is available or when the device’s iCloud account changes. For more information, see Event.
- syncEngine:
The sync engine that generates the event.
Discussion
The sync engines provides events serially; your delegate won’t receive the subsequent event until it finishes processing the current one and returns from this method.