Trait objc2_ui_kit::UIWebViewDelegate

source ·
pub unsafe trait UIWebViewDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn webView_shouldStartLoadWithRequest_navigationType(
        &self,
        web_view: &UIWebView,
        request: &NSURLRequest,
        navigation_type: UIWebViewNavigationType
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn webViewDidStartLoad(&self, web_view: &UIWebView)
       where Self: Sized + Message { ... }
    unsafe fn webViewDidFinishLoad(&self, web_view: &UIWebView)
       where Self: Sized + Message { ... }
    unsafe fn webView_didFailLoadWithError(
        &self,
        web_view: &UIWebView,
        error: &NSError
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIWebView only.

Provided Methods§

source

unsafe fn webView_shouldStartLoadWithRequest_navigationType( &self, web_view: &UIWebView, request: &NSURLRequest, navigation_type: UIWebViewNavigationType ) -> bool
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.
source

unsafe fn webViewDidStartLoad(&self, web_view: &UIWebView)
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.
source

unsafe fn webViewDidFinishLoad(&self, web_view: &UIWebView)
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.
source

unsafe fn webView_didFailLoadWithError( &self, web_view: &UIWebView, error: &NSError )
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UIWebViewDelegate

source§

const NAME: &'static str = "UIWebViewDelegate"

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 UIWebViewDelegate

Implementations on Foreign Types§

source§

impl<T> UIWebViewDelegate for ProtocolObject<T>

Implementors§