Trait objc2_ui_kit::UISearchControllerDelegate

source ·
pub unsafe trait UISearchControllerDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn willPresentSearchController(
        &self,
        search_controller: &UISearchController
    )
       where Self: Sized + Message { ... }
    unsafe fn didPresentSearchController(
        &self,
        search_controller: &UISearchController
    )
       where Self: Sized + Message { ... }
    unsafe fn willDismissSearchController(
        &self,
        search_controller: &UISearchController
    )
       where Self: Sized + Message { ... }
    unsafe fn didDismissSearchController(
        &self,
        search_controller: &UISearchController
    )
       where Self: Sized + Message { ... }
    unsafe fn presentSearchController(
        &self,
        search_controller: &UISearchController
    )
       where Self: Sized + Message { ... }
    unsafe fn searchController_willChangeToSearchBarPlacement(
        &self,
        search_controller: &UISearchController,
        new_placement: UINavigationItemSearchBarPlacement
    )
       where Self: Sized + Message { ... }
    unsafe fn searchController_didChangeFromSearchBarPlacement(
        &self,
        search_controller: &UISearchController,
        previous_placement: UINavigationItemSearchBarPlacement
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UISearchController only.

Provided Methods§

source

unsafe fn willPresentSearchController( &self, search_controller: &UISearchController )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn didPresentSearchController( &self, search_controller: &UISearchController )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn willDismissSearchController( &self, search_controller: &UISearchController )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn didDismissSearchController( &self, search_controller: &UISearchController )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn presentSearchController(&self, search_controller: &UISearchController)
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn searchController_willChangeToSearchBarPlacement( &self, search_controller: &UISearchController, new_placement: UINavigationItemSearchBarPlacement )
where Self: Sized + Message,

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

unsafe fn searchController_didChangeFromSearchBarPlacement( &self, search_controller: &UISearchController, previous_placement: UINavigationItemSearchBarPlacement )
where Self: Sized + Message,

Available on crate features UINavigationItem and UIResponder and UIViewController only.

Trait Implementations§

source§

impl ProtocolType for dyn UISearchControllerDelegate

source§

const NAME: &'static str = "UISearchControllerDelegate"

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 UISearchControllerDelegate

Implementations on Foreign Types§

source§

impl<T> UISearchControllerDelegate for ProtocolObject<T>

Implementors§