Re: UITableView with cells of varying heights
Re: UITableView with cells of varying heights
- Subject: Re: UITableView with cells of varying heights
- From: Matt Neuburg <email@hidden>
- Date: Thu, 14 Jan 2010 11:30:29 -0800
- Thread-topic: UITableView with cells of varying heights
On Thu, 14 Jan 2010 09:46:06 -0500, "Eric E. Dolecki" <email@hidden>
said:
>The result would be a UITableView with rows of varying
>heights, perfectly framing each row's content.
This is certainly possible, since I did in my TidBITS News app (free, so you
can take a look at the result). Basically I'm simply calculating the heights
of the two UILabel field contents, setting the heights and positions of the
UILabels accordingly, then setting the height of the cell itself. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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