Getting a file's icon
Getting a file's icon
- Subject: Getting a file's icon
- From: Jean-Nicolas Jolivet <email@hidden>
- Date: Tue, 28 Oct 2008 17:20:21 -0400
I was wondering how I can get an "NSImage" from a file's icon (assuming
I have that file's path)...
I've read about FileWrapper's icon method ([fileWrapper icon]) which
returns exactly what I need, but I'm not really familiar with file
wrappers and from what I understand from the Class documentation, a file
wrapper actually holds the file's content in dynamic memory... does
this mean it can be a problem if I open a bunch of big files? Do I
really need to hold the file's content in memory if all I need is its icon?
Jean-Nicolas Jolivet
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden