init(recordsToSave:recordIDsToDelete:)
Creates an operation for modifying the specified records.
Declaration
convenience init(recordsToSave: [CKRecord]? = nil, recordIDsToDelete: [CKRecord.ID]? = nil)Parameters
- recordsToSave:
The records to save. You can specify
nilfor this parameter. - recordIDsToDelete:
The IDs of the records to delete. You can specify
nilfor this parameter.
Discussion
The records that you intend to save or delete must all reside in the same database, which you specify when you configure the operation. If your app saves a record in a database that doesn’t exist, the server creates the database.