<!--
{
  "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

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

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

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

Copies the selected content to the pasteboard.

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

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

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

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

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

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

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

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

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

Removes the selected content from your interface.

### Handling find and replace commands

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

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

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

Finds the next match in your app’s interface.

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

Finds the previous match in your app’s interface.

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

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

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

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

### Handling selection commands

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

Selects the content in your responder.

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

Selects all of the content in the current responder.

### Handling data commands

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

Duplicates data.

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

Exports data in different file formats or to other apps.

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

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

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

Changes a title.

### Handling a print command

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

Tells your app to print available content.

### Handling styled text editing

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

Toggles the bold style information of the selected text.

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

Toggles the italic style information of the selected text.

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

Toggles the underline style information of the selected text.

### Handling writing direction changes

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

Changes the writing direction to left-to-right.

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

Changes the writing direction to right-to-left.

### Handling size changes

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

Increases the size of the current object by one unit.

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

Decreases the size of the current object by one unit.

### Handling other text formatting changes

[`func updateTextAttributes(conversionHandler: ([NSAttributedString.Key : Any]) -> [NSAttributedString.Key : Any])`](/documentation/UIKit/UIResponderStandardEditActions/updateTextAttributes(conversionHandler:))

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

### Instance Methods

[`func alignCenter(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/alignCenter(_:))

[`func alignJustified(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/alignJustified(_:))

[`func alignLeft(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/alignLeft(_:))

[`func alignRight(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/alignRight(_:))

[`func newFromPasteboard(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/newFromPasteboard(_:))

[`func performClose(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/performClose(_:))

[`func showWritingTools(Any)`](/documentation/UIKit/UIResponderStandardEditActions/showWritingTools(_:))

[`func toggleInspector(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/toggleInspector(_:))

[`func toggleSidebar(Any?)`](/documentation/UIKit/UIResponderStandardEditActions/toggleSidebar(_:))

## Relationships

### Conforming Types

[`UIReferenceLibraryViewController`](/documentation/UIKit/UIReferenceLibraryViewController)

[`UICollectionViewListCell`](/documentation/UIKit/UICollectionViewListCell)

[`UIPageControl`](/documentation/UIKit/UIPageControl)

[`UIProgressView`](/documentation/UIKit/UIProgressView)

[`UITableViewCell`](/documentation/UIKit/UITableViewCell)

[`UISearchController`](/documentation/UIKit/UISearchController)

[`UISearchBar`](/documentation/UIKit/UISearchBar)

[`UIScrollView`](/documentation/UIKit/UIScrollView)

[`UISearchTextField`](/documentation/UIKit/UISearchTextField)

[`UIFontPickerViewController`](/documentation/UIKit/UIFontPickerViewController)

[`UISwitch`](/documentation/UIKit/UISwitch)

[`UITableView`](/documentation/UIKit/UITableView)

[`UISearchContainerViewController`](/documentation/UIKit/UISearchContainerViewController)

[`UIBackgroundExtensionView`](/documentation/UIKit/UIBackgroundExtensionView)

[`UITableViewHeaderFooterView`](/documentation/UIKit/UITableViewHeaderFooterView)

[`UITextFormattingViewController`](/documentation/UIKit/UITextFormattingViewController)

[`UIVideoEditorController`](/documentation/UIKit/UIVideoEditorController)

[`UIButton`](/documentation/UIKit/UIButton)

[`UIDocumentMenuViewController`](/documentation/UIKit/UIDocumentMenuViewController)

[`UIAccessibilityElement`](/documentation/UIKit/UIAccessibilityElement)

[`UIListContentView`](/documentation/UIKit/UIListContentView)

[`UIInputViewController`](/documentation/UIKit/UIInputViewController)

[`UIColorWell`](/documentation/UIKit/UIColorWell)

[`UICalendarView`](/documentation/UIKit/UICalendarView)

[`UIDatePicker`](/documentation/UIKit/UIDatePicker)

[`UIActionSheet`](/documentation/UIKit/UIActionSheet)

[`UIActivityIndicatorView`](/documentation/UIKit/UIActivityIndicatorView)

[`UIWindowScene`](/documentation/UIKit/UIWindowScene)

[`UIInputView`](/documentation/UIKit/UIInputView)

[`UIPickerView`](/documentation/UIKit/UIPickerView)

[`UIColorPickerViewController`](/documentation/UIKit/UIColorPickerViewController)

[`UISlider`](/documentation/UIKit/UISlider)

[`UIWebView`](/documentation/UIKit/UIWebView)

[`UITextView`](/documentation/UIKit/UITextView)

[`UIDocumentViewController`](/documentation/UIKit/UIDocumentViewController)

[`UIView`](/documentation/UIKit/UIView)

[`UIVisualEffectView`](/documentation/UIKit/UIVisualEffectView)

[`UIImagePickerController`](/documentation/UIKit/UIImagePickerController)

[`UICollectionReusableView`](/documentation/UIKit/UICollectionReusableView)

[`UIDocumentPickerViewController`](/documentation/UIKit/UIDocumentPickerViewController)

[`UIToolbar`](/documentation/UIKit/UIToolbar)

[`UISplitViewController`](/documentation/UIKit/UISplitViewController)

[`UIRefreshControl`](/documentation/UIKit/UIRefreshControl)

[`UIDocumentPickerExtensionViewController`](/documentation/UIKit/UIDocumentPickerExtensionViewController)

[`UILabel`](/documentation/UIKit/UILabel)

[`UISegmentedControl`](/documentation/UIKit/UISegmentedControl)

[`UIPopoverBackgroundView`](/documentation/UIKit/UIPopoverBackgroundView)

[`UIContentUnavailableView`](/documentation/UIKit/UIContentUnavailableView)

[`UITabBar`](/documentation/UIKit/UITabBar)

[`UIScene`](/documentation/UIKit/UIScene)

[`UIPasteControl`](/documentation/UIKit/UIPasteControl)

[`UIStandardTextCursorView`](/documentation/UIKit/UIStandardTextCursorView)

[`UINavigationController`](/documentation/UIKit/UINavigationController)

[`UICollectionViewController`](/documentation/UIKit/UICollectionViewController)

[`UICollectionView`](/documentation/UIKit/UICollectionView)

[`UITabBarController`](/documentation/UIKit/UITabBarController)

[`UIStepper`](/documentation/UIKit/UIStepper)

[`UIAlertView`](/documentation/UIKit/UIAlertView)

[`UIEventAttributionView`](/documentation/UIKit/UIEventAttributionView)

[`UIApplication`](/documentation/UIKit/UIApplication)

[`UIWindow`](/documentation/UIKit/UIWindow)

[`UIAlertController`](/documentation/UIKit/UIAlertController)

[`UINavigationBar`](/documentation/UIKit/UINavigationBar)

[`UICollectionViewCell`](/documentation/UIKit/UICollectionViewCell)

[`UIImageView`](/documentation/UIKit/UIImageView)

[`UITextField`](/documentation/UIKit/UITextField)

[`UIActivityViewController`](/documentation/UIKit/UIActivityViewController)

[`UIViewController`](/documentation/UIKit/UIViewController)

[`UIDocumentBrowserViewController`](/documentation/UIKit/UIDocumentBrowserViewController)

[`UICloudSharingController`](/documentation/UIKit/UICloudSharingController)

[`UIControl`](/documentation/UIKit/UIControl)

[`UIResponder`](/documentation/UIKit/UIResponder)

[`UITableViewController`](/documentation/UIKit/UITableViewController)

[`UIStackView`](/documentation/UIKit/UIStackView)

[`UIPageViewController`](/documentation/UIKit/UIPageViewController)

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)