Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Named image for regular folder?



On Jan 30, 2008, at 10:11 AM, 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?

If you don't find anything better, the poor man's solution is - [NSWorkspace iconForFile:]. If necessary, you can even name that image with -[NSImage setName:] so you'll be able to refer to it from nibs. It won't appear in IB, but if you register the name early enough in application startup, it will work at runtime.


-Ken

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.