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

Animate transition from cached to remote content #17

Open
Dimillian opened this issue Jul 30, 2014 · 1 comment
Open

Animate transition from cached to remote content #17

Dimillian opened this issue Jul 30, 2014 · 1 comment

Comments

@Dimillian
Copy link
Owner

So maybe, instead of a UITableView header view that specify that the displayed content is a cached content we could gracefully rearrange the UITableViewCell. It would work if the cached content is not too much different than the remote content (not too old). But if the remote content is only new items, well, it'll not work.

The problem to solve here is too not frustrate the user when the app transition from local/cached content to remote content. If you have a fast connection, the cached content will only display for a second or two. But we still need to display cached content for offline use and slow connection.

We could code that as an experiment.

Cc @finder39

@finder39
Copy link
Contributor

If it is new content it could still fade in using UITableView beginUpdate and endUpdate, just like rearranging.

This could also solve another problem. Right now when the datasource is updated with the new content from page 2 on it stops the scrolling. I believe that the table updating should resolve this issue too. Definitely some experimenting to do here!

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

No branches or pull requests

2 participants