pub unsafe trait UITextInputDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn selectionWillChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>,
)
where Self: Sized + Message { ... }
fn selectionDidChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>,
)
where Self: Sized + Message { ... }
fn textWillChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>,
)
where Self: Sized + Message { ... }
fn textDidChange(
&self,
text_input: Option<&ProtocolObject<dyn UITextInput>>,
)
where Self: Sized + Message { ... }
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§
fn selectionWillChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
Available on crate feature
UITextInputTraits only.fn selectionDidChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
Available on crate feature
UITextInputTraits only.fn textWillChange(&self, text_input: Option<&ProtocolObject<dyn UITextInput>>)
Available on crate feature
UITextInputTraits only.fn textDidChange(&self, text_input: Option<&ProtocolObject<dyn UITextInput>>)
Available on crate feature
UITextInputTraits only.Sourcefn conversationContext_didChange(
&self,
context: Option<&UIConversationContext>,
text_input: Option<&ProtocolObject<dyn UITextInput>>,
)
Available on crate features UIConversationContext and UITextInputTraits only.
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.