Contents

class(forPasteboardType:)

Returns the image representation subclass that handles data with the specified pasteboard type.

Declaration

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

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 Representation Subclasses of Images