On Jul 5, 2011, at 7:34 AM, Patrick Robertson wrote:

>> This is extremely fragile. You have no guarantee this image will continue
> to exist, that it will always be in ICNS format, or that the CoreTypes
> bundle will even continue to exist.
> 
> True, but this method has been working for our app for 8 years now, no
> problems :)
> If you have any better suggestions, feel free to let me know!

The best suggestion: Log a bug requesting Apple make the image public for you 
to use via NSImage imageNamed:.

Until then, you have to provide your own artwork (or a copy of the icon).

corbin



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to