<!--
{
  "availability" : [
    "tvOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TVServices",
  "identifier" : "/documentation/TVServices/TVTopShelfItemCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "TV Services"
    ],
    "preciseIdentifier" : "c:objc(cs)TVTopShelfItemCollection"
  },
  "title" : "TVTopShelfItemCollection"
}
-->

# TVTopShelfItemCollection

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

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

## Overview

Use a [`TVTopShelfItemCollection`](/documentation/TVServices/TVTopShelfItemCollection) object to organize related groups of items in a sectioned interface. The system presents the items in your collection together, displaying the [`title`](/documentation/TVServices/TVTopShelfObject/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: [Item])`](/documentation/TVServices/TVTopShelfItemCollection/init(items:))

Creates an item collection object from the specified set of top shelf items.

### Getting the Items

[`var items: [Item]`](/documentation/TVServices/TVTopShelfItemCollection/items)

The items in the collection.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`TVTopShelfObject`](/documentation/TVServices/TVTopShelfObject)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)