<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISwipeActionsConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISwipeActionsConfiguration"
  },
  "title" : "UISwipeActionsConfiguration"
}
-->

# UISwipeActionsConfiguration

The set of actions to perform when swiping on rows of a table.

```
@MainActor class UISwipeActionsConfiguration
```

## Overview

Create a [`UISwipeActionsConfiguration`](/documentation/UIKit/UISwipeActionsConfiguration) object to associate custom swipe actions with a row of your table view. Users swipe horizontally left or right in a table view to reveal the actions associated with a row. Each swipe-actions object contains the set of actions to display for each type of swipe.

To add custom actions to your table view’s rows, implement the [`tableView(_:leadingSwipeActionsConfigurationForRowAt:)`](/documentation/UIKit/UITableViewDelegate/tableView(_:leadingSwipeActionsConfigurationForRowAt:)) or [`tableView(_:trailingSwipeActionsConfigurationForRowAt:)`](/documentation/UIKit/UITableViewDelegate/tableView(_:trailingSwipeActionsConfigurationForRowAt:)) method of your table view’s delegate. In those methods, create and return the actions for the indicated row. The table displays your action buttons and executes the appropriate handler block when the user taps one of them.

## Topics

### Initializing the swipe actions

[`+  configurationWithActions:`](/documentation/UIKit/UISwipeActionsConfiguration/init(actions:))

Creates a swipe action configuration object with the specified set of actions.

### Getting the swipe action information

[`actions`](/documentation/UIKit/UISwipeActionsConfiguration/actions)

The swipe actions.

[`performsFirstActionWithFullSwipe`](/documentation/UIKit/UISwipeActionsConfiguration/performsFirstActionWithFullSwipe)

A Boolean value indicating whether a full swipe automatically performs the first action.

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

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

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)