Instance Method

writeElement:withPasteboardTypes:toPasteboard:

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

Declaration

- (void)writeElement:(NSDictionary *)element withPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard;

Parameters

element

The element to write to the pasteboard.

types

The pasteboard types to use for the element.

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
- writeSelectionWithPasteboardTypes:toPasteboard:

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

Deprecated