Core Data & CloudKit App, Offline Online

Hi


hi if I have an Aap that supports Core Data & CloudKit, and the device we t offline, when it's back online data will sync automatically?

Ssorry I'm a beginner so didn't understand what that symbols mean 🙂

Does not mean anything, it is just spam. Ignore it.

When the device went offline,

- if it last less than the timeouts for request, it will complete automatically

- if it lasts more, you should gat an error because the request failed. Then you should manage this failure.

But since I use Core Data what I think should happen is that I can edit normally and when connecting back say after few hours data will sync to CloudKit automaticaaly ?

Could yoy confirm :

- user make modification locally on device or on a server (what I thought but may have been wrong).

- then data is stored on iCloud ?


You'll find details on sync mechanisms here:

h ttps://medium.com/@guilhermerambo/synchronizing-data-with-cloudkit-94c6246a3fda

Yes see when I create a new App I select Core Data and CloudKit check boxes, then I work with Core Data regullary and everything will be replicated to the Cloud, the chema and data, al least this is what I understood for the quick reading.

Core Data & CloudKit App, Offline Online
 
 
Q