init(filenameExtension:conformingTo:)
Creates a type that represents the specified filename extension and conforms to an existing type.
Declaration
convenience init?(filenameExtension: String, conformingTo supertype: UTType)Parameters
Discussion
If the system recognizes the filename extension, the intializer returns the corresponding type; otherwise, the initializer returns a dynamic type whose isDeclared and isPublic properties are both set to false.