pub unsafe trait UITabBarDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn tabBar_didSelectItem(&self, tab_bar: &UITabBar, item: &UITabBarItem)
where Self: Sized + Message { ... }
fn tabBar_willBeginCustomizingItems(
&self,
tab_bar: &UITabBar,
items: &NSArray<UITabBarItem>,
)
where Self: Sized + Message { ... }
fn tabBar_didBeginCustomizingItems(
&self,
tab_bar: &UITabBar,
items: &NSArray<UITabBarItem>,
)
where Self: Sized + Message { ... }
fn tabBar_willEndCustomizingItems_changed(
&self,
tab_bar: &UITabBar,
items: &NSArray<UITabBarItem>,
changed: bool,
)
where Self: Sized + Message { ... }
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§
fn tabBar_didSelectItem(&self, tab_bar: &UITabBar, item: &UITabBarItem)
Available on crate features
UIBarItem and UIResponder and UITabBarItem and UIView only.fn tabBar_willBeginCustomizingItems( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, )
Available on crate features
UIBarItem and UIResponder and UITabBarItem and UIView only.fn tabBar_didBeginCustomizingItems( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, )
Available on crate features
UIBarItem and UIResponder and UITabBarItem and UIView only.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.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§
impl<T> ImplementedBy<T> for dyn UITabBarDelegate
Source§impl ProtocolType for dyn UITabBarDelegate
impl ProtocolType for dyn UITabBarDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
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.