Contents

registerClass(_:)

Adds the specified class to the registry of available image representation subclasses.

Declaration

class func registerClass(_ imageRepClass: AnyClass)

Parameters

  • imageRepClass:

    The Class object for an NSImageRep subclass.

Discussion

This method posts an registryDidChangeNotification, 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

Related Documentation

Managing Representation Subclasses of Images