Contents

fileType

The document type for interpreting the document.

Declaration

static let fileType: NSAttributedString.DocumentAttributeKey

Discussion

The value of this attribute is an NSString object indicating which document type was used to interpret the document, specified as a UTI; for reading, this is available along with documentType, but for writing the two are mutually exclusive.

See Also

Getting document type keys