CLASS
HaapiFlowViewController
Contents
- Properties
debugDescription
- Methods
init(haapiUIKitApplication:haapiFlowResult:haapiDeepLinkManageable:nibName:bundle:notificationCenter:)
deinit
viewDidLoad()
viewWillAppear(_:)
viewWillDisappear(_:)
canHandleUrl(_:)
handleUrl(_:)
public class HaapiFlowViewController: UIViewController,
HaapiFlowViewControllerDelegate,
StyleAppliable,
HaapiFlowDeepLinkable,
DebugLayout
A view controller that specializes in managing the haapi flow.
Properties
debugDescription
override public var debugDescription: String
Methods
init(haapiUIKitApplication:haapiFlowResult:haapiDeepLinkManageable:nibName:bundle:notificationCenter:)
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:
- 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.
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
deinit
viewDidLoad()
override public func viewDidLoad()
viewWillAppear(_:)
override public func viewWillAppear(_ animated: Bool)
viewWillDisappear(_:)
override public func viewWillDisappear(_ animated: Bool)
canHandleUrl(_:)
public func canHandleUrl(_ url: URL) -> Bool
handleUrl(_:)
public func handleUrl(_ url: URL)