Type Method

imageRepClassForPasteboardType:

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

Declaration

+ (Class)imageRepClassForPasteboardType:(NSPasteboardType)type;

Parameters

type

The pasteboard type.

Return Value

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

See Also

Managing NSImageRep Subclasses

+ imageRepClassForType:

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

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