Using iconForFileType: to get an icon.
Using iconForFileType: to get an icon.
- Subject: Using iconForFileType: to get an icon.
- From: Rosyna <email@hidden>
- Date: Fri, 10 Jan 2003 13:57:09 -0800
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@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.