UISearchResultsUpdating

Trait UISearchResultsUpdating 

Source
pub unsafe trait UISearchResultsUpdating: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn updateSearchResultsForSearchController(
        &self,
        search_controller: &UISearchController,
    )
       where Self: Sized + Message { ... }
    fn updateSearchResultsForSearchController_selectingSearchSuggestion(
        &self,
        search_controller: &UISearchController,
        search_suggestion: &ProtocolObject<dyn UISearchSuggestion>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UISearchController only.
Expand description

Provided Methods§

Source

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

Available on crate features UIResponder and UIViewController only.
Source

fn updateSearchResultsForSearchController_selectingSearchSuggestion( &self, search_controller: &UISearchController, search_suggestion: &ProtocolObject<dyn UISearchSuggestion>, )
where Self: Sized + Message,

Available on crate features UIResponder and UISearchSuggestion and UIViewController only.

Trait Implementations§

Source§

impl ProtocolType for dyn UISearchResultsUpdating

Source§

const NAME: &'static str = "UISearchResultsUpdating"

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 UISearchResultsUpdating

Implementations on Foreign Types§

Source§

impl<T> UISearchResultsUpdating for ProtocolObject<T>

Implementors§