• 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: j o a r <email@hidden>
  • Date: Sun, 5 Dec 2004 20:24:12 +0100

How about using a button cell that can do this out of the box?

j o a r

On 2004-12-05, at 20.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?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Best way to put two NSCells in one?
  • Next by Date: Re: Best way to debug (was retain/release/pointers question)
  • Previous by thread: Best way to put two NSCells in one?
  • Next by thread: Re: Best way to put two NSCells in one?
  • Index(es):
    • Date
    • Thread