I have done that, and yet my application registers no changes. It
still saves the data with the plain white icon.

I nocticed that the UTI table is empty. My data can be saved either in
binary, SQL, or XML format. Does it matter if this field is empty? I
noticed that in TextEdit source code that the rtf format is called
public.rtf in the UTI table. If it is necessary do you know the
correct UTI identity?

--Philip

On 3 Nov., 18:11, Reinhard Segeler <macmeid...@googlemail.com> wrote:
> 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-...@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%40googlem...
>
> > This email sent to macmeid...@googlemail.com
>
> _______________________________________________
>
> Cocoa-dev mailing list (cocoa-...@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/cocoa-dev-garchive-9...
>
> This email sent to cocoa-dev-garchive-98...@googlegroups.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