Instance Method

canPaste(_:)

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

Declaration

optional func canPaste(_ itemProviders: [NSItemProvider]) -> Bool

Parameters

itemProviders

An array of NSItemProvider objects.

Return Value

true if the responder object can perform a paste operation using specified item providers; otherwise, false.

See Also

Performing a Paste Operation

func paste(itemProviders: [NSItemProvider])

Performs a paste operation on the responder object.