Hello,
I am working on a Mac OS app to manage .abc files; these are plain text files (you can open them with TextEdit) that can be used to build music scores.
I cannot set document the and UTI properly in my project. When I tap +O , in the open dialog, .abc files are greyed out, so cannot choose them.
I am not the owner/inventor of the .abc format, so I am setting an exported UTI. Here are details from my plist.
And:
I have been tweaking these settings a bit; I also tried using Exported UTI, but that was also to no avail.
Do you have any suggestions?
Thanks in advance,
Davide
I am working on a Mac OS app to manage .abc files; these are plain text files (you can open them with TextEdit) that can be used to build music scores.
I cannot set document the and UTI properly in my project. When I tap +O , in the open dialog, .abc files are greyed out, so cannot choose them.
I am not the owner/inventor of the .abc format, so I am setting an exported UTI. Here are details from my plist.
Code Block <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeIconSystemGenerated</key> <integer>1</integer> <key>CFBundleTypeName</key> <string>ABC Music File</string> <key>CFBundleTypeRole</key> <string>Editor</string> <key>LSHandlerRank</key> <string>Default</string> <key>LSItemContentTypes</key> <array> <string>com.davidebenini.abc</string> </array> <key>NSDocumentClass</key> <string>$(PRODUCT_MODULE_NAME).Document</string> </dict> </array>
And:
Code Block <key>UTImportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeDescription</key> <string>ABC Music File</string> <key>UTTypeIcons</key> <dict/> <key>UTTypeIdentifier</key> <string>com.davidebenini.abc</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>abc</string> <string>ABC</string> </array> </dict> </dict> </array>
I have been tweaking these settings a bit; I also tried using Exported UTI, but that was also to no avail.
Do you have any suggestions?
Thanks in advance,
Davide