Class

TVTopShelfSectionedContent

The set of items you want to present using a section-based interface in the top shelf.

Declaration

@interface TVTopShelfSectionedContent : NSObject

Overview

Create a TVTopShelfSectionedContent object when you want to display your top shelf content using a sectioned interface. A sectioned interface displays a single labled row of items. Items are organized by section. As the row scrolls horizontally through the items, the system updates the label above the items to indicate the current section. You specify the title of each section and its items using TVTopShelfItemCollection objects.

For more information about how to configure images for a sectioned interface, see Human Interface Guidelines.

Topics

Creating a Sectioned Content Object

- initWithSections:

Creates a sectioned content object and populates it with the specified sections.

Getting the Sections

sections

The sections to display in the interface.

Getting the Image Size Information

+ imageSizeForImageShape:

Returns the dimensions to use for images of the specified shape.

TVTopShelfSectionedItemImageShape

Constants indicating the aspect ratio of an image.

Relationships

Inherits From

See Also

Sectioned and Inset Content

TVTopShelfSectionedItem

An item to display in a section-based interface.

TVTopShelfItemCollection

A group of items that you display together in a sectioned interface in the top shelf.

TVTopShelfInsetContent

A set of items to present using an inset-style interface in the top shelf.