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 (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/macmeideln%40googlemail.com

This email sent to macmeid...@googlemail.com

_______________________________________________

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