<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTouchBar/customizationIdentifier-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTouchBar(py)customizationIdentifier"
  },
  "title" : "customizationIdentifier"
}
-->

# customizationIdentifier

A globally unique string that makes the Touch Bar eligible for user customization.

```
var customizationIdentifier: NSTouchBar.CustomizationIdentifier? { get set }
```

## Discussion

To make an [`NSTouchBar`](/documentation/AppKit/NSTouchBar) object eligible for user customization, assign it a globally unique [`customizationIdentifier`](/documentation/AppKit/NSTouchBar/customizationIdentifier-swift.property) identifier. For the identifier string, use reverse-DNS style, such as “`com.company-name.app-name.alphanumeric-ID`”.

The system archives this property.

---

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)