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

# init(identifier:)

Creates a top shelf item with the specified identifier.

```
init(identifier: String)
```

## Parameters

`identifier`

The string you use to identify this item. This string must be unique among all of the items you ever return from your app. Never recycle identifiers.

## Return Value

An empty item object.

## Discussion

After creating the item object, call the [`setImageURL(_:for:)`](/documentation/TVServices/TVTopShelfItem/setImageURL(_:for:)) method to assign an image and one or more actions to the item. Include the item object in the [`TVTopShelfContent`](/documentation/TVServices/TVTopShelfContent) object you return from your extension.

---

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)