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 [philipjbor...@gmail.com]
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 (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/lrucker%40vmware.com
>
> This email sent to lruc...@vmware.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