• 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: Problem saving document with my doc icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem saving document with my doc icon


  • Subject: RE: Problem saving document with my doc icon
  • From: Peter Teeson <email@hidden>
  • Date: Sat, 13 Jul 2013 11:23:06 -0400

On 2013-07-12, at 5:13 PM, Jens Alfke wrote:
> On Jul 12, 2013, at 12:29 PM, Peter Teeson <email@hidden> wrote:
>> In my Document based app I am having trouble saving a document with my document icon.
>> The Finder still shows the file with the folder icon.
>
> You don't need any code to accomplish this. Just make sure your Info.plist has a documentTypes entry
> for the filename extension you’re using for your bundle, and that the entry notes that it’s a bundle, and points to a valid icon file.
>
> —Jens
Thanks for your reply but I must still be doing something wrong.
The built app has the desired app icon. But the documents I save do not.
Here is the Info.plist from the app in the Build folder:

 NOTE: Will open in Xcode
This is what I used before adding the code shown in my original post.
Can you see what is missing or wrong?
Because with or without my added code I still get the Folder icon for the saved document file.

Peter



_______________________________________________

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: Problem saving document with my doc icon
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: realizeClass crash
  • Next by Date: Re: Problem saving document with my doc icon
  • Previous by thread: Re: Problem saving document with my doc icon
  • Next by thread: Re: Problem saving document with my doc icon
  • Index(es):
    • Date
    • Thread