Contents

writablePasteboardTypes

The pasteboard types that can be provided from the current selection.

Declaration

var writablePasteboardTypes: [NSPasteboard.PasteboardType] { get }

Discussion

An array of strings describing the types that can be written to the pasteboard immediately, or an array with no members if the text view has no text or no selection.

Overriders can copy the result from super and add their own new types.

See Also

Managing the pasteboard