NatDialogBuilder
public protocol NatDialogBuilder : AnyObject
A protocol to build the Dialog component
-
Undocumented
Declaration
Swift
var viewModel: NatDialogController.ViewModel { get } -
Undocumented
Declaration
Swift
var buttonsConfiguration: (primary: DialogButtonConfiguration?, secondary: DialogButtonConfiguration?) { get } -
build()Extension methodThe builder function to the Dialog component. Should be used with other configurable builders to set the Dialog’s properties.
Declaration
Swift
public func build() -> NatDialogControllerReturn Value
a Dialog