• 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: Whats the trick to making directories appear as single files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whats the trick to making directories appear as single files?


  • Subject: Re: Whats the trick to making directories appear as single files?
  • From: "Clark Cox" <email@hidden>
  • Date: Fri, 7 Sep 2007 10:40:51 -0700

On 9/7/07, Todd Blanchard <email@hidden> wrote:
> I've got an application that stores its documents in a directory
> wrapper.  Like .app directories .components, etc ...
>
> However, upon save the thing just looks like a folder and double
> clicking it doesn't launch my app.  Is this controlled by HFS file
> attributes of some kind?

You need to make sure that your app claims the type in the
CFBundleDocumentTypes array in its Info.plist. See:
<http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Concepts/DocTypePList.html>

--
Clark S. Cox III
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

References: 
 >Whats the trick to making directories appear as single files? (From: Todd Blanchard <email@hidden>)

  • Prev by Date: Re: Whats the trick to making directories appear as single files?
  • Next by Date: Using the tab key to cycle through custom NSViews?
  • Previous by thread: Re: Whats the trick to making directories appear as single files?
  • Next by thread: Using the tab key to cycle through custom NSViews?
  • Index(es):
    • Date
    • Thread