WARNING!
This update might break your existing implementation
-
present(on:completion:)
has been changed.
Previously
present(on viewController: UIViewController? = nil, completion: (() -> Void)? = nil)
Now
present(on viewController: UIViewController, completion: (() -> Void)? = nil)
With this new approach, use this method to present modally on a view controller.
-
present(_:)
added.
present(_ completion: (() -> Void)? = nil)
This method presents the alert on window.
-
dismiss(_:)
added.
dismiss(_ completion: (() -> Void)? = nil)
This method dismisses the alert.
setAttributedTextForMessage(_:)
has been renamed tosetAttributedMessageText(_:)