My Cocoa document-based app opens and writes custom packages/bundles.
Is this considered a proprietary format that needs to be exported via Exported UTIs (UTExportedTypeDeclarations)?
If so, what should be the values for:
- Conforms To (
UTTypeConformsTo) - Mime Types (
public.mime-type) - Pboard Types (
com.apple.nspboard-type) - OS Types (
com.apple.ostype)
Finally, does the Exported UTI identifier (UTTypeIdentifier) need to be the same value than the Document Type identifier (LSItemContentTypes)?
Trial-and-error findings:
Yes. While I couldn’t find any explicit mention of this in the documentation, exporting the type was necessary for Finder to treat the directories as packages.
com.apple.package(source)Empty. Directories don’t have a Mime Type?
Empty. Pboard Types are deprecated?
No clue.
Yes, but I couldn’t find any explicit mention of this in the documentation.