<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "XcodeKit",
  "identifier" : "/documentation/XcodeKit/XCSourceEditorCommandDefinitionKey/classNameKey",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "XcodeKit"
    ],
    "preciseIdentifier" : "c:@XCSourceEditorCommandClassNameKey"
  },
  "title" : "classNameKey"
}
-->

# classNameKey

The class of the source editor command, in its attributes.

```
static let classNameKey: XCSourceEditorCommandDefinitionKey
```

---

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)