Contents

init(action:)

Initializes a new transaction with the specified action.

Declaration

convenience init(action: CXAction)

Parameters

  • action:

    The action to add to the transaction.

Return Value

A new transaction with the specified action.

Discussion

This initializer is a convenience for using the designated initializer and calling the addAction(_:) method passing action.

See Also

Creating New Transactions