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


protocol TVInterfaceCreating


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


Retrieving Resource Information

func resourceImage(name: String) -> UIImage?

Returns the image for the given resource

func resourceURL(name: String) -> URL?

Returns a URL for the given resource.

Updating View Information


Inherits From

Conforming Types

See Also

Views and View Controllers

class TVViewElement

A representation of a read-only DOM node.

class TVInterfaceFactory

A factory for the creation of views and view controllers.

Creating hybrid applications with Document Service based View Controllers

Create view controllers that show TVMLKit content in a native application through the use of Document view controllers that are fulfilled through a Javascript based service.