Skip navigation.
 
mlUsing iconForFileType: to get an icon.
FROM : Rosyna
DATE : Fri Jan 10 22:57:09 2003

I'm trying to use NSWorkspace's iconForFileType: method to get the
generic application icon. I've tried [[NSWorkspace sharedWorkspace]
iconForFileType:@"APPL"] and [[NSWorkspace sharedWorkspace]
iconForFileType:@"app"] but both return the generic document icon. Is
this just not possible using NSWorkspace (since nothing may or should
claim APPL or app)? If it is, how can I convert an IconRef into an
NSImage?
--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.