On Dec 16, 2009, at 10:51 AM, Lee Ann Rucker wrote:

> 
>> Don't use an NSButtonCell or an NSBrowserCell.
> 
> Just curious - why shouldn't we use an NSBrowserCell? Aside from it not being 
> in an NSBrowser?_______________________________________________

I think you answered your own question. But...

1. It is really made to work in NSBrowser
2. Many properties only pertain to NSBrowser (ie: isLeaf)
3. There is no ivar storage for the image (it is implemented as a side hash 
table). This isn't necessarily a bad thing.
4. It doesn't descend from NSTextFieldCell, which provides some more editing 
features not found on NSBrowserCell.

Still, having said that, it will work to use it in an NSTableView (the 
open/save panel does this, for example). I just don't recommend doing it. 

-corbin

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to