Trait objc2_ui_kit::UINavigationBarDelegate

source ·
pub unsafe trait UINavigationBarDelegate: UIBarPositioningDelegate + IsMainThreadOnly {
    // Provided methods
    unsafe fn navigationBar_shouldPushItem(
        &self,
        navigation_bar: &UINavigationBar,
        item: &UINavigationItem
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn navigationBar_didPushItem(
        &self,
        navigation_bar: &UINavigationBar,
        item: &UINavigationItem
    )
       where Self: Sized + Message { ... }
    unsafe fn navigationBar_shouldPopItem(
        &self,
        navigation_bar: &UINavigationBar,
        item: &UINavigationItem
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn navigationBar_didPopItem(
        &self,
        navigation_bar: &UINavigationBar,
        item: &UINavigationItem
    )
       where Self: Sized + Message { ... }
    unsafe fn navigationBarNSToolbarSection(
        &self,
        navigation_bar: &UINavigationBar
    ) -> UINavigationBarNSToolbarSection
       where Self: Sized + Message { ... }
}
Available on crate features UIBarCommon and UINavigationBar only.

Provided Methods§

source

unsafe fn navigationBar_shouldPushItem( &self, navigation_bar: &UINavigationBar, item: &UINavigationItem ) -> bool
where Self: Sized + Message,

Available on crate features UINavigationItem and UIResponder and UIView only.
source

unsafe fn navigationBar_didPushItem( &self, navigation_bar: &UINavigationBar, item: &UINavigationItem )
where Self: Sized + Message,

Available on crate features UINavigationItem and UIResponder and UIView only.
source

unsafe fn navigationBar_shouldPopItem( &self, navigation_bar: &UINavigationBar, item: &UINavigationItem ) -> bool
where Self: Sized + Message,

Available on crate features UINavigationItem and UIResponder and UIView only.
source

unsafe fn navigationBar_didPopItem( &self, navigation_bar: &UINavigationBar, item: &UINavigationItem )
where Self: Sized + Message,

Available on crate features UINavigationItem and UIResponder and UIView only.
source

unsafe fn navigationBarNSToolbarSection( &self, navigation_bar: &UINavigationBar ) -> UINavigationBarNSToolbarSection
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UINavigationBarDelegate

source§

const NAME: &'static str = "UINavigationBarDelegate"

The name of the Objective-C protocol that this type represents.
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 UINavigationBarDelegate

Implementations on Foreign Types§

source§

impl<T> UINavigationBarDelegate for ProtocolObject<T>

Implementors§