<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIResponderStandardEditActions",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIResponderStandardEditActions"
  },
  "title" : "UIResponderStandardEditActions"
}
-->

# UIResponderStandardEditActions

A set of standard methods that apps can adopt to support editing.

```
@MainActor protocol UIResponderStandardEditActions : NSObjectProtocol
```

## Overview

Responder objects can implement the methods of this protocol to handle standard editing-related actions. For example, a [`UIEditMenuInteraction`](/documentation/UIKit/UIEditMenuInteraction) object displays the actions in an edit menu using these methods. UIKit searches the responder chain for an object that implements the appropriate method, calling the method on the first object that implements it.

## Topics

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

[`cut(_:)`](/documentation/UIKit/UIResponderStandardEditActions/cut(_:))

Removes the selected content and writes the data for it to the pasteboard.

[`copy(_:)`](/documentation/UIKit/UIResponderStandardEditActions/copy(_:))

Copies the selected content to the pasteboard.

[`paste(_:)`](/documentation/UIKit/UIResponderStandardEditActions/paste(_:))

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

[`pasteAndGo(_:)`](/documentation/UIKit/UIResponderStandardEditActions/pasteAndGo(_:))

Pastes the current contents of the pasteboard into your app’s interface and navigates to the entity it references.

[`pasteAndMatchStyle(_:)`](/documentation/UIKit/UIResponderStandardEditActions/pasteAndMatchStyle(_:))

Pastes the current contents of the pasteboard into your app’s interface using the text style of the target.

[`pasteAndSearch(_:)`](/documentation/UIKit/UIResponderStandardEditActions/pasteAndSearch(_:))

Pastes the current contents of the pasteboard into your app’s interface and performs a search.

[`delete(_:)`](/documentation/UIKit/UIResponderStandardEditActions/delete(_:))

Removes the selected content from your interface.

### Handling find and replace commands

[`find(_:)`](/documentation/UIKit/UIResponderStandardEditActions/find(_:))

Begins a search for content in your app’s interface.

[`findNext(_:)`](/documentation/UIKit/UIResponderStandardEditActions/findNext(_:))

Finds the next match in your app’s interface.

[`findPrevious(_:)`](/documentation/UIKit/UIResponderStandardEditActions/findPrevious(_:))

Finds the previous match in your app’s interface.

[`findAndReplace(_:)`](/documentation/UIKit/UIResponderStandardEditActions/findAndReplace(_:))

Begins a search for content in your app’s interface and provides a replacement.

[`useSelectionForFind(_:)`](/documentation/UIKit/UIResponderStandardEditActions/useSelectionForFind(_:))

Begins a search for the selected content in your app’s interface.

### Handling selection commands

[`select(_:)`](/documentation/UIKit/UIResponderStandardEditActions/select(_:))

Selects the content in your responder.

[`selectAll(_:)`](/documentation/UIKit/UIResponderStandardEditActions/selectAll(_:))

Selects all of the content in the current responder.

### Handling data commands

[`duplicate(_:)`](/documentation/UIKit/UIResponderStandardEditActions/duplicate(_:))

Duplicates data.

[`export(_:)`](/documentation/UIKit/UIResponderStandardEditActions/export(_:))

Exports data in different file formats or to other apps.

[`move(_:)`](/documentation/UIKit/UIResponderStandardEditActions/move(_:))

Prompts a person to specify a new location and moves data to that location.

[`rename(_:)`](/documentation/UIKit/UIResponderStandardEditActions/rename(_:))

Changes a title.

### Handling a print command

[`printContent(_:)`](/documentation/UIKit/UIResponderStandardEditActions/printContent(_:))

Tells your app to print available content.

### Handling styled text editing

[`toggleBoldface(_:)`](/documentation/UIKit/UIResponderStandardEditActions/toggleBoldface(_:))

Toggles the bold style information of the selected text.

[`toggleItalics(_:)`](/documentation/UIKit/UIResponderStandardEditActions/toggleItalics(_:))

Toggles the italic style information of the selected text.

[`toggleUnderline(_:)`](/documentation/UIKit/UIResponderStandardEditActions/toggleUnderline(_:))

Toggles the underline style information of the selected text.

### Handling writing direction changes

[`makeTextWritingDirectionLeftToRight(_:)`](/documentation/UIKit/UIResponderStandardEditActions/makeTextWritingDirectionLeftToRight(_:))

Changes the writing direction to left-to-right.

[`makeTextWritingDirectionRightToLeft(_:)`](/documentation/UIKit/UIResponderStandardEditActions/makeTextWritingDirectionRightToLeft(_:))

Changes the writing direction to right-to-left.

### Handling size changes

[`increaseSize(_:)`](/documentation/UIKit/UIResponderStandardEditActions/increaseSize(_:))

Increases the size of the current object by one unit.

[`decreaseSize(_:)`](/documentation/UIKit/UIResponderStandardEditActions/decreaseSize(_:))

Decreases the size of the current object by one unit.

### Handling other text formatting changes

[`updateTextAttributes(conversionHandler:)`](/documentation/UIKit/UIResponderStandardEditActions/updateTextAttributes(conversionHandler:))

Tells your app to update the attributes of the currently selected text.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)