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§
unsafe fn documentViewControllerWillUpdate( &self, document_view_controller: &TVDocumentViewController, )
👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature
objc2-ui-kit only.unsafe fn documentViewControllerDidUpdate( &self, document_view_controller: &TVDocumentViewController, )
👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature
objc2-ui-kit only.Sourceunsafe fn documentViewController_didUpdateWithContext(
&self,
document_view_controller: &TVDocumentViewController,
context: &NSDictionary<NSString, AnyObject>,
)
👎Deprecated: Please use SwiftUI or UIKitAvailable on crate feature objc2-ui-kit only.
unsafe fn documentViewController_didUpdateWithContext( &self, document_view_controller: &TVDocumentViewController, context: &NSDictionary<NSString, AnyObject>, )
objc2-ui-kit only.§Safety
context generic should be of the correct type.
unsafe fn documentViewController_didFailUpdateWithError( &self, document_view_controller: &TVDocumentViewController, error: &NSError, )
👎Deprecated: Please use SwiftUI or UIKit
Available on crate feature
objc2-ui-kit only.unsafe fn documentViewController_handleEvent_withElement( &self, document_view_controller: &TVDocumentViewController, event: &TVDocumentEvent, element: &TVViewElement, ) -> bool
👎Deprecated: Please use SwiftUI or UIKit
Available on crate features
TVViewElement and objc2-ui-kit only.