> Yes, but we're supposed to use them in-place, not copy them into our apps.
I wasn't suggesting that be done. Here's the code I use in my apps: - (NSImage *)sysIconNamed:(NSString *)name { NSString *path = [[NSBundle bundleWithPath: @"/System/Library/CoreServices/CoreTypes.bundle"] pathForResource:name ofType:@"icns"]; if (!path) return nil; return [[[NSImage alloc] initByReferencingFile:path] autorelease]; } Works well :) On 5 July 2011 13:09, Sherm Pendley <sherm.pend...@gmail.com> wrote: > On Tue, Jul 5, 2011 at 6:53 AM, Ulf Dunkel <dun...@calamus.net> wrote: > > Hi Lee Ann. > > > >> Also I think Apple frowns on copying their icons into your apps. Only > the > >> ones you can get through imageNamed: or iconForFileType: are fair game. > > > > Wasn't it Steve Jobs who invited us to pick all their nice icons, > somewhen > > in the past when he introduced Leopard (or even Tiger)? > > > sherm-- > > -- > Cocoa programming in Perl: > http://camelbones.sourceforge.net > _______________________________________________ > > 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/robertson.patrick%40gmail.com > > This email sent to robertson.patr...@gmail.com > _______________________________________________ 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