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
animated
dismiss with animation.
completion
completion after completed dismissing.
-
hide(animated:
Extension method) Dismiss this alert.
Declaration
Swift
public func hide(animated: Bool = true)
Parameters
animated
dismiss with animation.