Type Property

textTypes

Returns an array of UTI strings identifying the file types supported by the receiver, either directly or through a user-installed filter service.

Declaration

class var textTypes: [String] { get }

Return Value

An array of NSString objects, each of which contains a UTI identifying a supported file type.

Discussion

The returned list includes UTIs all file types supported by the receiver plus those that can be opened by the receiver after being converted by a user-installed filter service. You can use the returned UTI strings with any method that supports UTIs.

See Also

Testing String Data Sources

class var textUnfilteredTypes: [String]

Returns an array of UTI strings identifying the file types supported directly by the receiver.