Skip to content
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

Feature Request: A way to tell when Simperium is done downloading data from the web on sign in. #404

Closed
lukegeiger opened this issue Nov 24, 2014 · 2 comments
Milestone

Comments

@lukegeiger
Copy link

@jleandroperez As it sits right now, when a user logs back into my application, they probably will see no information because it is being downloaded from Simperium. It would be nice if I could have the ability to just show a loading indicator and wait on login before they were allowed to use the app.

@jleandroperez
Copy link
Contributor

@lukegeiger since Simperium actually works as a stream of changes going both ways, having an event to indicate "download ready" would probably never be 100% accurate (since we cannot know when "it's ready").

However, one possibility would be to hook up to the bucketDidFinishIndexing: delegate method, which is expected to get called as soon as the index process is complete. That is: after the framework logged in, retrieved the remote index, and downloaded the entities, at that precise point.

@jleandroperez jleandroperez modified the milestone: v0.7.6 Nov 28, 2014
@jleandroperez jleandroperez modified the milestones: v0.7.6, v0.7.7 Jan 6, 2015
@jleandroperez
Copy link
Contributor

Closing in favor of Issue #442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants