You're right!

Don't know why i didn't think about that myself... ;-)

Txs.

On 26 Jan 2009, at 11:37, Jean-Daniel Dupas wrote:


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];





Looking for Web-to-Print Solutions?
Visit our website :   http://www.vit2print.com


This e-mail, and any attachments thereto, is intended only for use by the 
addressee(s) named herein and may contain legally privileged and/or 
confidential information and/or information protected by intellectual property 
rights.
If you are not the intended recipient, please note that any review, 
dissemination, disclosure, alteration, printing, copying or transmission of 
this e-mail and/or any file transmitted with it, is strictly prohibited and may 
be unlawful.
If you have received this e-mail by mistake, please immediately notify the 
sender and permanently delete the original as well as any copy of any e-mail 
and any printout thereof.
We may monitor e-mail to and from our network.

NSS nv Tieltstraat 167 8740 Pittem Belgium _______________________________________________

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