开发者

Register document type

开发者 https://www.devze.com 2023-01-25 04:54 出处:网络
How do I register my application to be the default application to open \"aidelicense\" files?I\'m using t开发者_JS百科he AquaticPrime Framework and the AquaticPrime Developer application to make licen

How do I register my application to be the default application to open "aidelicense" files? I'm using t开发者_JS百科he AquaticPrime Framework and the AquaticPrime Developer application to make licenses.

Thanks!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号