Instance Method

collectionViewCellClassForElement:

Returns a collection view cell for the specified element.

Declaration

- (Class)collectionViewCellClassForElement:(TVViewElement *)element;

Parameters

element

The element a collection view cell is created for.

Return Value

The new collection view cell associated with the given element name.

Discussion

The collection view cell must be in a list, shelf, or grid. This method is called once per unique element name as a common cell class is used for all elements that share the same name in a collection. Return nil for default handling.

See Also

Updating View Information

- viewControllerForElement:existingViewController:

Returns a view controller for a view element.

- viewForElement:existingView:

Returns a view for a view element.

- playerViewControllerForPlayer:

Returns the custom player user interface for a custom player.