Re: Icon question
Re: Icon question
- Subject: Re: Icon question
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 27 Jul 2005 18:38:40 -0700
On Jul 26, 2005, at 5:20 PM, glenn andreas wrote:
On Jul 26, 2005, at 6:40 PM, John Stiles wrote:
OK, now here's a stumper:
How do I get the icon for a plain old folder?
image = [[NSWorkspace sharedWorkspace] iconForFileType:
NSFileTypeForHFSTypeCode('fldr')];
That'll work, but why not just use:
image = [[NSWorkspace sharedWorkspace] iconForFileType:
NSDirectoryFileType];
which saves the function call?
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
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