Trait objc2_ui_kit::UITextInputDelegate
source · pub unsafe trait UITextInputDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn selectionWillChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>
)
where Self: Sized + Message { ... }
unsafe fn selectionDidChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>
)
where Self: Sized + Message { ... }
unsafe fn textWillChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>
)
where Self: Sized + Message { ... }
unsafe fn textDidChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>
)
where Self: Sized + Message { ... }
}
Available on crate feature
UITextInput
only.Provided Methods§
unsafe fn selectionWillChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>> )
Available on crate feature
UITextInputTraits
only.unsafe fn selectionDidChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>> )
Available on crate feature
UITextInputTraits
only.unsafe fn textWillChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>> )
Available on crate feature
UITextInputTraits
only.unsafe fn textDidChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>> )
Available on crate feature
UITextInputTraits
only.Trait Implementations§
source§impl ProtocolType for dyn UITextInputDelegate
impl ProtocolType for dyn UITextInputDelegate
impl<T> ImplementedBy<T> for dyn UITextInputDelegate
Implementations on Foreign Types§
impl<T> UITextInputDelegate for ProtocolObject<T>where
T: ?Sized + UITextInputDelegate,
Implementors§
impl UITextInputDelegate for UIInputViewController
Available on crate features
UIResponder
and UIViewController
and UIInputViewController
only.