opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cocoa-dev@lists.apple.com 18 January 2006 • 6:48AM -0500

Does NSImage handle Icns Files?
by Seth Willits

REPLY TO AUTHOR
 
REPLY TO GROUP




Howdy,

I'm trying just to get an image of my document's icon inside my app,  
and I though [NSImage imageNamed:@"DocumentIcon"] might work, and  
although it returns something, when drawing in a view, it doesn't  
draw anything recognizable as part of the icon. (I actually just see  
a gradient shadowy kind of thing on the right side of where it should  
be drawing.)

Does NSImage handle icns files? How else can I get the icon for my  
document? (NSWorkspace's iconForFileType won't work because the file  
type isn't unique to my application.)

Thanks,


--
Seth Willits

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (Cocoa-dev@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.