Instance Method

addItems:

Appends pasteboard items to the current contents of the pasteboard.

Declaration

- (void)addItems:(NSArray<NSDictionary<NSString *,id> *> *)items;

Parameters

items

An array of dictionaries. Each dictionary represents a pasteboard item, with the key being the representation type and the value being the object associated with that type.

See Also

Getting and Setting Multiple Pasteboard Items

items

The pasteboard items on the pasteboard.

- dataForPasteboardType:inItemSet:

Returns the data objects in the indicated pasteboard items that have the given representation type.

- valuesForPasteboardType:inItemSet:

Returns the objects in the indicated pasteboard items that have the given representation type.

- setItems:options:

Adds an array of items to a pasteboard, and sets privacy options for all the items on the pasteboard.