Skip to content

CLASS

WorkflowUIViewController

open class WorkflowUIViewController: UIViewController

Ancestor type from which all ViewControllers in WorkflowUI inherit.

Properties

hasViewAppeared

public private(set) final var hasViewAppeared: Bool = false

Set to true once viewDidAppear has been called

Methods

sendObservationEvent(_:)

public final func sendObservationEvent<E: WorkflowUIEvent>(
    _ event: @autoclosure () -> E
)

Observation event emission point. - Parameter event: The event forwarded to any observers.

Parameters

Name Description
event The event forwarded to any observers.

viewWillAppear(_:)

override open func viewWillAppear(_ animated: Bool)

viewDidAppear(_:)

override open func viewDidAppear(_ animated: Bool)

viewWillDisappear(_:)

override open func viewWillDisappear(_ animated: Bool)

viewDidDisappear(_:)

override open func viewDidDisappear(_ animated: Bool)

viewWillLayoutSubviews()

override open func viewWillLayoutSubviews()

viewDidLayoutSubviews()

override open func viewDidLayoutSubviews()