UITextInteractionDelegate

Trait UITextInteractionDelegate 

Source
pub unsafe trait UITextInteractionDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn interactionShouldBegin_atPoint(
        &self,
        interaction: &UITextInteraction,
        point: CGPoint,
    ) -> bool
       where Self: Sized + Message { ... }
    fn interactionWillBegin(&self, interaction: &UITextInteraction)
       where Self: Sized + Message { ... }
    fn interactionDidEnd(&self, interaction: &UITextInteraction)
       where Self: Sized + Message { ... }
}
Available on crate feature UITextInteraction only.
Expand description

Provided Methods§

Source

fn interactionShouldBegin_atPoint( &self, interaction: &UITextInteraction, point: CGPoint, ) -> bool
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn interactionWillBegin(&self, interaction: &UITextInteraction)
where Self: Sized + Message,

Source

fn interactionDidEnd(&self, interaction: &UITextInteraction)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn UITextInteractionDelegate

Source§

const NAME: &'static str = "UITextInteractionDelegate"

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 UITextInteractionDelegate

Implementations on Foreign Types§

Source§

impl<T> UITextInteractionDelegate for ProtocolObject<T>

Implementors§