CLASS
HaapiFlow
Contents
- Methods
start(from:haapiUIKitApplication:haapiDeepLinkManageable:animated:nibName:bundle:)
public class HaapiFlow
Haapi's helper object.
Methods
start(from:haapiUIKitApplication:haapiDeepLinkManageable:animated:nibName:bundle:)
public static func start(from presentedViewController: HaapiFlowResultViewController,
haapiUIKitApplication: HaapiUIKitApplication,
haapiDeepLinkManageable: HaapiDeepLinkManageable?,
animated: Bool = true,
nibName nibNameOrNil: String? = "HaapiFlowViewController",
bundle nibBundleOrNil: Bundle? = Bundle(for: HaapiFlowViewController.self)) throws
Starts the haapi flow from presentedViewController
.
- Parameters:
- from: The presented view controller that implements
HaapiFlowResultViewController
. - haapiUIKitApplication: An HaapiUIKitApplication.
- haapiDeepLinkManageable: An HaapiDeepLinkManageable for deep link.
- animated: Specify true to animate the transition or false if you do not want the transition to be animated. You might specify false if you are setting up the navigation controller at launch time.
- nibName:A nib name.
- bundle: A specified bundle.
- from: The presented view controller that implements
- Note: Only for UIKit.
- Throws:
HaapiUIKitError.illegalState
if there is no UINavigationcontroller for thepresentedViewController
orHaapiError
if the configuration is incorrect.
Parameters
Name | Description |
---|---|
from | The presented view controller that implements HaapiFlowResultViewController . |
haapiUIKitApplication | An HaapiUIKitApplication. |
haapiDeepLinkManageable | An HaapiDeepLinkManageable for deep link. |
animated | Specify true to animate the transition or false if you do not want the transition to be animated. You might specify false if you are setting up the navigation controller at launch time. |
nibName | A nib name. |
bundle | A specified bundle. |