Index

RBSequenceStep.swift

Classes


RBSequenceStep

A step in a sequence.

Properties

The block to be called when transitioning into the sequence step.
public var initializationBlock RBSequenceStepInitializationBlock? { get }

The block to be called when transitioning out of the sequence step.
public var completionBlock RBSequenceStepCompletionBlock? { get }

The time in seconds to wait after the step has been fully transitioned into.
public var presentationDuration TimeInterval { get }

Whether or not the step is currently active and running.
public var isRunning Bool { get }

Functions

Runs the sequence step by transitioning into the step, waiting for the duration and transitioning out.
@param completion : An optional completion block to be called when the step has completed the final transition out.
@returns Whether or not the transition was run successfully.
public func run(withCompletion completion: @escaping () -> ()?) -> Bool