<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.8.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCell/setTitleWithMnemonic:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCell(im)setTitleWithMnemonic:"
  },
  "title" : "setTitleWithMnemonic:"
}
-->

# setTitleWithMnemonic:

Sets the title of the receiver with one character in the string denoted as an access key.

```
- (void) setTitleWithMnemonic:(NSString *) stringWithAmpersand;
```

## Parameters

`stringWithAmpersand`

The new title of the cell. One character in the string should be preceded by an ampersand (`&`) character. The character that follows becomes the mnemonic character for the title.

## Discussion

Mnemonics are not supported in macOS.

---

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)