pub unsafe trait UIDocumentMenuDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn documentMenu_didPickDocumentPicker(
&self,
document_menu: &UIDocumentMenuViewController,
document_picker: &UIDocumentPickerViewController,
)
where Self: Sized + Message { ... }
fn documentMenuWasCancelled(
&self,
document_menu: &UIDocumentMenuViewController,
)
where Self: Sized + Message { ... }
}👎Deprecated:
UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate feature
UIDocumentMenuViewController only.Expand description
Provided Methods§
fn documentMenu_didPickDocumentPicker( &self, document_menu: &UIDocumentMenuViewController, document_picker: &UIDocumentPickerViewController, )
👎Deprecated:
UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate features
UIDocumentPickerViewController and UIResponder and UIViewController only.fn documentMenuWasCancelled(&self, document_menu: &UIDocumentMenuViewController)
👎Deprecated:
UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate features
UIResponder and UIViewController only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIDocumentMenuDelegate
Source§impl ProtocolType for dyn UIDocumentMenuDelegate
impl ProtocolType for dyn UIDocumentMenuDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".