init(importedAs:conformingTo:)
Creates a type your app uses, but doesn’t own, based on an identifier and a supertype that it conforms to.
Declaration
init(importedAs identifier: String, conformingTo parentType: UTType)Parameters
- identifier:
The identifier of your type.
- parentType:
A type to extend with this type.