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

Discussion

The delegate to receive transition change events.

Declared In

RBSequenceController.h

  stepCount

The number of steps in the sequence.

@property (nonatomic, readonly) NSUInteger stepCount

Discussion

The number of steps in the sequence.

Declared In

RBSequenceController.h

  stepIndex

The index of the current step in the sequence.

@property (nonatomic, readonly) NSUInteger stepIndex

Discussion

The index of the current step in the sequence.

Declared In

RBSequenceController.h

  automaticStepEnabled

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

@property (nonatomic) BOOL automaticStepEnabled

Discussion

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

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

Discussion

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

Declared In

RBSequenceController.h

  shouldRepeatAtEnd

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

@property (nonatomic) BOOL shouldRepeatAtEnd

Discussion

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

Declared In

RBSequenceController.h

– addStep:

Add a step to the sequence.

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

Parameters

sequenceStep

The RBSequenceStep object to add.

Discussion

Add a step to the sequence.

Declared In

RBSequenceController.h

– start

Starts the sequence.

- (BOOL)start

Return Value

Whether or not the operation completed successfully.

Discussion

Starts the sequence.

Declared In

RBSequenceController.h

– nextStep

Transitions to the next step in the sequence.

- (BOOL)nextStep

Return Value

Whether or not the operation completed successfully.

Discussion

Transitions to the next step in the sequence.

Declared In

RBSequenceController.h

– resetAndRewind

Resets to the first step in the sequence.

- (void)resetAndRewind

Discussion

Resets to the first step in the sequence.

Declared In

RBSequenceController.h