Re: Custom View Table Views
Re: Custom View Table Views
- Subject: Re: Custom View Table Views
- From: Chris Suter <email@hidden>
- Date: Wed, 26 Jul 2006 10:31:11 +1000
On 26/07/2006, at 8:41 AM, Corbin Dunn wrote:
On Jul 25, 2006, at 12:35 PM, Mike Abdullah wrote:
The biggest problem I've found is how NSCell works. The table
view only uses one NSCell to do its drawing. Rather than having a
cell for each row of the table, it has a single cell that is
copied and released as appropriate.
This is actually a feature! It makes tables have good performance.
NSCell objects in tables can also be a pain. We wanted to have a
small table that had cells with tracking rects so that we could have
rollover buttons that worked. We've managed to hack it to work
(without subclassing NSTableView) but it wasn't easy. It would be
nice if NSCell objects had this support. It would also be useful if
NSTableView objects could support NSView objects (which would suit
when you only had a small table).
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden