In a Document-based Cocoa application, handled file extensions are listed in the application's Info.plist file.
The application I'm building will require a loadable bundle for each type of file it opens. As such, I'd like the presence of bundles to modify the way my application registers itself as handling certain file types.
As an example, if the HTML.bundle
is installed, my application should allow HTML documents to be opened, but if the bundle is absent then it should not.
Does it have to be an application-level setting, or can it be distributed through the installed bundles for the application?
I'm referring to "Document Types" in a Document Based application's Info.plist.