---
title: TVTopShelfItemCollection
framework: tvservices
role: symbol
role_heading: Class
path: tvservices/tvtopshelfitemcollection
---

# TVTopShelfItemCollection

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

## Declaration

```swift
class TVTopShelfItemCollection<Item> where Item : TVTopShelfItem
```

## Overview

Overview Use a TVTopShelfItemCollection object to organize related groups of items in a sectioned interface. The system presents the items in your collection together, displaying the title of the collection above those items. For example, you might create different collections for new movies, the user’s favorites, and recently watched movies.

## Topics

### Creating an Item Collection

- [init(items:)](tvservices/tvtopshelfitemcollection/init(items:).md)

### Getting the Items

- [items](tvservices/tvtopshelfitemcollection/items.md)

## Relationships

### Inherits From

- [TVTopShelfObject](tvservices/tvtopshelfobject.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)

## See Also

### Sectioned and inset content

- [TVTopShelfSectionedItem](tvservices/tvtopshelfsectioneditem.md)
- [TVTopShelfSectionedContent](tvservices/tvtopshelfsectionedcontent.md)
- [TVTopShelfInsetContent](tvservices/tvtopshelfinsetcontent.md)
