Skip to content

Instantly share code, notes, and snippets.

@MarcusSmith
Last active February 22, 2016 19:47
Show Gist options
  • Save MarcusSmith/261ecd4e584d945dd108 to your computer and use it in GitHub Desktop.
Save MarcusSmith/261ecd4e584d945dd108 to your computer and use it in GitHub Desktop.
CKFetchRecordsOperation
let operation = CKFetchRecordsOperation(recordIDs: myRecordIDs)
operation.fetchRecordsCompletionBlock = { (recordsByRecordID, error) in
// recordsByRecordID is a dictionary of records, keyed by their recordIDs
}
database.addOperation(operation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment