Type Property

registeredClasses

Returns an array containing the registered NSImageRep classes.

Declaration

class var registeredClasses: [AnyClass] { get }

Return Value

An array of Class objects identifying the registered NSImageRep subclasses.

See Also

Managing NSImageRep Subclasses

class func `class`(forType: String) -> AnyClass?

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

class func `class`(for: Data) -> AnyClass?

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

class func `class`(forFileType: String) -> AnyClass?

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

Deprecated
class func `class`(forPasteboardType: NSPasteboard.PasteboardType) -> AnyClass?

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

Deprecated
class func registerClass(AnyClass)

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

class func unregisterClass(AnyClass)

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