---
title: "init(actions:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uiswipeactionsconfiguration/init(actions:)"
---

# init(actions:)

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

## Declaration

```swift
convenience init(actions: [UIContextualAction])
```

## Parameters

- `actions`: The swipe actions to display. The first item in the array represents the outermost action. For example, when the user swipes from right-to-left, the first action is rightmost. The first action is also the default action.

## Return Value

Return Value A newly initialized swipe action configuration object.
