Skip to main content

UIDocumentPickerDelegate

Trait UIDocumentPickerDelegate 

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

Provided Methods§

Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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<T> ImplementedBy<T> for dyn UIDocumentPickerDelegate

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UIDocumentPickerDelegate for ProtocolObject<T>

Implementors§