pub unsafe trait UIViewControllerPreviewingDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn previewingContext_viewControllerForLocation(
        &self,
        previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>,
        location: CGPoint
    ) -> Option<Retained<UIViewController>>
       where Self: Sized + Message { ... }
    unsafe fn previewingContext_commitViewController(
        &self,
        previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>,
        view_controller_to_commit: &UIViewController
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIViewController only.

Provided Methods§

source

unsafe fn previewingContext_viewControllerForLocation( &self, previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>, location: CGPoint ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

👎Deprecated: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
Available on crate feature UIResponder only.
source

unsafe fn previewingContext_commitViewController( &self, previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>, view_controller_to_commit: &UIViewController )
where Self: Sized + Message,

👎Deprecated: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
Available on crate feature UIResponder only.

Trait Implementations§

source§

impl ProtocolType for dyn UIViewControllerPreviewingDelegate

source§

const NAME: &'static str = "UIViewControllerPreviewingDelegate"

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 UIViewControllerPreviewingDelegate

Implementations on Foreign Types§

source§

impl<T> UIViewControllerPreviewingDelegate for ProtocolObject<T>

Implementors§