Format reader property list dictionaries
Include property list dictionaries to describe a format reader and register the formats it supports.
Overview
An ExtensionKit format reader needs to include one required dictionary and can also include an optional dictionary in its Info.plist file:
EXAppExtensionAttributes: A required dictionary that describes the format reader and contains the following keys and values:
kMEFormatReaderClassImplementationIDKey: The identifier for the format reader. Format similarly to the bundle identifier.
EXExtensionPointIdentifier: The extension point name for format readers. Set to the value for kMEFormatReaderExtensionPointName.EXPrincipalClass: The name of the format reader factory class that conforms to the MEFormatReaderExtension protocol.kMEFormatReaderFileNameExtensionArrayKey: An array of strings that specify the file name extensions that the format reader supports.
kMEFormatReaderUTTypeArrayKey: A key to the array of Uniform Type Identifiers that the format reader supports.
kMEFormatReaderObjectNameKey: A user-readable string that describes the format reader.
UTExportedTypeDeclarations: An optional dictionary that registers the formats from the kMEFormatReaderUTTypeArrayKey array that the format reader supports, so the system can recognize those media files and open them in the appropriate app. It contains the following keys and values:
UTTypeDescription: A user-readable string that specifies the media kind, which Finder displays.
UTTypeConformsTo: An array of
UTTypeidentifiers, with the first entry set tocom.apple.mediaextension-content. This type also conforms to higher level abstract types such aspublic.movieandpublic.audiovisual-content. This array can include additional types as needed.UTTypeIdentifier: This value needs to match the value for
kMEFormatReaderUTTypeArrayKeyin theEXAppExtensionAttributesdictionary.UTTypeTagSpecification,
public.filename-extensionkey: This value needs to match the value for kMEFormatReaderFileNameExtensionArrayKey in theEXAppExtensionAttributesdictionary.public.mime-type: This is an optional key to a MIME type that corresponds to the format.
For general information on how to make a UTExportedTypeDeclarations dictionary, see UTExportedTypeDeclarations.