Class

TVElementFactory

An object used to register new elements to extend the Apple TV Markup Language (TVML).

Declaration

class TVElementFactory : NSObject

Overview

You must register new elements before initializing a TVApplicationController object.

Topics

Registering New Elements

class func registerViewElementClass(AnyClass, elementName: String)

Registers a view element for the specified element name.

Relationships

Inherits From

Conforms To

See Also

Custom Elements

class TVImageElement

A representation of a read-only DOM node containing the attributes that describe an image element.

class TVTextElement

The textual content for the DOM element.

Creating TVML Elements

Avoid rewriting complex and often used elements by creating a simplified custom element.