• 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: Best way to put two NSCells in one?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to put two NSCells in one?


  • Subject: Re: Best way to put two NSCells in one?
  • From: Milton Sagen <email@hidden>
  • Date: Sun, 5 Dec 2004 11:59:13 -0800

Go look at the example DragNDropOutlineView. In it you'll find the module ImageAndTextCell.m. I think that's all you need.


On Dec 05, 2004, at 11:17, Gwynne wrote:

I have a situation where I have an NSTableView. I want one of the columns to display both image and text data. It seems to me that the best way to do this is to embed both NSTextFieldCell and NSImageCell into the column's data cell, but I can't quite figure out how this would be accomplished. Another option would be to write an NSTextImageCell subclass, but I'm not at all clear about how one would go about that either. Can anyone give me any advice?

-- Gwynne, key to the Code
Email: email@hidden
Web: http://musicimage.plasticchicken.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

_______________________________________________ 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: Best way to put two NSCells in one?
      • From: Gwynne <email@hidden>
References: 
 >Best way to put two NSCells in one? (From: Gwynne <email@hidden>)

  • Prev by Date: Re: Absolute Value |x - y|
  • Next by Date: Re: Save as, export to: implementation
  • Previous by thread: Re: Best way to put two NSCells in one?
  • Next by thread: Re: Best way to put two NSCells in one?
  • Index(es):
    • Date
    • Thread