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

# setMnemonicLocation:

Sets the character of the receiver’s title to be used as a mnemonic character.

```
- (void) setMnemonicLocation:(NSUInteger) location;
```

## Parameters

`location`

The zero-based index into the cell’s title string specifying the location of the mnemonic character. The specified character is underlined when the title is drawn.

## 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)