• 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: Custom View Table Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom View Table Views


  • Subject: Re: Custom View Table Views
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 25 Jul 2006 20:19:15 -0700

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

_______________________________________________
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


References: 
 >Custom View Table Views (From: Thom McGrath <email@hidden>)
 >Re: Custom View Table Views (From: Mike Abdullah <email@hidden>)
 >Re: Custom View Table Views (From: Corbin Dunn <email@hidden>)
 >Re: Custom View Table Views (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Problems with NSAffineTransform
  • Next by Date: Re: Will a subclass of NSActionCell work on 10.2?
  • Previous by thread: Re: Custom View Table Views
  • Next by thread: RE: How do I display a path like in PathFinder 4, the file path
  • Index(es):
    • Date
    • Thread