Skip to main content

UIDocumentInteractionControllerDelegate

Trait UIDocumentInteractionControllerDelegate 

Source
pub unsafe trait UIDocumentInteractionControllerDelegate: NSObjectProtocol {
Show 13 methods // Provided methods fn documentInteractionControllerViewControllerForPreview( &self, controller: &UIDocumentInteractionController, ) -> Retained<UIViewController> where Self: Sized + Message { ... } fn documentInteractionControllerRectForPreview( &self, controller: &UIDocumentInteractionController, ) -> CGRect where Self: Sized + Message { ... } fn documentInteractionControllerViewForPreview( &self, controller: &UIDocumentInteractionController, ) -> Option<Retained<UIView>> where Self: Sized + Message { ... } fn documentInteractionControllerWillBeginPreview( &self, controller: &UIDocumentInteractionController, ) where Self: Sized + Message { ... } fn documentInteractionControllerDidEndPreview( &self, controller: &UIDocumentInteractionController, ) where Self: Sized + Message { ... } fn documentInteractionControllerWillPresentOptionsMenu( &self, controller: &UIDocumentInteractionController, ) where Self: Sized + Message { ... } fn documentInteractionControllerDidDismissOptionsMenu( &self, controller: &UIDocumentInteractionController, ) where Self: Sized + Message { ... } fn documentInteractionControllerWillPresentOpenInMenu( &self, controller: &UIDocumentInteractionController, ) where Self: Sized + Message { ... } fn documentInteractionControllerDidDismissOpenInMenu( &self, controller: &UIDocumentInteractionController, ) where Self: Sized + Message { ... } fn documentInteractionController_willBeginSendingToApplication( &self, controller: &UIDocumentInteractionController, application: Option<&NSString>, ) where Self: Sized + Message { ... } fn documentInteractionController_didEndSendingToApplication( &self, controller: &UIDocumentInteractionController, application: Option<&NSString>, ) where Self: Sized + Message { ... } unsafe fn documentInteractionController_canPerformAction( &self, controller: &UIDocumentInteractionController, action: Option<Sel>, ) -> bool where Self: Sized + Message { ... } unsafe fn documentInteractionController_performAction( &self, controller: &UIDocumentInteractionController, action: Option<Sel>, ) -> bool where Self: Sized + Message { ... }
}
Available on crate feature UIDocumentInteractionController only.
Expand description

Provided Methods§

Source

fn documentInteractionControllerViewControllerForPreview( &self, controller: &UIDocumentInteractionController, ) -> Retained<UIViewController>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

fn documentInteractionControllerRectForPreview( &self, controller: &UIDocumentInteractionController, ) -> CGRect
where Self: Sized + Message,

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

fn documentInteractionControllerViewForPreview( &self, controller: &UIDocumentInteractionController, ) -> Option<Retained<UIView>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

fn documentInteractionControllerWillBeginPreview( &self, controller: &UIDocumentInteractionController, )
where Self: Sized + Message,

Source

fn documentInteractionControllerDidEndPreview( &self, controller: &UIDocumentInteractionController, )
where Self: Sized + Message,

Source

fn documentInteractionControllerWillPresentOptionsMenu( &self, controller: &UIDocumentInteractionController, )
where Self: Sized + Message,

Source

fn documentInteractionControllerDidDismissOptionsMenu( &self, controller: &UIDocumentInteractionController, )
where Self: Sized + Message,

Source

fn documentInteractionControllerWillPresentOpenInMenu( &self, controller: &UIDocumentInteractionController, )
where Self: Sized + Message,

Source

fn documentInteractionControllerDidDismissOpenInMenu( &self, controller: &UIDocumentInteractionController, )
where Self: Sized + Message,

Source

fn documentInteractionController_willBeginSendingToApplication( &self, controller: &UIDocumentInteractionController, application: Option<&NSString>, )
where Self: Sized + Message,

Source

fn documentInteractionController_didEndSendingToApplication( &self, controller: &UIDocumentInteractionController, application: Option<&NSString>, )
where Self: Sized + Message,

Source

unsafe fn documentInteractionController_canPerformAction( &self, controller: &UIDocumentInteractionController, action: Option<Sel>, ) -> bool
where Self: Sized + Message,

👎Deprecated
§Safety

action must be a valid selector.

Source

unsafe fn documentInteractionController_performAction( &self, controller: &UIDocumentInteractionController, action: Option<Sel>, ) -> bool
where Self: Sized + Message,

👎Deprecated
§Safety

action must be a valid selector.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIDocumentInteractionControllerDelegate

Source§

impl ProtocolType for dyn UIDocumentInteractionControllerDelegate

Source§

const NAME: &'static str = "UIDocumentInteractionControllerDelegate"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UIDocumentInteractionControllerDelegate for ProtocolObject<T>

Implementors§