Type Method

imageRepClassForType:

Returns the NSImageRep subclass that handles image data for the specified UTI.

Declaration

+ (Class)imageRepClassForType:(NSString *)type;

Parameters

type

The UTI string identifying the desired 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.

Return Value

A Class object for the image representation that can handle the UTI, or nil if no image representation could handle the data.

See Also

Managing NSImageRep Subclasses

+ imageRepClassForData:

Returns the NSImageRep subclass that handles the specified type of data.

+ imageRepClassForFileType:

Returns the NSImageRep subclass that handles data with the specified type.

Deprecated
+ imageRepClassForPasteboardType:

Returns the NSImageRep subclass that handles data with the specified pasteboard type.

Deprecated
registeredImageRepClasses

Returns an array containing the registered NSImageRep classes.

+ registerImageRepClass:

Adds the specified class to the registry of available NSImageRep subclasses.

+ unregisterImageRepClass:

Removes the specified NSImageRep subclass from the registry of available image representations.