Is there a way to query CloudKit for recently deleted items (from a particular timestamp, perhaps), without using CKFetchRecordChangesOperation
? I am using a public database so I can't use custom zones (which would be a requirement for CKFetchRecordChangesOperation
) ... so I need a way to simulate this with public databases.
I want to be able to efficiently update my local Core Data cache for changes in the CloudKit records. When you query for CloudKit records, the CKRecord seems to have a creationDate
and modificationDate
property, which one can query for to see recently created / modified records, but that won't work for records that were deleted in CloudKit.
What would be an effective strategy here?
This is not required
You want a
CKFetchRecordZoneChangesOperation
Go watch the WWDC video here: https://developer.apple.com/videos/play/wwdc2014/231/
https://developer.apple.com/icloud/