initWithRecordsToSave:recordIDsToDelete:atomicByZone:
Creates a batch of records to modify.
Declaration
- (instancetype) initWithRecordsToSave:(NSArray<CKRecord *> *) recordsToSave recordIDsToDelete:(NSArray<CKRecordID *> *) recordIDsToDelete atomicByZone:(BOOL) atomicByZone;Parameters
- recordsToSave:
The records to save.
- recordIDsToDelete:
The identifiers of the records to delete.
- atomicByZone:
A Boolean value that determines whether CloudKit modifies the specified records atomically by record zone.
Return Value
An initialized change batch.