DialogMessageViewController
final class DialogMessageViewController : DialogViewController
Dialog with a message label.
Basic alternative to the system UIAlertController.
-
Content view.
Declaration
Swift
let contentView: UIView -
Title label.
Declaration
Swift
let titleLabel: UILabel -
Message label.
Declaration
Swift
let messageLabel: UILabel -
Creates a
DialogMessageViewControllerwith a message label.Note
Alternative to the system
UIAlertController.Declaration
Swift
init(title: String, message: String, successButtonTitle: String? = nil, completion: @escaping (Bool) -> Void)Parameters
titleTitle of the dialog.
successButtonTitleTitle for the success button.
nilby default.completionCompletion handler with the success flag. If it’s
falsethen the dialog was cancelled.
View on GitHub
Install in Dash
DialogMessageViewController Class Reference