types(forItemSet:)
Returns an array of representation types for each specified pasteboard item.
Declaration
func types(forItemSet itemSet: IndexSet?) -> [[String]]?Parameters
- itemSet:
An index set with each integer value identifying a pasteboard item positionally in the pasteboard. Pass in
nilto request all pasteboard items.
Return Value
An array of arrays, with each inner array holding the representation types for a particular pasteboard item.