---
title: "init(_:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nstouchbaritem/identifier-swift.struct/init(_:)"
---

# init(_:)

Creates an item identifier with the specified custom name.

## Declaration

```swift
init(_ rawValue: String)
```

## See Also

### Creating a custom identifier

- [init(rawValue:)](appkit/nstouchbaritem/identifier-swift.struct/init(rawvalue:).md)
