Contents

init(actions:)

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

Declaration

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

A newly initialized swipe action configuration object.