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§
fn documentPicker_didPickDocumentsAtURLs( &self, controller: &UIDocumentPickerViewController, urls: &NSArray<NSURL>, )
Available on crate features
UIResponder and UIViewController only.fn documentPickerWasCancelled( &self, controller: &UIDocumentPickerViewController, )
Available on crate features
UIResponder and UIViewController only.fn documentPicker_didPickDocumentAtURL( &self, controller: &UIDocumentPickerViewController, url: &NSURL, )
👎Deprecated
Available on crate features
UIResponder and UIViewController only.Trait Implementations§
Source§impl ProtocolType for dyn UIDocumentPickerDelegate
impl ProtocolType for dyn UIDocumentPickerDelegate
impl<T> ImplementedBy<T> for dyn UIDocumentPickerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".