Re: File association
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