Re: Location of the standard Apple icons in IB
Re: Location of the standard Apple icons in IB
- Subject: Re: Location of the standard Apple icons in IB
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 26 Jan 2009 11:37:46 +0100
Le 26 janv. 09 à 11:29, Florian Soenens a écrit :
Hi list,
i'm working on a 10.4+ app and i use some icon templates like
NSPreferencesGeneral, NSUser, etc...
The problem is that something like [toolbarItem setImage:[NSImage
imageNamed:@"NSPreferencesGeneral"]] only works on 10.5+
My question is, does anyone know the location these icons on then
system so i can take them and build them with my project instead of
relying on the runtime based approach.
I looked in System -> CoreServices but there not all there.
Thanks in advance,
Florian.
Looking for Web-to-Print Solutions?
Visit our website : http://www.vit2print.com
What about retreiving them on 10.5 using NSImage functions ?
[[[NSImage imageNamed:@"NSPreferencesGeneral"]
TIFFRepresentationUsingCompression:NSTIFFCompressionLZW]
writeToFile:@"NSPreferencesGeneral.tiff" atomically:NO];
_______________________________________________
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