OnboardingFlow

public struct OnboardingFlow

Describes the required OnboardingSteps and the OnboardingContext used with the steps. Before the flow runs, it is the initial context. Afterwards it is the resulting context.

  • The type of flow

    • onboard: onboard flow
    • restore: restore flow
    • background: background flow
    • resetPasscode: reset passcode flow
    • reset: reset flow
    See more

    Declaration

    Swift

    public enum FlowType : Equatable
  • The type of the Onboarding Flow

    Declaration

    Swift

    public let flowType: FlowType
  • The context of the Onboarding Flow

    Declaration

    Swift

    public var context: OnboardingContext
  • The steps that make up the Onboarding Flow

    Declaration

    Swift

    public var steps: [OnboardingStep]
  • Initializer

    Declaration

    Swift

    public init(flowType: FlowType, context: OnboardingContext? = nil, steps: [OnboardingStep])

    Parameters

    flowType

    the type of the Onboarding Flow

    context

    the context of the Onboarding Flow

    steps

    the steps that make up the Onboarding Flow