• 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: Insert two objects under the same column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Insert two objects under the same column


  • Subject: Re: Insert two objects under the same column
  • From: Frank Midgley <email@hidden>
  • Date: Tue, 17 Feb 2004 13:20:05 -0600

On Feb 4, 2004, at 11:23AM, Roberto Sobachi wrote:

How can I insert for example an image and a text under the same column with NSTableView?

If you simply want an image and some text you can avoid an NSCell subclass and just build an attributed string. This works quite well for things like a list of file names with their icons prepended. There are plenty of examples of adding an image to a string at <http://cocoa.mamasam.com/>.

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Insert two objects under the same column (From: Roberto Sobachi <email@hidden>)

  • Prev by Date: Re: Debugging Bindings in Cocoa
  • Next by Date: Used Size of Text View
  • Previous by thread: Re: Insert two objects under the same column
  • Next by thread: Re: Insert two objects under the same column
  • Index(es):
    • Date
    • Thread