Contents

init(actions:)

Initializes a new transaction with the specified actions.

Declaration

init(actions: [CXAction])

Parameters

  • actions:

    The actions to added to the transaction.

Return Value

A new transaction with the specified actions.

Discussion

This initializer is a convenience for using the designated initializer and calling the addAction(_:) method passing each object in actions.

See Also

Creating New Transactions