Type Method

imageRepClassForData:

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

Declaration

+ (Class)imageRepClassForData:(NSData *)data;

Parameters

data

The image data.

Return Value

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

See Also

Managing NSImageRep Subclasses

+ imageRepClassForType:

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

+ 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.