init(recordZonesToSave:recordZoneIDsToDelete:)
Creates an operation for modifying the specified record zones.
Declaration
convenience init(recordZonesToSave: [CKRecordZone]? = nil, recordZoneIDsToDelete: [CKRecordZone.ID]? = nil)Parameters
- recordZonesToSave:
The record zones to save. You can specify
nilfor this parameter. - recordZoneIDsToDelete:
The IDs of the record zones to delete. You can specify
nilfor this parameter.
Discussion
The record zones you intend to save or delete must all reside in the same database, which you specify when you configure the operation. If you delete a record zone, CloudKit deletes any records it contains.