Register document type

438 Views Asked by At

How do I register my application to be the default application to open "aidelicense" files? I'm using the AquaticPrime Framework and the AquaticPrime Developer application to make licenses.

Thanks!

1

There are 1 best solutions below

0
On BEST ANSWER

Sounds like you need to read up on the document-based architecture:

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Documents/Documents.html#//apple_ref/doc/uid/10000006-BAJJJHEG

In particular, you need to define CFBundleDocumentTypes in your application's .plist file, then the Finder just magically knows about the association when it encounters your .app bundle, such as when the user drags it into /Applications, or drags the icon into the dock.