Type Method

imageRepClassForFileType:

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

Declaration

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

Parameters

type

A string containing the filename extension or an encoded HFS type.

Return Value

A Class object for the image representation that can handle the type of data, 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.

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