<!--
{
  "availability" : [
    "tvOS: 9.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVInterfaceCreating",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:objc(pl)TVInterfaceCreating"
  },
  "title" : "TVInterfaceCreating"
}
-->

# TVInterfaceCreating

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

```
protocol TVInterfaceCreating : NSObjectProtocol
```

## Overview

This protocol contains methods used to create views and view controllers from a [`TVViewElement`](/documentation/TVMLKit/TVViewElement).

## Topics

### Retrieving Resource Information

[`resourceImage(name:)`](/documentation/TVMLKit/TVInterfaceCreating/resourceImage(name:))

Returns the image for the given resource

[`resourceURL(name:)`](/documentation/TVMLKit/TVInterfaceCreating/resourceURL(name:))

Returns a URL for the given resource.

### Updating View Information

[`makeViewController(element:existingViewController:)`](/documentation/TVMLKit/TVInterfaceCreating/makeViewController(element:existingViewController:))

Returns a view controller for a view element.

[`makeView(element:existingView:)`](/documentation/TVMLKit/TVInterfaceCreating/makeView(element:existingView:))

Returns a view for a view element.

[`collectionViewCellClass(for:)`](/documentation/TVMLKit/TVInterfaceCreating/collectionViewCellClass(for:))

Returns a collection view cell for the specified element.

[`playerViewController(for:)`](/documentation/TVMLKit/TVInterfaceCreating/playerViewController(for:))

Returns the custom player user interface for a custom player.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)