UIActionSheetDelegate

Trait UIActionSheetDelegate 

Source
pub unsafe trait UIActionSheetDelegate: NSObjectProtocol + MainThreadOnly {
    // 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.
Expand description

Provided Methods§

Source

unsafe fn actionSheet_clickedButtonAtIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger, )
where Self: Sized + Message,

👎Deprecated: Use UIAlertController instead.
Available on crate features UIResponder and UIView only.
Source

unsafe fn actionSheetCancel(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message,

👎Deprecated: Use UIAlertController instead.
Available on crate features UIResponder and UIView only.
Source

unsafe fn willPresentActionSheet(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message,

👎Deprecated: Use UIAlertController instead.
Available on crate features UIResponder and UIView only.
Source

unsafe fn didPresentActionSheet(&self, action_sheet: &UIActionSheet)
where Self: Sized + Message,

👎Deprecated: Use UIAlertController instead.
Available on crate features UIResponder and UIView only.
Source

unsafe fn actionSheet_willDismissWithButtonIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger, )
where Self: Sized + Message,

👎Deprecated: Use UIAlertController instead.
Available on crate features UIResponder and UIView only.
Source

unsafe fn actionSheet_didDismissWithButtonIndex( &self, action_sheet: &UIActionSheet, button_index: NSInteger, )
where Self: Sized + Message,

👎Deprecated: Use UIAlertController instead.
Available on crate features UIResponder and UIView only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIActionSheetDelegate

Source§

const NAME: &'static str = "UIActionSheetDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UIActionSheetDelegate

Implementations on Foreign Types§

Source§

impl<T> UIActionSheetDelegate for ProtocolObject<T>

Implementors§

Source§

impl UIActionSheetDelegate for UIDocumentInteractionController

Available on crate feature UIDocumentInteractionController only.