FlowContributors

public enum FlowContributors

FlowContributors represent the next things that will trigger navigation actions inside a Flow

  • multiple: several FlowContributors will contribute to the Flow
  • one: only one FlowContributor will contribute to the Flow (see the FlowContributor enum)
  • end: represents the dismissal of this Flow, forwarding the given step to the parent Flow
  • none: no further navigation will be triggered
  • triggerParentFlow: same as .one(flowContributor: .forwardToParentFlow(withStep: Step)). It is deprecated.
  • a Flow will trigger several FlowContributor at the same time for the same Step

    Declaration

    Swift

    case multiple(flowContributors: [FlowContributor])
  • a Flow will trigger only one FlowContributor for a Step

    Declaration

    Swift

    case one(flowContributor: FlowContributor)
  • a Flow will trigger a special FlowContributor that represents the dismissal of this Flow

    Declaration

    Swift

    case end(forwardToParentFlowWithStep: Step)
  • no further navigation will be triggered for a Step

    Declaration

    Swift

    case none
  • same as .one(flowContributor: .forwardToParentFlow(withStep: Step)). Should not be used anymore

    Declaration

    Swift

    case triggerParentFlow(withStep: Step)