Re: Cocoa:NSTableView and NSImage
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.