---
title: "init(identifier:)"
framework: tvservices
role: symbol
role_heading: Initializer
path: "tvservices/tvtopshelfitem/init(identifier:)"
---

# init(identifier:)

Creates a top shelf item with the specified identifier.

## Declaration

```swift
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

Return Value An empty item object.

## Discussion

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