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" <s...@apple.com> 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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/mahaboob%40newtok.com > > This email sent to mahab...@newtok.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com