Trait UITextInputDelegate

Source
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§

Source

unsafe fn selectionWillChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
where Self: Sized + Message,

Available on crate feature UITextInputTraits only.
Source

unsafe fn selectionDidChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
where Self: Sized + Message,

Available on crate feature UITextInputTraits only.
Source

unsafe fn textWillChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
where Self: Sized + Message,

Available on crate feature UITextInputTraits only.
Source

unsafe fn textDidChange( &self, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
where Self: Sized + Message,

Available on crate feature UITextInputTraits only.
Source

unsafe fn conversationContext_didChange( &self, context: Option<&UIConversationContext>, text_input: Option<&ProtocolObject<dyn UITextInput>>, )
where Self: Sized + Message,

Available on crate features 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

Source§

const NAME: &'static str = "UITextInputDelegate"

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 UITextInputDelegate

Implementations on Foreign Types§

Source§

impl<T> UITextInputDelegate for ProtocolObject<T>

Implementors§

Source§

impl UITextInputDelegate for UIInputViewController

Available on crate feature UIInputViewController only.