[][src]Trait uikit_sys::IUIActionSheet

pub trait IUIActionSheet: Sized + Deref {
    unsafe fn initWithTitle_delegate_cancelButtonTitle_destructiveButtonTitle_otherButtonTitles_(
        self,
        title: NSString,
        delegate: *mut u64,
        cancelButtonTitle: NSString,
        destructiveButtonTitle: NSString,
        otherButtonTitles: NSString
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn addButtonWithTitle_(self, title: NSString) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn buttonTitleAtIndex_(self, buttonIndex: NSInteger) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showFromToolbar_(self, view: UIToolbar)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showFromTabBar_(self, view: UITabBar)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showFromBarButtonItem_animated_(
        self,
        item: UIBarButtonItem,
        animated: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showFromRect_inView_animated_(
        self,
        rect: CGRect,
        view: UIView,
        animated: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showInView_(self, view: UIView)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dismissWithClickedButtonIndex_animated_(
        self,
        buttonIndex: NSInteger,
        animated: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn delegate(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDelegate_(self, delegate: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn title(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTitle_(self, title: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn actionSheetStyle(self) -> UIActionSheetStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setActionSheetStyle_(self, actionSheetStyle: UIActionSheetStyle)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn numberOfButtons(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cancelButtonIndex(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCancelButtonIndex_(self, cancelButtonIndex: NSInteger)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn destructiveButtonIndex(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDestructiveButtonIndex_(
        self,
        destructiveButtonIndex: NSInteger
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn firstOtherButtonIndex(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isVisible(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithTitle_delegate_cancelButtonTitle_destructiveButtonTitle_otherButtonTitles_(
    self,
    title: NSString,
    delegate: *mut u64,
    cancelButtonTitle: NSString,
    destructiveButtonTitle: NSString,
    otherButtonTitles: NSString
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn addButtonWithTitle_(self, title: NSString) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn buttonTitleAtIndex_(self, buttonIndex: NSInteger) -> NSString where
    Self::Target: Message + Sized

unsafe fn showFromToolbar_(self, view: UIToolbar) where
    Self::Target: Message + Sized

unsafe fn showFromTabBar_(self, view: UITabBar) where
    Self::Target: Message + Sized

unsafe fn showFromBarButtonItem_animated_(
    self,
    item: UIBarButtonItem,
    animated: BOOL
) where
    Self::Target: Message + Sized

unsafe fn showFromRect_inView_animated_(
    self,
    rect: CGRect,
    view: UIView,
    animated: BOOL
) where
    Self::Target: Message + Sized

unsafe fn showInView_(self, view: UIView) where
    Self::Target: Message + Sized

unsafe fn dismissWithClickedButtonIndex_animated_(
    self,
    buttonIndex: NSInteger,
    animated: BOOL
) where
    Self::Target: Message + Sized

unsafe fn delegate(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setDelegate_(self, delegate: *mut u64) where
    Self::Target: Message + Sized

unsafe fn title(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setTitle_(self, title: NSString) where
    Self::Target: Message + Sized

unsafe fn actionSheetStyle(self) -> UIActionSheetStyle where
    Self::Target: Message + Sized

unsafe fn setActionSheetStyle_(self, actionSheetStyle: UIActionSheetStyle) where
    Self::Target: Message + Sized

unsafe fn numberOfButtons(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn cancelButtonIndex(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn setCancelButtonIndex_(self, cancelButtonIndex: NSInteger) where
    Self::Target: Message + Sized

unsafe fn destructiveButtonIndex(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn setDestructiveButtonIndex_(self, destructiveButtonIndex: NSInteger) where
    Self::Target: Message + Sized

unsafe fn firstOtherButtonIndex(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn isVisible(self) -> BOOL where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIActionSheet for UIActionSheet[src]

Loading content...