NSImage in NSTableView
NSImage in NSTableView
- Subject: NSImage in NSTableView
- From: Matt Jaffa <email@hidden>
- Date: Sat, 27 Mar 2004 03:09:25 -0700
Hi,
I am trying to display a NSImage in a NSTableView,
I downloaded an example that helped me to get it to work, but that
works only with
an icon that is already bundled up with the APP.
I am trying to return one that is found on the HD.
I am doing this within my TableViews data source, but it expects to
receive a NSString even though
it is an image.
[NSImage imageNamed:@"NSApplication"] returns the apps icon, in the
for of a NSString
to be displayed in the NSImageCell.
I would like to have a similar behavior, but be able to display icons
from this folder:
/Library/User Pictures/
Thanks,
Matt
_______________________________________________
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.