Will CKFetchRecordChangesOperation
retrieve all records from container?
I hoped it will download all my records, since I added many to different record types, but I get no one. I've initialised it with nil token.
reference says: A CKFetchRecordChangesOperation object reports on the changed and deleted records in the specified record zone. Use this type of operation object to optimize fetch operations for locally managed sets of records. Specifically, use it when you maintain a local cache of your record data and need to synchronize that cache periodically with the server.
I even runned CKFetchRecordChangesOperation
from different device to exclude the case only changes performed on other devices is returned.
CKFetchRecordChangesOperation has nothing to do with CKSubscription. Instead it will just return all the changes to all recordTypes.
The documentation says this about the change token:
So you will just get all the records.