OnboardingFlowProviding
public protocol OnboardingFlowProviding : AnyObject
Implementers should provide the proper flow. When different flows are supported then the implementer has to decide what kind of flow should be used. In case of restore and reset the OnboardingID helps to decide which flow was used during the onboard.
-
Provides a flow for the given onboarding controller
Declaration
Swift
func flow(for onboardingController: OnboardingControlling, flowType: OnboardingFlow.FlowType, completionHandler: @escaping (OnboardingFlow?, Error?) -> Void)Parameters
onboardingControllertarget onboarding controller
flowTypetype of the flow
completionHandlerclosure called on completion