Trait objc2_ui_kit::UIDocumentMenuDelegate

source ·
pub unsafe trait UIDocumentMenuDelegate: NSObjectProtocol + IsMainThreadOnly {
    // 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.

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.
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§