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§

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.

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.
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 features UIResponder and UIViewController and UIInputViewController only.