Created
February 22, 2016 19:47
-
-
Save MarcusSmith/783c23a2df2f66d4a83d to your computer and use it in GitHub Desktop.
CKModifyRecordsOperation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you handle images that are in thee records saved when using CKModifyRecordsOperation?