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