UITabBarDelegate

Trait UITabBarDelegate 

Source
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§

Source

unsafe fn tabBar_didSelectItem(&self, tab_bar: &UITabBar, item: &UITabBarItem)
where Self: Sized + Message,

Available on crate features UIBarItem and UIResponder and UITabBarItem and UIView only.
Source

unsafe fn tabBar_willBeginCustomizingItems( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, )
where Self: Sized + Message,

Available on crate features UIBarItem and UIResponder and UITabBarItem and UIView only.
Source

unsafe fn tabBar_didBeginCustomizingItems( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, )
where Self: Sized + Message,

Available on crate features UIBarItem and UIResponder and UITabBarItem and UIView only.
Source

unsafe fn tabBar_willEndCustomizingItems_changed( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, changed: bool, )
where Self: Sized + Message,

Available on crate features UIBarItem and UIResponder and UITabBarItem and UIView only.
Source

unsafe fn tabBar_didEndCustomizingItems_changed( &self, tab_bar: &UITabBar, items: &NSArray<UITabBarItem>, changed: bool, )
where Self: Sized + Message,

Available on crate features UIBarItem and UIResponder and UITabBarItem and UIView only.

Trait Implementations§

Source§

impl ProtocolType for dyn UITabBarDelegate

Source§

const NAME: &'static str = "UITabBarDelegate"

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 UITabBarDelegate

Implementations on Foreign Types§

Source§

impl<T> UITabBarDelegate for ProtocolObject<T>
where T: ?Sized + UITabBarDelegate,

Implementors§

Source§

impl UITabBarDelegate for UITabBarController

Available on crate feature UITabBarController only.