UIToolTipInteractionDelegate

Trait UIToolTipInteractionDelegate 

Source
pub unsafe trait UIToolTipInteractionDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided method
    fn toolTipInteraction_configurationAtPoint(
        &self,
        interaction: &UIToolTipInteraction,
        point: CGPoint,
    ) -> Option<Retained<UIToolTipConfiguration>>
       where Self: Sized + Message { ... }
}
Available on crate feature UIToolTipInteraction only.
Expand description

Provided Methods§

Source

fn toolTipInteraction_configurationAtPoint( &self, interaction: &UIToolTipInteraction, point: CGPoint, ) -> Option<Retained<UIToolTipConfiguration>>
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Called when the interaction is about to begin.

Parameter interaction: This UIToolTipInteraction.

Returns: The tool tip configuration containing the string and rectangle for this interaction. Return nil if the interaction is inactive or the hit test fails.

Trait Implementations§

Source§

impl ProtocolType for dyn UIToolTipInteractionDelegate

Source§

const NAME: &'static str = "UIToolTipInteractionDelegate"

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 UIToolTipInteractionDelegate

Implementations on Foreign Types§

Source§

impl<T> UIToolTipInteractionDelegate for ProtocolObject<T>

Implementors§