Skip navigation.
 
mlRe: Custom View Table Views
FROM : Corbin Dunn
DATE : Wed Jul 26 05:19:15 2006

On Jul 25, 2006, at 5:31 PM, Chris Suter wrote:
>
> 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.


This is one of the specific things I will be talking about in the 
"Beyond Buttons and Sliders" talk, since it can be tricky to get 
right. The talk is subtitled "Advanced Controls in Cocoa".

> 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).
>


Yes -- this would be nice. Please do make your voice heard by logging 
bugs and feature requests; that is the best way to let the Apple 
developers know what particular things the developers want to do. 
Thanks!

Corbin

Related mailsAuthorDate
mlCustom View Table Views Thom McGrath Jul 24, 21:57
mlRe: Custom View Table Views I. Savant Jul 24, 22:01
mlRe: Custom View Table Views Shawn Erickson Jul 24, 22:03
mlRe: Custom View Table Views Mike Abdullah Jul 25, 21:35
mlRe: Custom View Table Views Corbin Dunn Jul 26, 00:41
mlRe: Custom View Table Views Mike Abdullah Jul 26, 01:24
mlRe: Custom View Table Views Chris Suter Jul 26, 02:31
mlRe: Custom View Table Views Corbin Dunn Jul 26, 05:19