• 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
ImageAndTextCell still the way to go for icons in outline views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ImageAndTextCell still the way to go for icons in outline views?
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: pls explain rotated iPhone coordinates to me
  • Next by Date: Re: ImageAndTextCell still the way to go for icons in outline views?
  • Previous by thread: Re: 2D grayscale image from an array of floats
  • Next by thread: Re: ImageAndTextCell still the way to go for icons in outline views?
  • Index(es):
    • Date
    • Thread