RPPreviewViewControllerDelegate

Trait RPPreviewViewControllerDelegate 

Source
pub unsafe trait RPPreviewViewControllerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn previewControllerDidFinish(
        &self,
        preview_controller: &RPPreviewViewController,
    )
       where Self: Sized + Message { ... }
    unsafe fn previewController_didFinishWithActivityTypes(
        &self,
        preview_controller: &RPPreviewViewController,
        activity_types: &NSSet<NSString>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature RPPreviewViewController only.
Expand description

Provided Methods§

Source

unsafe fn previewControllerDidFinish( &self, preview_controller: &RPPreviewViewController, )
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
Source

unsafe fn previewController_didFinishWithActivityTypes( &self, preview_controller: &RPPreviewViewController, activity_types: &NSSet<NSString>, )
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.

Trait Implementations§

Source§

impl ProtocolType for dyn RPPreviewViewControllerDelegate

Source§

const NAME: &'static str = "RPPreviewViewControllerDelegate"

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 RPPreviewViewControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> RPPreviewViewControllerDelegate for ProtocolObject<T>

Implementors§