Contents

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:

  1. EXAppExtensionAttributes: A required dictionary that describes the format reader and contains the following keys and values:

  1. 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 UTType identifiers, with the first entry set to com.apple.mediaextension-content. This type also conforms to higher level abstract types such as public.movie and public.audiovisual-content. This array can include additional types as needed.

  • UTTypeIdentifier: This value needs to match the value for kMEFormatReaderUTTypeArrayKey in the EXAppExtensionAttributes dictionary.

  • UTTypeTagSpecification, public.filename-extension key: This value needs to match the value for kMEFormatReaderFileNameExtensionArrayKey in the EXAppExtensionAttributes dictionary.

  • 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.

Topics

Property list keys

See Also

Format readers