• 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: Cocoa:NSTableView and NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa:NSTableView and NSImage


  • Subject: Re: Cocoa:NSTableView and NSImage
  • From: Timothy Larkin <email@hidden>
  • Date: Thu, 11 Apr 2002 13:42:49 -0400

On 2002.04.11 02:43, "Lucas Haley" <email@hidden> wrote:

> has anyone out there come across the way to get a NSTableView to
> display images in its cells?

It's a matter of specifying the proper cell type. For instance, in
awakeFromNib, you could say

NSImageCell *cell = [[NSImageCell alloc] init];
[[tableView tableColumnWithIdentifier:@"thumbnail"] setDataCell:cell];


--
Timothy Larkin
Abstract Tools
Caroline, NY
_______________________________________________
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: 
 >NSTableView and NSImage (From: Lucas Haley <email@hidden>)

  • Prev by Date: Creating a checkbox
  • Next by Date: Re: How to detect a single mouse click on a cell in a TableView?
  • Previous by thread: Re: NSTableView and NSImage
  • Next by thread: NSTableView and NSImage
  • Index(es):
    • Date
    • Thread