ImageAndTextCell still the way to go for icons in outline views?
ImageAndTextCell still the way to go for icons in outline views?
- Subject: ImageAndTextCell still the way to go for icons in outline views?
- From: Jens Alfke <email@hidden>
- Date: Wed, 16 Dec 2009 09:47:14 -0800
I'm implementing an outline view whose main column needs to show an icon next to the name, just like the Finder or Safari's bookmarks editor etc. etc. In the past I've always copied the handy ImageAndTextCell class from Apple's DragDropOutlineView sample, but I'm wondering if there is any cleaner way to do this nowadays without having to use a custom cell class. (This does have to remain 10.5-compatible, though.)
I dimly recall having heard of NSBrowserCell being used for this, but I don't remember any details.
Some apps use NSButtonCell, but it doesn't support editing the text and I need to do that.
—Jens_______________________________________________
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