RBSequenceController Class Reference

Inherits from NSObject
Declared in RBSequenceController.h

Overview

Manages a sequence of transitions.

  delegate

The delegate to receive transition change events.

@property (nonatomic, weak, nullable) id<RBSequenceControllerDelegate> delegate

Declared In

RBSequenceController.h

  stepCount

The number of steps in the sequence.

@property (nonatomic, readonly) NSUInteger stepCount

Declared In

RBSequenceController.h

  stepIndex

The index of the current step in the sequence.

@property (nonatomic, readonly) NSUInteger stepIndex

Declared In

RBSequenceController.h

  automaticStepEnabled

Whether or not the controller should automatically move to the next step.

@property (nonatomic) BOOL automaticStepEnabled

Declared In

RBSequenceController.h

  automaticStepDelay

The delay that the controller should observe between a step being completed and transitioning to the next step.

@property (nonatomic) NSTimeInterval automaticStepDelay

Declared In

RBSequenceController.h

  shouldRepeatAtEnd

Whether or not the controller should automatically repeat the sequence when it finishes.

@property (nonatomic) BOOL shouldRepeatAtEnd

Declared In

RBSequenceController.h

– addStep:

Add a step to the sequence.

- (void)addStep:(nonnull RBSequenceStep *)sequenceStep

Parameters

sequenceStep

The RBSequenceStep object to add.

Declared In

RBSequenceController.h

– start

Starts the sequence.

- (BOOL)start

Return Value

Whether or not the operation completed successfully.

Declared In

RBSequenceController.h

– nextStep

Transitions to the next step in the sequence.

- (BOOL)nextStep

Return Value

Whether or not the operation completed successfully.

Declared In

RBSequenceController.h

– resetAndRewind

Resets to the first step in the sequence.

- (void)resetAndRewind

Declared In

RBSequenceController.h