TVDocumentViewControllerDelegate

Trait TVDocumentViewControllerDelegate 

Source
pub unsafe trait TVDocumentViewControllerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn documentViewControllerWillUpdate(
        &self,
        document_view_controller: &TVDocumentViewController,
    )
       where Self: Sized + Message { ... }
    unsafe fn documentViewControllerDidUpdate(
        &self,
        document_view_controller: &TVDocumentViewController,
    )
       where Self: Sized + Message { ... }
    unsafe fn documentViewController_didUpdateWithContext(
        &self,
        document_view_controller: &TVDocumentViewController,
        context: &NSDictionary<NSString, AnyObject>,
    )
       where Self: Sized + Message { ... }
    unsafe fn documentViewController_didFailUpdateWithError(
        &self,
        document_view_controller: &TVDocumentViewController,
        error: &NSError,
    )
       where Self: Sized + Message { ... }
    unsafe fn documentViewController_handleEvent_withElement(
        &self,
        document_view_controller: &TVDocumentViewController,
        event: &TVDocumentEvent,
        element: &TVViewElement,
    ) -> bool
       where Self: Sized + Message { ... }
}
👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature TVDocumentViewController only.
Expand description

Provided Methods§

Source

unsafe fn documentViewControllerWillUpdate( &self, document_view_controller: &TVDocumentViewController, )
where Self: Sized + Message,

👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature objc2-ui-kit only.
Source

unsafe fn documentViewControllerDidUpdate( &self, document_view_controller: &TVDocumentViewController, )
where Self: Sized + Message,

👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature objc2-ui-kit only.
Source

unsafe fn documentViewController_didUpdateWithContext( &self, document_view_controller: &TVDocumentViewController, context: &NSDictionary<NSString, AnyObject>, )
where Self: Sized + Message,

👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature objc2-ui-kit only.
§Safety

context generic should be of the correct type.

Source

unsafe fn documentViewController_didFailUpdateWithError( &self, document_view_controller: &TVDocumentViewController, error: &NSError, )
where Self: Sized + Message,

👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature objc2-ui-kit only.
Source

unsafe fn documentViewController_handleEvent_withElement( &self, document_view_controller: &TVDocumentViewController, event: &TVDocumentEvent, element: &TVViewElement, ) -> bool
where Self: Sized + Message,

👎Deprecated: Please use SwiftUI or UIKit
Available on crate features TVViewElement and objc2-ui-kit only.

Trait Implementations§

Source§

impl ProtocolType for dyn TVDocumentViewControllerDelegate

Source§

const NAME: &'static str = "TVDocumentViewControllerDelegate"

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 TVDocumentViewControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> TVDocumentViewControllerDelegate for ProtocolObject<T>

Implementors§