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§
fn documentInteractionControllerViewControllerForPreview( &self, controller: &UIDocumentInteractionController, ) -> Retained<UIViewController>
Available on crate features
UIResponder and UIViewController only.fn documentInteractionControllerRectForPreview( &self, controller: &UIDocumentInteractionController, ) -> CGRect
Available on crate feature
objc2-core-foundation only.fn documentInteractionControllerViewForPreview( &self, controller: &UIDocumentInteractionController, ) -> Option<Retained<UIView>>
Available on crate features
UIResponder and UIView only.fn documentInteractionControllerWillBeginPreview( &self, controller: &UIDocumentInteractionController, )
fn documentInteractionControllerDidEndPreview( &self, controller: &UIDocumentInteractionController, )
fn documentInteractionControllerWillPresentOptionsMenu( &self, controller: &UIDocumentInteractionController, )
fn documentInteractionControllerDidDismissOptionsMenu( &self, controller: &UIDocumentInteractionController, )
fn documentInteractionControllerWillPresentOpenInMenu( &self, controller: &UIDocumentInteractionController, )
fn documentInteractionControllerDidDismissOpenInMenu( &self, controller: &UIDocumentInteractionController, )
fn documentInteractionController_willBeginSendingToApplication( &self, controller: &UIDocumentInteractionController, application: Option<&NSString>, )
fn documentInteractionController_didEndSendingToApplication( &self, controller: &UIDocumentInteractionController, application: Option<&NSString>, )
Sourceunsafe fn documentInteractionController_canPerformAction(
&self,
controller: &UIDocumentInteractionController,
action: Option<Sel>,
) -> bool
👎Deprecated
unsafe fn documentInteractionController_canPerformAction( &self, controller: &UIDocumentInteractionController, action: Option<Sel>, ) -> bool
§Safety
action must be a valid selector.
Sourceunsafe fn documentInteractionController_performAction(
&self,
controller: &UIDocumentInteractionController,
action: Option<Sel>,
) -> bool
👎Deprecated
unsafe fn documentInteractionController_performAction( &self, controller: &UIDocumentInteractionController, action: Option<Sel>, ) -> bool
§Safety
action must be a valid selector.