pub unsafe trait UIAlertViewDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn alertView_clickedButtonAtIndex(
&self,
alert_view: &UIAlertView,
button_index: NSInteger,
)
where Self: Sized + Message { ... }
fn alertViewCancel(&self, alert_view: &UIAlertView)
where Self: Sized + Message { ... }
fn willPresentAlertView(&self, alert_view: &UIAlertView)
where Self: Sized + Message { ... }
fn didPresentAlertView(&self, alert_view: &UIAlertView)
where Self: Sized + Message { ... }
fn alertView_willDismissWithButtonIndex(
&self,
alert_view: &UIAlertView,
button_index: NSInteger,
)
where Self: Sized + Message { ... }
fn alertView_didDismissWithButtonIndex(
&self,
alert_view: &UIAlertView,
button_index: NSInteger,
)
where Self: Sized + Message { ... }
fn alertViewShouldEnableFirstOtherButton(
&self,
alert_view: &UIAlertView,
) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
UIAlertView only.Expand description
Provided Methods§
fn alertView_clickedButtonAtIndex( &self, alert_view: &UIAlertView, button_index: NSInteger, )
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn alertViewCancel(&self, alert_view: &UIAlertView)
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn willPresentAlertView(&self, alert_view: &UIAlertView)
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn didPresentAlertView(&self, alert_view: &UIAlertView)
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn alertView_willDismissWithButtonIndex( &self, alert_view: &UIAlertView, button_index: NSInteger, )
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn alertView_didDismissWithButtonIndex( &self, alert_view: &UIAlertView, button_index: NSInteger, )
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn alertViewShouldEnableFirstOtherButton( &self, alert_view: &UIAlertView, ) -> bool
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.