• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Named image for regular folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Named image for regular folder? (From: Jim Correia <email@hidden>)

  • Prev by Date: CoreData and NSOperation
  • Next by Date: programming in C++ ?
  • Previous by thread: Re: Named image for regular folder?
  • Next by thread: EXC_BAD_ACCESS while invoking static method
  • Index(es):
    • Date
    • Thread