Post

Replies

Boosts

Views

Activity

Reply to NSPersistentCloudKitContainer: How to know initial sync between CloudKit has happened?
In an eventually consistent distributed system you can never "know" that you have existing data or devices in the cloud. Your application will simply "find out at some point" that this data exists and needs to be designed to handle that. You statement is from the perspective of a computer scientist, not from that of a user. And its all about the user, all the time in the real world. I've had many complaints from users that my app seems to have lost data - yes the user is being impatient and not waiting an infinite amount of time for the initial sync. But it should would be nice if we could trigger an initial sync or at least know that its happening so we can inform the user that "be patient, data is on its way to your device".
Dec ’20