<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSToolbar/itemIdentifiers",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSToolbar(py)itemIdentifiers"
  },
  "title" : "itemIdentifiers"
}
-->

# itemIdentifiers

An array of itemIdentifiers that represent the current items in the toolbar.
Setting this property will set the current items in the toolbar by diffing against items that already exist.
Use this with great caution if `allowsUserCustomization` is enabled as it will override any customizations the user has made.
This property is key value observable.

```
var itemIdentifiers: [NSToolbarItem.Identifier] { get set }
```

---

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)