• 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: Can NSCell draw both an icon and text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can NSCell draw both an icon and text?


  • Subject: Re: Can NSCell draw both an icon and text?
  • From: James Bucanek <email@hidden>
  • Date: Wed, 18 May 2005 08:29:08 -0700

Nick Zitzmann wrote on Wednesday, May 18, 2005:

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

I looked at that too, but couldn't tell if NSBrowserCell was married to NSBrowserView.  I'll play with that too and see what happens.

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

I searched the example code on Apple's web site, and didn't hit that one.  I'll take a look.

Thanks for the tips,

James

--
James Bucanek <mailto:email@hidden>
 _______________________________________________
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

  • Follow-Ups:
    • Re: Can NSCell draw both an icon and text?
      • From: Nick Zitzmann <email@hidden>
References: 
 >Re: Can NSCell draw both an icon and text? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: NEWBIE: Why use protocols?
  • Next by Date: Re: Can NSCell draw both an icon and text?
  • Previous by thread: Re: Can NSCell draw both an icon and text?
  • Next by thread: Re: Can NSCell draw both an icon and text?
  • Index(es):
    • Date
    • Thread