Instance Method

initWithActions:

Initializes a new transaction with the specified actions.

Declaration

- (instancetype)initWithActions:(NSArray<CXAction *> *)actions;

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

- initWithAction:

Initializes a new transaction with the specified action.