RSDStepController

public protocol RSDStepController : AnyObject, NSObjectProtocol

RSDStepController handles default implementations for running a step in a task.

  • A pointer to the step with the model information used to display and run the step. The implementation of the task controller should set this pointer before displaying the step controller by calling setStep(_ step: RSDStep, with parent: RSDPathComponent?).

    Declaration

    Swift

    var stepViewModel: RSDStepViewPathComponent! { get set }
  • Callback from the task controller called on the current step controller when loading is finished and the task is ready to continue.

    Declaration

    Swift

    func didFinishLoading()
  • Navigates forward to the next step.

    Declaration

    Swift

    func goForward()
  • Navigates backward to the previous step.

    Declaration

    Swift

    func goBack()
  • taskController Extension method

    Pointer back to the task controller that is displaying the step controller.

    Declaration

    Swift

    public var taskController: RSDTaskController? { get }