CLASS

FormViewController

Contents

open class FormViewController: BaseViewController<FormModel, FormViewControllerStyle>

A UIViewController instance that is capable of displaying a FormModel presenting a list of Messages a list of InteractionItemModel and list of Links from which the user can select one. Actions are submitted using delegation callback via HaapiFlowViewControllerDelegatereference stored in haapiFlowViewControllerDelegate property.

Methods

init(_:style:commonStyle:)

override public init(
    _ model: any FormModel,
    style: FormViewControllerStyle,
    commonStyle: HaapiUIViewControllerStyle
)

init(coder:)

deinit

deinit

viewDidLoad()

override open func viewDidLoad()

handleProblemModel(_:)

override public func handleProblemModel(_ problemModel: ProblemModel) -> Bool

handleFormModel(_:)

override public func handleFormModel(_ formModel: FormModel) -> Bool

stopLoading()

override public func stopLoading()

hasLoading()

override public func hasLoading() -> Bool

apply(style:)

override public func apply(style: FormViewControllerStyle)