HideableAlert
public protocol HideableAlert
A protocol to define functions for hideable alert.
-
Undocumented
Declaration
Swift
typealias HideCompletion = () -> Void -
Dismiss this alert.
Declaration
Swift
func hide(animated: Bool, completion: HideCompletion?)Parameters
animateddismiss with animation.
completioncompletion after completed dismissing.
-
hide(animated:Extension method) Dismiss this alert.
Declaration
Swift
public func hide(animated: Bool = true)Parameters
animateddismiss with animation.
View on GitHub
Install in Dash
HideableAlert Protocol Reference