---
title: container
framework: tvservices
role: symbol
role_heading: Instance Property
path: tvservices/tvcontentidentifier/container
---

# container

The container that this content item is contained in.

## Declaration

```swift
@NSCopying var container: TVContentIdentifier? { get }
```

## Discussion

Discussion Typically, this is the content identifier for the next larger grouping that this item is part of. For example, a podcast episode could be part of a larger podcast season, which could in turn be part of an entire podcast series. In this case, all three layers—episodes, seasons, and the series—would need their own unique identifiers. The container value may be nil, in which case this item represents a top-level content item.

## See Also

### Inspecting an Identifier’s Contents

- [identifier](tvservices/tvcontentidentifier/identifier.md)
