Builder
Parameters
lifecycleManagerObserver
The LifecycleManagerObserver to observe lifecycle changes
constructor(viewController: UIViewController, delegateBuilder: (Alert) -> KalugaUIPopoverPresentationControllerDelegateProtocol)
Parameters
viewController
The UIViewController to present any AlertPresenter built using this builder.
delegateBuilder
Method that creates a UIPopoverPresentationControllerDelegateProtocol for an Alert. This allows for presentation of Alert.Style.ACTION_LIST on iPad.
constructor(viewController: UIViewController)
Constructor that returns a DefaultUIPopoverPresentationControllerDelegateProtocol when a presented AlertPresenter requires a KalugaUIPopoverPresentationControllerDelegate.
Parameters
viewController
The UIViewController to present any AlertPresenter built using this builder.