EXTENSION

HaapiFlow

public extension HaapiFlow

Methods

start(_:haapiUIKitApplication:haapiDeepLinkManageable:nibName:bundle:notificationCenter:)

static func start(_ haapiFlowResult: HaapiFlowResult,
                  haapiUIKitApplication: HaapiUIKitApplication,
                  haapiDeepLinkManageable: HaapiDeepLinkManageable?,
                  nibName nibNameOrNil: String? = "HaapiFlowViewController",
                  bundle nibBundleOrNil: Bundle? = Bundle(for: HaapiFlowViewController.self),
                  notificationCenter: NotificationCenter = NotificationCenter.default)
-> some View

Starts the Haapi flow by returning some View.

Parameters

Name Description
haapiFlowResult An HaapiFlowResult that receives a result from the Haapi flow.
haapiUIKitApplication An HaapiUIKitApplication.
haapiDeepLinkManageable An HaapiDeepLinkManageable for deep link.
nibName A nib name.
bundle A specified bundle.
notificationCenter the instance of NotificationCenter that will mediate SwiftUI <> UIKit notification flow