Protocol

TVInterfaceCreating

A protocol that defines methods used to create views and view controllers.

Declaration

@protocol TVInterfaceCreating

Overview

This protocol contains methods used to create views and view controllers from a TVViewElement.

Topics

Retrieving Resource Information

- imageForResource:

Returns the image for the given resource

- URLForResource:

Returns a URL for the given resource.

Updating View Information

- viewControllerForElement:existingViewController:

Returns a view controller for a view element.

- viewForElement:existingView:

Returns a view for a view element.

- collectionViewCellClassForElement:

Returns a collection view cell for the specified element.

- playerViewControllerForPlayer:

Returns the custom player user interface for a custom player.

Relationships

Inherits From

Conforming Types

See Also

Views and View Controllers

TVViewElement

A representation of a read-only DOM node.

TVInterfaceFactory

A factory for the creation of views and view controllers.

TVBrowserViewController

A view controller that presents content in a browsable, full-screen format.

TVDocumentViewController

A view controller that represents a TVMLKit document.