Re: Icons
Re: Icons
- Subject: Re: Icons
- From: Matt Crocker <email@hidden>
- Date: Sat, 15 Nov 2003 13:03:56 +0000
How do I set an icon for my application as well as for files created by
my application?
The first one took me a while to work out, but it's actually simple
when you've done it once...
1. Get an icon file - if you haven't got your own you can test this
recipe by "borrowing" some icons from your favorite application. Just
look in the Contents/Resources directory of its package.
2. Drag it into the resources folder of your application within Project
Builder (not sure about how it works in X-code as I haven't got 10.3).
3. Open up the Targets view of your application and find the entry with
the name of your app (should be near the top). Then scroll down to find
the "Application icon" entry and type the name of your icon file. A
little copy of the icon should appear in the box on the right to let
you know you've done it right.
4. Clean the target (an option under the Build menu).
5. Compile as usual.
Sometimes I find I need to log out and log in again for the icon to be
displayed. Not sure why.
As for the files, if your application is document based then just do
the same for the Document Icon under the targets view. I don't know how
to do it if the app isn't document based. I asked on the list once but
received no reply...
Hope this works.
Matt
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.