CLASS

HaapiFlowViewController

Contents

swift
public class HaapiFlowViewController: UIViewController,
                                      HaapiFlowViewControllerDelegate,
                                      StyleAppliable,
                                      HaapiFlowDeepLinkable,
                                      DebugLayout

A view controller that specializes in managing the haapi flow.

Properties

debugDescription

swift
override public var debugDescription: String

Methods

init(haapiUIKitApplication:haapiFlowResult:haapiDeepLinkManageable:nibName:bundle:notificationCenter:)

swift
public convenience init(haapiUIKitApplication: HaapiUIKitApplication,
                        haapiFlowResult: HaapiFlowResult?,
                        haapiDeepLinkManageable: HaapiDeepLinkManageable?,
                        nibName nibNameOrNil: String? = "HaapiFlowViewController",
                        bundle nibBundleOrNil: Bundle? = Bundle(for: HaapiFlowViewController.self),
                        notificationCenter: NotificationCenter = NotificationCenter.default) throws

Initialises a new HaapiFlowViewController.

Parameters

Name Description
haapiUIKitApplication An HaapiUIKitApplication
haapiFlowResult The callback instance on which to deliver the result from the Haapi flow.
haapiDeepLinkManageable The deeplink manager reference.
nibName A nib name.
bundle A specified bundle.
notificationCenter the instance of NotificationCenter that is to be used for notification observation.

deinit

swift
deinit

viewDidLoad()

swift
override public func viewDidLoad()

viewWillAppear(_:)

swift
override public func viewWillAppear(_ animated: Bool)

viewWillDisappear(_:)

swift
override public func viewWillDisappear(_ animated: Bool)

canHandleUrl(_:)

swift
public func canHandleUrl(_ url: URL) -> Bool

handleUrl(_:)

swift
public func handleUrl(_ url: URL)