RE: Set Icon For Document-Based Files
RE: Set Icon For Document-Based Files
- Subject: RE: Set Icon For Document-Based Files
- From: Lee Ann Rucker <email@hidden>
- Date: Thu, 4 Nov 2010 12:18:55 -0700
- Acceptlanguage: en-US
- Thread-topic: Set Icon For Document-Based Files
Launch Services is what the Finder uses to associate icons with documents and documents with applications. It doesn't always pick up icon changes immediately.
This was the first of many Google hits for "reset Launch Services": http://www.thexlab.com/faqs/resetlaunchservices.html
but it looks like every version is slightly different and that page only goes up to Leopard.
(re-cc'ing cocoa-dev because I'd forgot cocoa-dev doesn't set replyto)
________________________________________
From: Philip Juel Borges [email@hidden]
Sent: Thursday, November 04, 2010 1:13 AM
To: Lee Ann Rucker
Subject: Re: Set Icon For Document-Based Files
Never heard of Launch Services, how do I reset it?
Den Nov 3, 2010 kl. 8:51 PM skrev Lee Ann Rucker:
Have you reset Launch Services? Sometimes it doesn't pick up changes
until you do.
On Nov 3, 2010, at 7:17 AM, PJBorges wrote:
> 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