• 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: File association
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File association


  • Subject: Re: File association
  • From: Mahaboob <email@hidden>
  • Date: Thu, 15 Jan 2009 14:47:10 +0530
  • Thread-topic: File association

Hi,
I gone through the documentation and did in the info.plist file like:

Document Tyoe Name : myApplication
CFBundleTypeExtensions : prp
Document OS Type : ****
Role : Editor
Handler rank : Owner

Then run it and saved the project.
Then I double click the saved project, but it opens in TextEdit.
Is there any other keys I need to set?



On 1/14/09 8:13 PM, "Benjamin Stiglitz" <email@hidden> wrote:

>> I saved the project using NSArchiver with an extension say .myExtension. And
>> also I opened the saved project by unachieved it from menu. Now I need to
>> open the saved project when double clicking on it.
>>
>> How can I do this file association?
>
> See the Runtime Configuration Guidelines:
> <http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Ar
> ticles/PListKeys.html#//apple_ref/doc/uid/20001431-101685>
>
>> Where I need to write code for unarchiving its content ?
>
> You should read about the Cocoa document architecture:
> <http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/Documents/Documents
> .html>
>
> -Ben
> _______________________________________________
>
> 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

  • Follow-Ups:
    • Re: File association
      • From: Benjamin Stiglitz <email@hidden>
References: 
 >Re: File association (From: Benjamin Stiglitz <email@hidden>)

  • Prev by Date: Re: Quick (?) NSCell question: getting the drawing (inner) rectangle
  • Next by Date: Using an NSOpenGLVIew to play a Quartz composition with QCRenderer
  • Previous by thread: Re: File association
  • Next by thread: Re: File association
  • Index(es):
    • Date
    • Thread