-
Notifications
You must be signed in to change notification settings - Fork 122
-
Notifications
You must be signed in to change notification settings - Fork 122
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
iCloud and CoreData Article: Add section about when to Update UI #6
Comments
Thanks! And sorry for only getting back to this now. Maybe you could submit a pull request, or maybe @bcapps or @mattbischoff could have a look at this? I think it'll be nice to include! |
I'll take a look tonight.Matt On Mon, Aug 11, 2014 at 6:38 AM, Chris Eidhof [email protected]
|
Ping @mattbischoff =) |
I’ll PR it. Sorry for the delay. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The iCloud and CoreData Article is in fact pretty good but for me there was one thing missing.
I wondered how to figure out when to update the UI when an App is first launched and the iCloud Store is filled with data.
I tought listening for the Notification in storesWillChange: would be enough.
In fact you need to update when the storeDidChange: like this (otherwise the managedObjectContext would still be different to the iCloud content):
I'm not sure if this was the focus of the article or I didn't read it carefully enough but maybe it's worth a consideration.
The text was updated successfully, but these errors were encountered: