Instance Method

writeObjects(_:)

Writes an array of objects to the receiver.

Declaration

func writeObjects(_ objects: [NSPasteboardWriting]) -> Bool

Parameters

objects

An array of objects that implement the NSPasteboardWriting protocol (including instances of NSPasteboardItem).

Return Value

true if the array was successfully added, otherwise false.