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

@property(class, readonly, copy) NSArray<NSString *> *textTypes;

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

textUnfilteredTypes

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