writeSelection(withPasteboardTypes:to:)
Writes the receiver’s current selection to a pasteboard using a list of types.
Declaration
func writeSelection(withPasteboardTypes types: [Any]!, to pasteboard: NSPasteboard!)Parameters
- types:
The pasteboard types to use for the selection.
- pasteboard:
The pasteboard to use for writing.