---
title: NSToolbar.Identifier
framework: appkit
role: symbol
role_heading: Type Alias
path: appkit/nstoolbar/identifier-swift.typealias
---

# NSToolbar.Identifier

A string value that you use to differentiate your app’s toolbars.

## Declaration

```swift
typealias Identifier = String
```

## Discussion

Discussion Multiple toolbar objects can have the same identifier. If two or more toolbars share an identifier, the system synchronizes the state of the toolbars and displays the same items for each one.

## See Also

### Getting the toolbar’s identity

- [identifier](appkit/nstoolbar/identifier-swift.property.md)
