NSTableView and NSImage
NSTableView and NSImage
- Subject: NSTableView and NSImage
- From: Ian Reid <email@hidden>
- Date: Fri, 26 Apr 2002 12:57:27 -0700
Hello,
I am in the initial stages of developing an application, part of which
requires displaying
a number of images in a scrollable window, much in the same way as
iPhoto, or iMovie.
My experience with Cocoa is somewhat limited, so please bear with me :
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.
I assume I am doing something wrong here, but I have no idea what. Is
this the correct
approach, or should I be doing something else ?
In the archives I have noticed a posting referring to NSImage and
NSTableView, that
suggests set the data cell of each column to be an NSImageCell.
According to the documentation, calling the setImage method should
automatically
convert the cell to the appropriate type.
Any advice, suggestions or explanations would be gratefully received.
Thanks in advance,
Ian
_______________________________________________
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.