---
title: TVTopShelfSectionedContent
framework: tvservices
role: symbol
role_heading: Class
path: tvservices/tvtopshelfsectionedcontent
---

# TVTopShelfSectionedContent

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

## Declaration

```swift
class TVTopShelfSectionedContent
```

## Overview

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

- [init(sections:)](tvservices/tvtopshelfsectionedcontent/init(sections:).md)

### Getting the Sections

- [sections](tvservices/tvtopshelfsectionedcontent/sections.md)

### Getting the Image Size Information

- [imageSize(for:)](tvservices/tvtopshelfsectionedcontent/imagesize(for:).md)
- [TVTopShelfSectionedItem.ImageShape](tvservices/tvtopshelfsectioneditem/imageshape-swift.enum.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [TVTopShelfContent](tvservices/tvtopshelfcontent.md)

## See Also

### Sectioned and inset content

- [TVTopShelfSectionedItem](tvservices/tvtopshelfsectioneditem.md)
- [TVTopShelfItemCollection](tvservices/tvtopshelfitemcollection.md)
- [TVTopShelfInsetContent](tvservices/tvtopshelfinsetcontent.md)
