FROM : Jonathan Dann
DATE : Wed Jan 30 23:44:41 2008
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
DATE : Wed Jan 30 23:44:41 2008
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
| Related mails | Author | Date |
|---|---|---|
| Jim Correia | Jan 30, 17:11 | |
| Ken Thomases | Jan 30, 17:36 | |
| Matt Gough | Jan 30, 17:55 | |
| Kyle Sluder | Jan 30, 18:19 | |
| Clark Cox | Jan 30, 18:52 | |
| Mark Stultz | Jan 30, 19:04 | |
| Jonathan Dann | Jan 30, 23:44 | |
| Uli Kusterer | Feb 1, 12:10 |






Cocoa mail archive

