pub unsafe trait UITextInputDelegate: NSObjectProtocol + MainThreadOnly {
// 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 { ... }
unsafe fn conversationContext_didChange(
&self,
context: Option<&UIConversationContext>,
text_input: Option<&ProtocolObject<dyn UITextInput>>,
)
where Self: Sized + Message { ... }
}
Available on crate feature
UITextInput
only.Expand description
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.Sourceunsafe fn conversationContext_didChange(
&self,
context: Option<&UIConversationContext>,
text_input: Option<&ProtocolObject<dyn UITextInput>>,
)
Available on crate features UIConversationContext
and UITextInputTraits
only.
unsafe fn conversationContext_didChange( &self, context: Option<&UIConversationContext>, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
UIConversationContext
and UITextInputTraits
only.Tells the input delegate when text has changed in the input object for a conversation.
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 feature
UIInputViewController
only.