-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just a few questions #17
Comments
Hi @thatvirtualboy ,
|
@ggruen Thanks Grant so much for the detailed explanation on both items! This is very helpful. At any rate, I really appreciate the reply. Thank you! |
Does this mean that instead of just having an ObservedObject in a view, the sync monitor should also be initialized somewhere in the app delegate before it's actually later used by a view that the user navigates to? The docs don't suggest triggering some behavior before its use in a view. Thanks |
Hi @aehlke, Good question, and I think there may be a race condition in the design of the module in "normal" use. Basically, CloudKitSyncMonitor is usually accessed as a singleton ( In my code, I use a view model, which is initialized very early in the startup process (I forget where and I've paused my Apple development for the time being so I can't look it up), so I didn't run into problems. If there is an issue caused by missing early messages, then you can try putting If you try this, please post your findings here. :) |
That's what I ended up doing, thanks! |
Hi and thanks so much for creating this useful tool! I had a view questions I'm hoping you can help me with:
Can you explain a bit more what requirements need to happen in order for "Setup State" to show successful? I ask because I had re-installed my app, successfully re-download all data from iCloud, Import/Export showed Successful but Setup was Not Started. It wasn't until I killed and re-launched that it updated.
I have a user who has just over 100 saved objects on their iPhone in my app, but only 94 are syncing to their iPad. New projects aren't syncing between the two devices, and the status page is reading: Export Failed "CKERRORDOMAIN ERROR 2" -- I can't find much online about this error or what the suggested steps to fix it are. I'm not expecting you to help me troubleshoot, but I'm curious if you've come across this error before and if you've found a successful and repeatable way to address it.
Thanks so much!
The text was updated successfully, but these errors were encountered: