Class

TVBrowserViewController

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

Declaration

@interface TVBrowserViewController : UIViewController

Overview

Use this class to create a full-screen layout that supports full-screen browsing. This layout includes a built-in parallax effect that is triggered during the transition between cells.

Screenshot of the full screen browser. Hidden cells lie on the left and right side of the currently displayed cell, with edges peeking out.

Topics

Initializing the Browser View Controller

+ viewControllerForElement:

Create a full-screen browser from a specified view element.

Providing the Browser's Data

dataSource

The object that provides data to the full-screen browser.

TVBrowserViewControllerDataSource

Methods adopted by the object you use to represent the browser view.

Managing Interactions with the Browser

delegate

The object that acts as the delegate and handles callbacks for the browser view.

TVBrowserViewControllerDelegate

Methods for detecting events and performing actions on the browser view.

Modifying the Browser Appearance

cornerRadius

The corner radius, in points, of each full-screen browser item.

interitemSpacing

The spacing between full-screen browser items.

maskInset

The amount by which the content of the cell is inset.

Accessing Browser Elements

centeredViewElement

The full screen browser item that is currently centered on the screen.

viewElement

The view element that the full screen browser is constructed from.

Managing Browser Transitions

TVBrowserTransitionAnimator

An object that provides animations to and from the full screen browser.

Relationships

Inherits From

See Also

Views and View Controllers

TVViewElement

A representation of a read-only DOM node.

TVInterfaceCreating

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

TVInterfaceFactory

A factory for the creation of views and view controllers.

TVDocumentViewController

A view controller that represents a TVMLKit document.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software