• 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: UITableView with cells of varying heights
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Cancelable NSBlockOperations
  • Next by Date: Re: NSTableView column bindings and "deep" key paths
  • Previous by thread: Re: Cancelable NSBlockOperations
  • Next by thread: Job Posting: Senior Software Engineer, Apple Inc.
  • Index(es):
    • Date
    • Thread