Type Property

imageUnfilteredTypes

Returns an array of UTI strings identifying the image types supported directly by the registered image representation objects.

Declaration

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

Return Value

An array of NSString objects, each of which contains a UTI identifying a supported image type. Some sample image-related UTI strings include "public.image”, "public.jpeg”, and "public.tiff”. For a list of supported types, see UTCoreTypes.h.

Discussion

The returned list includes UTI strings only for those file types that are supported directly by registered subclasses of NSImageRep. It does not include types that are supported through user-installed filter services. You can use the returned UTI strings with any method that supports UTIs.

Do not override this method directly. If your app supports custom image types, create and register an NSImageRep subclass that handles those types.

See Also

Determining the Supported Image Types

+ canInitWithPasteboard:

Tests whether the receiver can create an instance of itself using pasteboard data.

imageTypes

Returns an array of UTI strings identifying the image types supported by the registered NSImageRep objects, either directly or through a user-installed filter service.