Trait objc2_ui_kit::UISearchDisplayDelegate

source ยท
pub unsafe trait UISearchDisplayDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn searchDisplayControllerWillBeginSearch(
        &self,
        controller: &UISearchDisplayController
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayControllerDidBeginSearch(
        &self,
        controller: &UISearchDisplayController
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayControllerWillEndSearch(
        &self,
        controller: &UISearchDisplayController
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayControllerDidEndSearch(
        &self,
        controller: &UISearchDisplayController
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_didLoadSearchResultsTableView(
        &self,
        controller: &UISearchDisplayController,
        table_view: &UITableView
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_willUnloadSearchResultsTableView(
        &self,
        controller: &UISearchDisplayController,
        table_view: &UITableView
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_willShowSearchResultsTableView(
        &self,
        controller: &UISearchDisplayController,
        table_view: &UITableView
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_didShowSearchResultsTableView(
        &self,
        controller: &UISearchDisplayController,
        table_view: &UITableView
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_willHideSearchResultsTableView(
        &self,
        controller: &UISearchDisplayController,
        table_view: &UITableView
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_didHideSearchResultsTableView(
        &self,
        controller: &UISearchDisplayController,
        table_view: &UITableView
    )
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_shouldReloadTableForSearchString(
        &self,
        controller: &UISearchDisplayController,
        search_string: Option<&NSString>
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn searchDisplayController_shouldReloadTableForSearchScope(
        &self,
        controller: &UISearchDisplayController,
        search_option: NSInteger
    ) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature UISearchDisplayController only.

Provided Methodsยง

source

unsafe fn searchDisplayControllerWillBeginSearch( &self, controller: &UISearchDisplayController )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

unsafe fn searchDisplayControllerDidBeginSearch( &self, controller: &UISearchDisplayController )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

unsafe fn searchDisplayControllerWillEndSearch( &self, controller: &UISearchDisplayController )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

unsafe fn searchDisplayControllerDidEndSearch( &self, controller: &UISearchDisplayController )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

unsafe fn searchDisplayController_didLoadSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate features UIResponder and UIScrollView and UITableView and UIView only.
source

unsafe fn searchDisplayController_willUnloadSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate features UIResponder and UIScrollView and UITableView and UIView only.
source

unsafe fn searchDisplayController_willShowSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate features UIResponder and UIScrollView and UITableView and UIView only.
source

unsafe fn searchDisplayController_didShowSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate features UIResponder and UIScrollView and UITableView and UIView only.
source

unsafe fn searchDisplayController_willHideSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate features UIResponder and UIScrollView and UITableView and UIView only.
source

unsafe fn searchDisplayController_didHideSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate features UIResponder and UIScrollView and UITableView and UIView only.
source

unsafe fn searchDisplayController_shouldReloadTableForSearchString( &self, controller: &UISearchDisplayController, search_string: Option<&NSString> ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

unsafe fn searchDisplayController_shouldReloadTableForSearchScope( &self, controller: &UISearchDisplayController, search_option: NSInteger ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated

Trait Implementationsยง

sourceยง

impl ProtocolType for dyn UISearchDisplayDelegate

sourceยง

const NAME: &'static str = "UISearchDisplayDelegate"

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 UISearchDisplayDelegate

Implementations on Foreign Typesยง

sourceยง

impl<T> UISearchDisplayDelegate for ProtocolObject<T>

Implementorsยง