Type Method

registerImageRepClass:

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

Declaration

+ (void)registerImageRepClass:(Class)imageRepClass;

Parameters

imageRepClass

The Class object for an NSImageRep subclass.

Discussion

This method posts an NSImageRepRegistryDidChangeNotification, along with the receiving object, to the default notification center.

A good place to add image representation classes to the registry is in the load class method.

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
+ imageRepClassForPasteboardType:

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

Deprecated
registeredImageRepClasses

Returns an array containing the registered NSImageRep classes.

+ unregisterImageRepClass:

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