Contents

init(exportedAs:conformingTo:)

Creates a type your app owns based on an identifier and a supertype that it conforms to.

Declaration

init(exportedAs identifier: String, conformingTo parentType: UTType)

Parameters

  • identifier:

    The identifier of your type.

  • parentType:

    A type to extend for your own type.

See Also

Creating a type