• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iOS] How to animate the height of a UITableViewCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: [iOS] How to animate the height of a UITableViewCell
      • From: WT <email@hidden>
References: 
 >[iOS] How to animate the height of a UITableViewCell (From: WT <email@hidden>)

  • Prev by Date: Re: CALayer drawing efficiency
  • Next by Date: [Solved] [iOS] How to animate the height of a UITableViewCell
  • Previous by thread: [iOS] How to animate the height of a UITableViewCell
  • Next by thread: Re: [iOS] How to animate the height of a UITableViewCell
  • Index(es):
    • Date
    • Thread