Instance Method

paste(itemProviders:)

Performs a paste operation on the responder object.

Declaration

optional func paste(itemProviders: [NSItemProvider])

Parameters

itemProviders

An array of NSItemProvider objects.

Discussion

This method performs a paste operation on the responder object, pasting the data provided by specified item providers.

See Also

Performing a Paste Operation

func canPaste([NSItemProvider]) -> Bool

A Boolean value that determines whether the responder object can perform a paste operation using data provided by the item providers.