iconForFile for folders/volumes
iconForFile for folders/volumes
- Subject: iconForFile for folders/volumes
- From: Rakka <email@hidden>
- Date: Tue, 19 Apr 2005 18:07:46 +1000
Hi,
Is there simple way to get a folder's icon, like iconForFile: does for
files? I tried iconForFile with a folder (or actually, a volume), and
it just doesn't work. Or am I doing something wrong? The following
doesn't work for folders and volumes, but only works with files (e.g
pdf, jpg, etc.)
NSImage *volumeIcon = [[NSWorkspace sharedWorkspace]
iconForFile:@"/Volumes/TheDisk"];
Thanks.
Regards,
Rakka
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden