Re: Named image for regular folder?
Re: Named image for regular folder?
- Subject: Re: Named image for regular folder?
- From: Jonathan Dann <email@hidden>
- Date: Wed, 30 Jan 2008 22:44:41 +0000
On 30 Jan 2008, at 16:11, Jim Correia wrote:
Among the new named images available on Leopard, I see:
NSImageNameFolderBurnable
NSImageNameFolderSmart
I don't see an image name for a regular, unadorned folder. Have I
overlooked it?
Jim
Along with the suggested NSWorkspace -iconForFile you can use the
following:
NSImage *folderImage = [[[NSWorkspace sharedWorkspace]
iconForFileType:NSFileTypeForHFSTypeCode(kGenericFolderIcon)];
Jon
_______________________________________________
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