Instance Method

pasteboardTypesForItemSet:

Returns an array of representation types for each specified pasteboard item.

Declaration

- (NSArray<NSArray<NSString *> *> *)pasteboardTypesForItemSet:(NSIndexSet *)itemSet;

Parameters

itemSet

An index set with each integer value identifying a pasteboard item positionally in the pasteboard. Pass in nil to request all pasteboard items.

Return Value

An array of arrays, with each inner array holding the representation types for a particular pasteboard item.

See Also

Determining the Types of Multiple Pasteboard Items

numberOfItems

Returns the number of items in the pasteboard

- itemSetWithPasteboardTypes:

Returns an index set identifying pasteboard items having the specified representation types.

- containsPasteboardTypes:inItemSet:

Returns whether the specified pasteboard items contain data of the given representation types.