Trait UIDocumentPickerDelegate

Source
pub unsafe trait UIDocumentPickerDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn documentPicker_didPickDocumentsAtURLs(
        &self,
        controller: &UIDocumentPickerViewController,
        urls: &NSArray<NSURL>,
    )
       where Self: Sized + Message { ... }
    unsafe fn documentPickerWasCancelled(
        &self,
        controller: &UIDocumentPickerViewController,
    )
       where Self: Sized + Message { ... }
    unsafe fn documentPicker_didPickDocumentAtURL(
        &self,
        controller: &UIDocumentPickerViewController,
        url: &NSURL,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIDocumentPickerViewController only.
Expand description

Provided Methods§

Source

unsafe fn documentPicker_didPickDocumentsAtURLs( &self, controller: &UIDocumentPickerViewController, urls: &NSArray<NSURL>, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn documentPickerWasCancelled( &self, controller: &UIDocumentPickerViewController, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn documentPicker_didPickDocumentAtURL( &self, controller: &UIDocumentPickerViewController, url: &NSURL, )
where Self: Sized + Message,

👎Deprecated
Available on crate features UIResponder and UIViewController only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIDocumentPickerDelegate

Source§

const NAME: &'static str = "UIDocumentPickerDelegate"

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 UIDocumentPickerDelegate

Implementations on Foreign Types§

Source§

impl<T> UIDocumentPickerDelegate for ProtocolObject<T>

Implementors§