MimiAlertPresenter
public final class MimiAlertPresenter : MimiAlertPresentable
Alert presenter that will use active MimiAlertPresentable in MimiAppearance theme.
-
Present alert from the currently active Alert Presenter.
Declaration
Swift
@discardableResult public static func present(alert: MimiAlert, from presentingViewController: UIViewController, animated: Bool, completion: (() -> Void)?) -> MimiAlertPresentableParameters
alertAlert to present.
presentingViewControllerView controller to present from.
animatedWhether to animate the presentation.
completionCompletion handler
Return Value
Alert Presenter if successfully presented.
MimiAlertPresenter Class Reference