CloudKit Sync - Knowing Sync is in Progress or When Finished? #250
Replies: 1 comment 1 reply
-
|
Hi @rwgrier,
That's exactly what PR #249 accomplishes, which we plan on merging and releasing soon. You can check out the example app to see how it is used to show a progress indicator in a SwiftUI view when the sync engine is sending/fetching changes.
The same property above can be used, and it's an observable property so you can use it just as you would use any property in an
Not exactly sure what your use case is, but do be aware that there isn't necessarily any rhyme or reason to when the sync engine may start communicating with CloudKit. It can flutter with activity even when nothing has changed. I personally wouldn't do anything too user facing with that information because it may flip true/false pretty frequently. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've recently started using SQLiteData. I am enjoying it. Thanks for making it.
For CloudKit sync, I have two questions.
There may be cases where I would like to hold off on syncing and wait until it's finished.
Beta Was this translation helpful? Give feedback.
All reactions