Trait objc2_ui_kit::UIActionSheetDelegate
source · pub unsafe trait UIActionSheetDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn actionSheet_clickedButtonAtIndex(
&self,
action_sheet: &UIActionSheet,
button_index: NSInteger
)
where Self: Sized + Message { ... }
unsafe fn actionSheetCancel(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message { ... }
unsafe fn willPresentActionSheet(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message { ... }
unsafe fn didPresentActionSheet(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message { ... }
unsafe fn actionSheet_willDismissWithButtonIndex(
&self,
action_sheet: &UIActionSheet,
button_index: NSInteger
)
where Self: Sized + Message { ... }
unsafe fn actionSheet_didDismissWithButtonIndex(
&self,
action_sheet: &UIActionSheet,
button_index: NSInteger
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIActionSheet
only.Provided Methods§
unsafe fn actionSheet_clickedButtonAtIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger )
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder
and UIView
only.unsafe fn actionSheetCancel(&self, action_sheet: &UIActionSheet)
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder
and UIView
only.unsafe fn willPresentActionSheet(&self, action_sheet: &UIActionSheet)
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder
and UIView
only.unsafe fn didPresentActionSheet(&self, action_sheet: &UIActionSheet)
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder
and UIView
only.unsafe fn actionSheet_willDismissWithButtonIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger )
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder
and UIView
only.unsafe fn actionSheet_didDismissWithButtonIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger )
👎Deprecated: Use UIAlertController instead.
Available on crate features
UIResponder
and UIView
only.Trait Implementations§
source§impl ProtocolType for dyn UIActionSheetDelegate
impl ProtocolType for dyn UIActionSheetDelegate
impl<T> ImplementedBy<T> for dyn UIActionSheetDelegate
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.