Skip to content

Instantly share code, notes, and snippets.

@MarcusSmith
Created February 22, 2016 19:47
Show Gist options
  • Save MarcusSmith/783c23a2df2f66d4a83d to your computer and use it in GitHub Desktop.
Save MarcusSmith/783c23a2df2f66d4a83d to your computer and use it in GitHub Desktop.
CKModifyRecordsOperation
let operation = CKModifyRecordsOperation(recordsToSave: someRecords, recordIDsToDelete: someRecordIDs)
operation.modifyRecordsCompletionBlock = { (savedRecords, deletedRecordIDs, error) in
// savedRecords is an array of saved CKRecords
// deletedRecordIDs is an array of the CKRecordIDs for the deleted records
}
database.addOperation(operation)
@hsmith825
Copy link

How do you handle images that are in thee records saved when using CKModifyRecordsOperation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment