[][src]Trait uikit_sys::IUISearchBar

pub trait IUISearchBar: Sized + Deref {
    unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithFrame_(self, frame: CGRect) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShowsCancelButton_animated_(
        self,
        showsCancelButton: BOOL,
        animated: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShowsScopeBar_animated_(self, show: BOOL, animate: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackgroundImage_forBarPosition_barMetrics_(
        self,
        backgroundImage: UIImage,
        barPosition: UIBarPosition,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundImageForBarPosition_barMetrics_(
        self,
        barPosition: UIBarPosition,
        barMetrics: UIBarMetrics
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSearchFieldBackgroundImage_forState_(
        self,
        backgroundImage: UIImage,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn searchFieldBackgroundImageForState_(
        self,
        state: UIControlState
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setImage_forSearchBarIcon_state_(
        self,
        iconImage: UIImage,
        icon: UISearchBarIcon,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageForSearchBarIcon_state_(
        self,
        icon: UISearchBarIcon,
        state: UIControlState
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setScopeBarButtonBackgroundImage_forState_(
        self,
        backgroundImage: UIImage,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn scopeBarButtonBackgroundImageForState_(
        self,
        state: UIControlState
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setScopeBarButtonDividerImage_forLeftSegmentState_rightSegmentState_(
        self,
        dividerImage: UIImage,
        leftState: UIControlState,
        rightState: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn scopeBarButtonDividerImageForLeftSegmentState_rightSegmentState_(
        self,
        leftState: UIControlState,
        rightState: UIControlState
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setScopeBarButtonTitleTextAttributes_forState_(
        self,
        attributes: NSDictionary,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn scopeBarButtonTitleTextAttributesForState_(
        self,
        state: UIControlState
    ) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPositionAdjustment_forSearchBarIcon_(
        self,
        adjustment: UIOffset,
        icon: UISearchBarIcon
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn positionAdjustmentForSearchBarIcon_(
        self,
        icon: UISearchBarIcon
    ) -> UIOffset
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn barStyle(self) -> UIBarStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBarStyle_(self, barStyle: UIBarStyle)
    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 text(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setText_(self, text: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn prompt(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPrompt_(self, prompt: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn placeholder(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPlaceholder_(self, placeholder: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showsBookmarkButton(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShowsBookmarkButton_(self, showsBookmarkButton: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn searchTextField(self) -> UISearchTextField
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showsCancelButton(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShowsCancelButton_(self, showsCancelButton: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showsSearchResultsButton(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShowsSearchResultsButton_(self, showsSearchResultsButton: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isSearchResultsButtonSelected(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSearchResultsButtonSelected_(
        self,
        searchResultsButtonSelected: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn inputAssistantItem(self) -> UITextInputAssistantItem
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tintColor(self) -> UIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTintColor_(self, tintColor: UIColor)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn barTintColor(self) -> UIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBarTintColor_(self, barTintColor: UIColor)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn searchBarStyle(self) -> UISearchBarStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSearchBarStyle_(self, searchBarStyle: UISearchBarStyle)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isTranslucent(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTranslucent_(self, translucent: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn scopeButtonTitles(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setScopeButtonTitles_(self, scopeButtonTitles: NSArray)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn selectedScopeButtonIndex(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSelectedScopeButtonIndex_(
        self,
        selectedScopeButtonIndex: NSInteger
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showsScopeBar(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShowsScopeBar_(self, showsScopeBar: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn inputAccessoryView(self) -> UIView
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setInputAccessoryView_(self, inputAccessoryView: UIView)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundImage(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackgroundImage_(self, backgroundImage: UIImage)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn scopeBarBackgroundImage(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setScopeBarBackgroundImage_(
        self,
        scopeBarBackgroundImage: UIImage
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn searchFieldBackgroundPositionAdjustment(self) -> UIOffset
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSearchFieldBackgroundPositionAdjustment_(
        self,
        searchFieldBackgroundPositionAdjustment: UIOffset
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn searchTextPositionAdjustment(self) -> UIOffset
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSearchTextPositionAdjustment_(
        self,
        searchTextPositionAdjustment: UIOffset
    )
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithFrame_(self, frame: CGRect) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype where
    Self::Target: Message + Sized

unsafe fn setShowsCancelButton_animated_(
    self,
    showsCancelButton: BOOL,
    animated: BOOL
) where
    Self::Target: Message + Sized

unsafe fn setShowsScopeBar_animated_(self, show: BOOL, animate: BOOL) where
    Self::Target: Message + Sized

unsafe fn setBackgroundImage_forBarPosition_barMetrics_(
    self,
    backgroundImage: UIImage,
    barPosition: UIBarPosition,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn backgroundImageForBarPosition_barMetrics_(
    self,
    barPosition: UIBarPosition,
    barMetrics: UIBarMetrics
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setSearchFieldBackgroundImage_forState_(
    self,
    backgroundImage: UIImage,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn searchFieldBackgroundImageForState_(
    self,
    state: UIControlState
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setImage_forSearchBarIcon_state_(
    self,
    iconImage: UIImage,
    icon: UISearchBarIcon,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn imageForSearchBarIcon_state_(
    self,
    icon: UISearchBarIcon,
    state: UIControlState
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setScopeBarButtonBackgroundImage_forState_(
    self,
    backgroundImage: UIImage,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn scopeBarButtonBackgroundImageForState_(
    self,
    state: UIControlState
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setScopeBarButtonDividerImage_forLeftSegmentState_rightSegmentState_(
    self,
    dividerImage: UIImage,
    leftState: UIControlState,
    rightState: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn scopeBarButtonDividerImageForLeftSegmentState_rightSegmentState_(
    self,
    leftState: UIControlState,
    rightState: UIControlState
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setScopeBarButtonTitleTextAttributes_forState_(
    self,
    attributes: NSDictionary,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn scopeBarButtonTitleTextAttributesForState_(
    self,
    state: UIControlState
) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn setPositionAdjustment_forSearchBarIcon_(
    self,
    adjustment: UIOffset,
    icon: UISearchBarIcon
) where
    Self::Target: Message + Sized

unsafe fn positionAdjustmentForSearchBarIcon_(
    self,
    icon: UISearchBarIcon
) -> UIOffset where
    Self::Target: Message + Sized

unsafe fn barStyle(self) -> UIBarStyle where
    Self::Target: Message + Sized

unsafe fn setBarStyle_(self, barStyle: UIBarStyle) 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 text(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setText_(self, text: NSString) where
    Self::Target: Message + Sized

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

unsafe fn setPrompt_(self, prompt: NSString) where
    Self::Target: Message + Sized

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

unsafe fn setPlaceholder_(self, placeholder: NSString) where
    Self::Target: Message + Sized

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

unsafe fn setShowsBookmarkButton_(self, showsBookmarkButton: BOOL) where
    Self::Target: Message + Sized

unsafe fn searchTextField(self) -> UISearchTextField where
    Self::Target: Message + Sized

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

unsafe fn setShowsCancelButton_(self, showsCancelButton: BOOL) where
    Self::Target: Message + Sized

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

unsafe fn setShowsSearchResultsButton_(self, showsSearchResultsButton: BOOL) where
    Self::Target: Message + Sized

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

unsafe fn setSearchResultsButtonSelected_(
    self,
    searchResultsButtonSelected: BOOL
) where
    Self::Target: Message + Sized

unsafe fn inputAssistantItem(self) -> UITextInputAssistantItem where
    Self::Target: Message + Sized

unsafe fn tintColor(self) -> UIColor where
    Self::Target: Message + Sized

unsafe fn setTintColor_(self, tintColor: UIColor) where
    Self::Target: Message + Sized

unsafe fn barTintColor(self) -> UIColor where
    Self::Target: Message + Sized

unsafe fn setBarTintColor_(self, barTintColor: UIColor) where
    Self::Target: Message + Sized

unsafe fn searchBarStyle(self) -> UISearchBarStyle where
    Self::Target: Message + Sized

unsafe fn setSearchBarStyle_(self, searchBarStyle: UISearchBarStyle) where
    Self::Target: Message + Sized

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

unsafe fn setTranslucent_(self, translucent: BOOL) where
    Self::Target: Message + Sized

unsafe fn scopeButtonTitles(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn setScopeButtonTitles_(self, scopeButtonTitles: NSArray) where
    Self::Target: Message + Sized

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

unsafe fn setSelectedScopeButtonIndex_(
    self,
    selectedScopeButtonIndex: NSInteger
) where
    Self::Target: Message + Sized

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

unsafe fn setShowsScopeBar_(self, showsScopeBar: BOOL) where
    Self::Target: Message + Sized

unsafe fn inputAccessoryView(self) -> UIView where
    Self::Target: Message + Sized

unsafe fn setInputAccessoryView_(self, inputAccessoryView: UIView) where
    Self::Target: Message + Sized

unsafe fn backgroundImage(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setBackgroundImage_(self, backgroundImage: UIImage) where
    Self::Target: Message + Sized

unsafe fn scopeBarBackgroundImage(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setScopeBarBackgroundImage_(self, scopeBarBackgroundImage: UIImage) where
    Self::Target: Message + Sized

unsafe fn searchFieldBackgroundPositionAdjustment(self) -> UIOffset where
    Self::Target: Message + Sized

unsafe fn setSearchFieldBackgroundPositionAdjustment_(
    self,
    searchFieldBackgroundPositionAdjustment: UIOffset
) where
    Self::Target: Message + Sized

unsafe fn searchTextPositionAdjustment(self) -> UIOffset where
    Self::Target: Message + Sized

unsafe fn setSearchTextPositionAdjustment_(
    self,
    searchTextPositionAdjustment: UIOffset
) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUISearchBar for UISearchBar[src]

Loading content...