Trait UIDocumentMenuDelegate

Source
pub unsafe trait UIDocumentMenuDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn documentMenu_didPickDocumentPicker(
        &self,
        document_menu: &UIDocumentMenuViewController,
        document_picker: &UIDocumentPickerViewController,
    )
       where Self: Sized + Message { ... }
    unsafe 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§

Source

unsafe fn documentMenu_didPickDocumentPicker( &self, document_menu: &UIDocumentMenuViewController, document_picker: &UIDocumentPickerViewController, )
where Self: Sized + Message,

👎Deprecated: UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate features UIDocumentPickerViewController and UIResponder and UIViewController only.
Source

unsafe fn documentMenuWasCancelled( &self, document_menu: &UIDocumentMenuViewController, )
where Self: Sized + Message,

👎Deprecated: UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate features UIResponder and UIViewController only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIDocumentMenuDelegate

Source§

const NAME: &'static str = "UIDocumentMenuDelegate"

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 UIDocumentMenuDelegate

Implementations on Foreign Types§

Source§

impl<T> UIDocumentMenuDelegate for ProtocolObject<T>

Implementors§