pub unsafe trait UITabBarDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn tabBar_didSelectItem(
&self,
tab_bar: &UITabBar,
item: &UITabBarItem,
)
where Self: Sized + Message { ... }
unsafe fn tabBar_willBeginCustomizingItems(
&self,
tab_bar: &UITabBar,
items: &NSArray<UITabBarItem>,
)
where Self: Sized + Message { ... }
unsafe fn tabBar_didBeginCustomizingItems(
&self,
tab_bar: &UITabBar,
items: &NSArray<UITabBarItem>,
)
where Self: Sized + Message { ... }
unsafe fn tabBar_willEndCustomizingItems_changed(
&self,
tab_bar: &UITabBar,
items: &NSArray<UITabBarItem>,
changed: bool,
)
where Self: Sized + Message { ... }
unsafe fn tabBar_didEndCustomizingItems_changed(
&self,
tab_bar: &UITabBar,
items: &NSArray<UITabBarItem>,
changed: bool,
)
where Self: Sized + Message { ... }
}
Available on crate feature
UITabBar
only.Expand description
Provided Methods§
unsafe fn tabBar_didSelectItem(&self, tab_bar: &UITabBar, item: &UITabBarItem)
Available on crate features
UIBarItem
and UIResponder
and UITabBarItem
and UIView
only.unsafe fn tabBar_willBeginCustomizingItems( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, )
Available on crate features
UIBarItem
and UIResponder
and UITabBarItem
and UIView
only.unsafe fn tabBar_didBeginCustomizingItems( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, )
Available on crate features
UIBarItem
and UIResponder
and UITabBarItem
and UIView
only.unsafe fn tabBar_willEndCustomizingItems_changed( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, changed: bool, )
Available on crate features
UIBarItem
and UIResponder
and UITabBarItem
and UIView
only.unsafe fn tabBar_didEndCustomizingItems_changed( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, changed: bool, )
Available on crate features
UIBarItem
and UIResponder
and UITabBarItem
and UIView
only.Trait Implementations§
Source§impl ProtocolType for dyn UITabBarDelegate
impl ProtocolType for dyn UITabBarDelegate
impl<T> ImplementedBy<T> for dyn UITabBarDelegate
Implementations on Foreign Types§
impl<T> UITabBarDelegate for ProtocolObject<T>where
T: ?Sized + UITabBarDelegate,
Implementors§
impl UITabBarDelegate for UITabBarController
Available on crate feature
UITabBarController
only.