Class

TVElementFactory

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

Declaration

@interface TVElementFactory : NSObject

Overview

You must register new elements before initializing a TVApplicationController object.

Topics

Registering New Elements

+ registerViewElementClass:forElementName:

Registers a view element for the specified element name.

Relationships

Inherits From

See Also

Custom Elements

TVImageElement

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

TVTextElement

The textual content for the DOM element.

Creating TVML Elements

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