---
title: "paste(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiresponderstandardeditactions/paste(_:)"
---

# paste(_:)

Pastes the current contents of the pasteboard into your app’s interface.

## Declaration

```swift
optional func paste(_ sender: Any?)
```

## Parameters

- `sender`: The object calling this method.

## Mentioned in

Using responders and the responder chain to handle events

## Discussion

Discussion UIKit calls this method when the user selects the Paste command from an editing menu. Your implementation should read the data from the pasteboard and add the resulting content to your interface.

## See Also

### Handling copy, cut, paste, and delete commands

- [cut(_:)](uikit/uiresponderstandardeditactions/cut(_:).md)
- [copy(_:)](uikit/uiresponderstandardeditactions/copy(_:).md)
- [pasteAndGo(_:)](uikit/uiresponderstandardeditactions/pasteandgo(_:).md)
- [pasteAndMatchStyle(_:)](uikit/uiresponderstandardeditactions/pasteandmatchstyle(_:).md)
- [pasteAndSearch(_:)](uikit/uiresponderstandardeditactions/pasteandsearch(_:).md)
- [delete(_:)](uikit/uiresponderstandardeditactions/delete(_:).md)
