Instance Method

moveActionAtIndex:toIndex:

Moves the action from the specified start position to the specified end position in the receiving workflow.

Declaration

- (void)moveActionAtIndex:(NSUInteger)startIndex toIndex:(NSUInteger)endIndex;

Parameters

startIndex

The start position of the action to move.

endIndex

The end position for the action that is moved.

Discussion

If either index is invalid, this method does nothing.

See Also

Manipulating the workflow’s actions

- addAction:

Adds the specified action at the end of the receiving workflow.

- insertAction:atIndex:

Inserts the specified action at the specified position of the receiving workflow.

- removeAction:

Removes the specified action from the receiver.