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

# paste(_:)

This action method pastes text from the general pasteboard at the insertion point or over the selection.

## Declaration

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

## See Also

### Action methods for editing

- [selectAll(_:)](appkit/nstext/selectall(_:).md)
- [copy(_:)](appkit/nstext/copy(_:).md)
- [cut(_:)](appkit/nstext/cut(_:).md)
- [copyFont(_:)](appkit/nstext/copyfont(_:).md)
- [pasteFont(_:)](appkit/nstext/pastefont(_:).md)
- [copyRuler(_:)](appkit/nstext/copyruler(_:).md)
- [pasteRuler(_:)](appkit/nstext/pasteruler(_:).md)
- [delete(_:)](appkit/nstext/delete(_:).md)
