Re: Set Icon For Document-Based Files
Re: Set Icon For Document-Based Files
- Subject: Re: Set Icon For Document-Based Files
- From: Sherm Pendley <email@hidden>
- Date: Thu, 4 Nov 2010 14:35:28 -0400
On Thu, Nov 4, 2010 at 2:32 PM, Sherm Pendley <email@hidden> wrote:
> On Thu, Nov 4, 2010 at 1:39 PM, PJBorges <email@hidden> wrote:
>>
>> Does it matter where you put the key CFBundleTypeIconFile in the
>> info.plist file?
>
> To some extent, yes - the overall structure of the .plist must be
> right. That is, the CFBundleDocumentTypes key must have an array of
> dictionaries, and the CFBundleTypeIconFile must be a key in one of
> those. But it doesn't matter in what order the key/value pairs are
> listed within each dictionary.
A simple check would be to "get info" on your target. If Xcode can
parse your .plist and show your file type info, the .plist is probably
structured correctly.
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________
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