Re: Can NSCell draw both an icon and text?
Re: Can NSCell draw both an icon and text?
- Subject: Re: Can NSCell draw both an icon and text?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 18 May 2005 08:38:20 -0600
On May 18, 2005, at 8:30 AM, James Bucanek wrote:
So is this still the only/recommended way of accomplishing this?
I think the NSBrowserCell class can draw both an icon and text, but I
haven't tried using it outside of an NSBrowser.
Does someone have some sample code that does this (I can't image
that this hasn't been done a thousand times already)?
There's a class called "ImageAndTextCell" that is part of the
"DragNDropOutlineView" sample code that comes with Xcode. You could
try that.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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