Re: Attaching file types & icons to app
Re: Attaching file types & icons to app
- Subject: Re: Attaching file types & icons to app
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 23 Jun 2004 15:50:25 +0200
On Jun 23, 2004, at 3:01 PM, OL&L Lists wrote:
This may be a newbie question:
I have a Cocoa app I have written. My app has one type of file that it
saves. I want to attach a custom icon for my file's type so that it is
asscociated with my application.
1) How do I make my file type asscociate with my application?
2) How do I make my file's icon show up in the Finder with my own
custom file icon so that it matches my app?
I am doing all of this in Cocoa and XCode/IB 1.2
1. Open your project in Xcode.
2. Select your Target in the Groups & Files column
3. Use the shortcut "Command + I" to display the Target Inspector
4. Select the TabView Item named "Properties"
5. In the Document Types array:
i. Click on the (+) button to add a document type
ii. Enter the needed information
6. Rebuild your project
7. You may have to logout/logout to have the modifications taken into
consideration by the Finder.
My $0.02
_______________________________________________
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.