pub unsafe trait UIActionSheetDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn actionSheet_clickedButtonAtIndex(
&self,
action_sheet: &UIActionSheet,
button_index: NSInteger,
)
where Self: Sized + Message { ... }
fn actionSheetCancel(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message { ... }
fn willPresentActionSheet(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message { ... }
fn didPresentActionSheet(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message { ... }
fn actionSheet_willDismissWithButtonIndex(
&self,
action_sheet: &UIActionSheet,
button_index: NSInteger,
)
where Self: Sized + Message { ... }
fn actionSheet_didDismissWithButtonIndex(
&self,
action_sheet: &UIActionSheet,
button_index: NSInteger,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIActionSheet only.Expand description
Provided Methods§
fn actionSheet_clickedButtonAtIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger, )
👎Deprecated:
Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn actionSheetCancel(&self, action_sheet: &UIActionSheet)
👎Deprecated:
Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn willPresentActionSheet(&self, action_sheet: &UIActionSheet)
👎Deprecated:
Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn didPresentActionSheet(&self, action_sheet: &UIActionSheet)
👎Deprecated:
Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn actionSheet_willDismissWithButtonIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger, )
👎Deprecated:
Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.fn actionSheet_didDismissWithButtonIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger, )
👎Deprecated:
Use UIAlertController instead.
Available on crate features
UIResponder and UIView only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIActionSheetDelegate
Source§impl ProtocolType for dyn UIActionSheetDelegate
impl ProtocolType for dyn UIActionSheetDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> UIActionSheetDelegate for ProtocolObject<T>where
T: ?Sized + UIActionSheetDelegate,
Implementors§
impl UIActionSheetDelegate for UIDocumentInteractionController
Available on crate feature
UIDocumentInteractionController only.