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

Reload data #7

Open
aur0n opened this issue Jul 25, 2012 · 1 comment
Open

Reload data #7

aur0n opened this issue Jul 25, 2012 · 1 comment

Comments

@aur0n
Copy link

aur0n commented Jul 25, 2012

Hello,

congrats for the excellent work!

I have a question: for some other reasons, after 3/4 secs after my UITableView appear, I do some reloadData of the table.

But everytime I call it, it re-perform the animation effect, which isn't nice. Is there any way I can prevent it from animate when calling specific [tab reloadData]?

Thanks.

@Ecco
Copy link

Ecco commented Aug 9, 2012

This is an expected behavior since we're hooking to tableView:willDisplayCell:forRowAtIndexPath:.
However I guess this could be avoided by setting a nil transform prior to reloading your data. Something along the lines of :

myTableView.initialCellTransformBlock = nil;
[myTableView reloadData];
myTableView.initialCellTransformBlock = ADLivelyTransformCurl;

Let me know wether it works or not!

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