DialogViewController
class DialogViewController : WSPopupViewController
Generic and reusable dialog view controller. Takes an input view and place it in the container.
-
Assign a customizable style.
Declaration
Swift
@Published var style: DialogStyle { get set } -
Action assigned to the success button.
Declaration
Swift
var successAction: DialogAction { get set } -
Action assigned to the abort button.
Declaration
Swift
var abortAction: DialogAction { get set } -
Creates a
DialogViewControllerwith a list of items of typeTand other parameters.Declaration
Swift
init(contentView: UIView, success: DialogAction? = nil, abort: DialogAction? = nil)Parameters
contentViewUnderlying content view of base type
UIViewfor this instance.successDialogActionto be used to configure right button.abortDialogActionto be used to configure left button.
View on GitHub
Install in Dash
DialogViewController Class Reference