Stepper

public protocol Stepper

a Stepper has only one purpose is: emits Steps that correspond to specific navigation states. The Step changes lead to navigation actions in the context of a specific Flow

  • the relay used to emit steps inside this Stepper

    Declaration

    Swift

    var steps: PublishRelay<Step> { get }
  • initialStep Default implementation

    the initial step that will be emitted when listening to this Stepper

    Default Implementation

    Declaration

    Swift

    var initialStep: Step { get }
  • readyToEmitSteps() Default implementation

    function called when stepper is listened by the FlowCoordinator

    Default Implementation

    Declaration

    Swift

    func readyToEmitSteps()