init
TypeScriptstatic initExportedAs(identifier: string): UTTypeReferenceSwift declarationinit(exportedAs identifier: String)class · iOS 14.0+ · SDK 27.1
class UTTypeReferencestatic initExportedAs(identifier: string): UTTypeReferenceSwift declarationinit(exportedAs identifier: String)static initExportedAsConformingTo(identifier: string, parentType: UTType): UTTypeReferenceSwift declarationinit(exportedAs identifier: String, conformingTo parentType: UTType)static initImportedAs(identifier: string): UTTypeReferenceSwift declarationinit(importedAs identifier: String)static initImportedAsConformingTo(identifier: string, parentType: UTType): UTTypeReferenceSwift declarationinit(importedAs identifier: String, conformingTo parentType: UTType)static initFilenameExtension(filenameExtension: string): (UTTypeReference) | nullSwift declarationconvenience init?(filenameExtension: String)static initFilenameExtensionConformingTo(filenameExtension: string, supertype: UTType): (UTTypeReference) | nullSwift declarationconvenience init?(filenameExtension: String, conformingTo supertype: UTType)static init(identifier: string): (UTTypeReference) | nullSwift declarationconvenience init?(_ identifier: String)static initIdentifierAllowUndeclared(identifier: string, allowUndeclared: boolean): (UTTypeReference) | nullSwift declarationconvenience init?(identifier: String, allowUndeclared: Bool)static initMimeType(mimeType: string): (UTTypeReference) | nullSwift declarationconvenience init?(mimeType: String)static initMimeTypeConformingTo(mimeType: string, supertype: UTType): (UTTypeReference) | nullSwift declarationconvenience init?(mimeType: String, conformingTo supertype: UTType)static initTagTagClassConformingTo(tag: string, tagClass: string, supertype?: (UTType) | null): (UTTypeReference) | nullSwift declarationconvenience init?(tag: String, tagClass: String, conformingTo supertype: UTType?)static types(tag: string, tagClass: string, supertype?: (UTType) | null): Array<UTType>Swift declarationclass func types(tag: String, tagClass: String, conformingTo supertype: UTType?) -> [UTType]conforms(type: UTType): booleanSwift declarationfunc conforms(to type: UTType) -> BoolisSubtype(type: UTType): booleanSwift declarationfunc isSubtype(of type: UTType) -> BoolisSupertype(type: UTType): booleanSwift declarationfunc isSupertype(of type: UTType) -> Boolget isDeclared(): booleanSwift declarationvar isDeclared: Bool { get }get isDynamic(): booleanSwift declarationvar isDynamic: Bool { get }get identifier(): stringSwift declarationvar identifier: String { get }get localizedDescription(): (string) | nullSwift declarationvar localizedDescription: String? { get }get preferredFilenameExtension(): (string) | nullSwift declarationvar preferredFilenameExtension: String? { get }get preferredMIMEType(): (string) | nullSwift declarationvar preferredMIMEType: String? { get }get isPublic(): booleanSwift declarationvar isPublic: Bool { get }get referenceURL(): (string) | nullSwift declarationvar referenceURL: URL? { get }get supertypes(): Array<UTType>Swift declarationvar supertypes: Set<UTType> { get }get tags(): Record<string, Array<string>>Swift declarationvar tags: [String : [String]] { get }get version(): (_Foundation_NSNumber) | nullSwift declarationvar version: NSNumber? { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UTTypeReference.init()
inherited init: cannot prove legal (class declares 16 custom initializers)