Re: NSTableView and NSImage
Re: NSTableView and NSImage
- Subject: Re: NSTableView and NSImage
- From: Ondra Cada <email@hidden>
- Date: Thu, 25 Apr 2002 22:51:21 +0200
On Friday, April 26, 2002, at 09:57 , Ian Reid wrote:
My initial choice is to use NSTableView. I have written a very simple
application that has
delegated the "willDisplayCell" method. In the delegation, I call the
"setImage" method
of the cell. Nothing appears in the table view.
*IIRC* (I haven't done this stuff for an eternity), you want to use an
NSImageCell for the column's data cell. By default, there is a cell which
supports text only.
OTOH, you can simplify your code: just returning the image from the normal
data source tableView:objectValueForTableColumn:row: should be enough --
you don't need to use delegate methods.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.