• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Set Icon For Document-Based Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Set Icon For Document-Based Files
      • From: PJBorges <email@hidden>
References: 
 >Set Icon For Document-Based Files (From: PJBorges <email@hidden>)

  • Prev by Date: Re: [iPhone] HTTPS / client Certificate / configuration profile
  • Next by Date: Re: Set Icon For Document-Based Files
  • Previous by thread: Re: Set Icon For Document-Based Files
  • Next by thread: Re: Set Icon For Document-Based Files
  • Index(es):
    • Date
    • Thread