pub unsafe trait UISearchTextFieldDelegate: UITextFieldDelegate + IsMainThreadOnly {
// Provided methods
unsafe fn searchTextField_itemProviderForCopyingToken(
&self,
search_text_field: &UISearchTextField,
token: &UISearchToken
) -> Retained<NSItemProvider>
where Self: Sized + Message { ... }
unsafe fn searchTextField_didSelectSuggestion(
&self,
search_text_field: &UISearchTextField,
suggestion: &ProtocolObject<dyn UISearchSuggestion>
)
where Self: Sized + Message { ... }
}
Available on crate features
UISearchTextField
and UITextField
only.Provided Methods§
unsafe fn searchTextField_itemProviderForCopyingToken( &self, search_text_field: &UISearchTextField, token: &UISearchToken ) -> Retained<NSItemProvider>
Available on crate features
UIControl
and UIResponder
and UIView
only.unsafe fn searchTextField_didSelectSuggestion( &self, search_text_field: &UISearchTextField, suggestion: &ProtocolObject<dyn UISearchSuggestion> )
Available on crate features
UIControl
and UIResponder
and UISearchSuggestion
and UIView
only.