UIPreviewInteractionDelegate

Trait UIPreviewInteractionDelegate 

Source
pub unsafe trait UIPreviewInteractionDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn previewInteraction_didUpdatePreviewTransition_ended(
        &self,
        preview_interaction: &UIPreviewInteraction,
        transition_progress: CGFloat,
        ended: bool,
    )
       where Self: Sized + Message { ... }
    fn previewInteractionDidCancel(
        &self,
        preview_interaction: &UIPreviewInteraction,
    )
       where Self: Sized + Message { ... }
    fn previewInteractionShouldBegin(
        &self,
        preview_interaction: &UIPreviewInteraction,
    ) -> bool
       where Self: Sized + Message { ... }
    fn previewInteraction_didUpdateCommitTransition_ended(
        &self,
        preview_interaction: &UIPreviewInteraction,
        transition_progress: CGFloat,
        ended: bool,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIPreviewInteraction only.
Expand description

Provided Methods§

Source

fn previewInteraction_didUpdatePreviewTransition_ended( &self, preview_interaction: &UIPreviewInteraction, transition_progress: CGFloat, ended: bool, )
where Self: Sized + Message,

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

fn previewInteractionDidCancel( &self, preview_interaction: &UIPreviewInteraction, )
where Self: Sized + Message,

Source

fn previewInteractionShouldBegin( &self, preview_interaction: &UIPreviewInteraction, ) -> bool
where Self: Sized + Message,

Source

fn previewInteraction_didUpdateCommitTransition_ended( &self, preview_interaction: &UIPreviewInteraction, transition_progress: CGFloat, ended: bool, )
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIPreviewInteractionDelegate

Source§

const NAME: &'static str = "UIPreviewInteractionDelegate"

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 UIPreviewInteractionDelegate

Implementations on Foreign Types§

Source§

impl<T> UIPreviewInteractionDelegate for ProtocolObject<T>

Implementors§