Contents

imagePasteboardTypes()

Returns an array of strings identifying the pasteboard types supported directly by the registered image representation objects.

Declaration

class func imagePasteboardTypes() -> [NSPasteboard.PasteboardType]

Return Value

An array of NSString objects, each of which identifies a single supported pasteboard type. By default, this list contains the NSPDFPboardType, NSPICTPboardType, NSPostScriptPboardType, and NSTIFFPboardType types.

Discussion

This list includes all pasteboard types supported by registered subclasses of NSImageRep plus those that can be converted to a supported type by a user-installed filter service.

Do not override this method. Instead, override the imageUnfilteredPasteboardTypes() method to notify NSImage of the pasteboard types your class supports.

See Also

Class Methods