Re: [iOS] How to animate the height of a UITableViewCell
Re: [iOS] How to animate the height of a UITableViewCell
- Subject: Re: [iOS] How to animate the height of a UITableViewCell
- From: Conrad Shultz <email@hidden>
- Date: Mon, 14 Mar 2011 10:27:58 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
WT wrote:
> When the object displayed in a given UITableViewCell is in the
> loading state, the cell's height is just a bit larger than a
> UILabel's height. When the object is in its "loaded" state, the cell
> is quite a bit taller, to accommodate the rest of the information.
>
> I already have all of this working just fine (including the fact that
> each cell's object updates its content asynchronously), but the
> transition from short cell to tall cell is abrupt and I would like to
> make it be a smooth animation.
>
> Can someone please offer some pointers on how to accomplish that?
I have found that using:
- - (void)reloadRowsAtIndexPaths:(NSArray *)indexPaths
withRowAnimation:(UITableViewRowAnimation)animation
works well, especially when used with UITableViewRowAnimationTop as the
row animation.
- --
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAk1+UB0ACgkQaOlrz5+0JdXwsgCeN4smNOg0QkF392GBd4Iy4lpJ
6hsAnRIRi3UdN/4pOZ/e+zkoMCh5FULc
=6cVn
-----END PGP SIGNATURE-----
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden