Instance Method

writeSelectionWithPasteboardTypes:toPasteboard:

Writes the receiver’s current selection to a pasteboard using a list of types.

Declaration

- (void)writeSelectionWithPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard;

Parameters

types

The pasteboard types to use for the selection.

pasteboard

The pasteboard to use for writing.

See Also

Using the Pasteboard

+ URLFromPasteboard:

Returns a URL from the specified pasteboard.

Deprecated
+ URLTitleFromPasteboard:

Returns the title of a URL from the specified pasteboard.

Deprecated
- pasteboardTypesForElement:

Returns an array of pasteboard types for an element.

Deprecated
pasteboardTypesForSelection

An array of pasteboard types that can be used for the current selection of the receiver.

Deprecated
- writeElement:withPasteboardTypes:toPasteboard:

Writes an element to the pasteboard using a list of types.

Deprecated