Re: Set Icon For Document-Based Files
Re: Set Icon For Document-Based Files
- Subject: Re: Set Icon For Document-Based Files
- From: Reinhard Segeler <email@hidden>
- Date: Wed, 3 Nov 2010 18:11:40 +0100
You have to register it by adding the document (type and icon name)
for the document in the target's "Properties" pane and it must be part
of your project, as well.
-- Reinhard
Am 03.11.2010 um 15:17 schrieb PJBorges:
Hi,
I've made a core data document-based application that works fine. When
you save the data to a file cocoa adds the standard plain white icon
representing the data file.
How do I change that standard icon into a custom one?
I've tried to add this to the Info.plist file, according to apple's
documentation:
<key>CFBundleTypeIconFile</key>
<string>myCustomIcon</string>
But the icon of the file remains the same standard plain icon when I
save the data.
What am I doing wrong?
--Philip
_______________________________________________
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
_______________________________________________
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