---
title: mnemonic
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nscell/mnemonic
---

# mnemonic

Returns the character in the receiver’s title that appears underlined for use as a mnemonic.

## Declaration

```occ
- (NSString *) mnemonic;
```

## Return Value

Return Value A string containing the mnemonic character, or an empty string if no mnemonic character is set.

## Discussion

Discussion Mnemonics are not supported in macOS

## See Also

### Deprecated Methods

- [setEntryType:](appkit/nscell/setentrytype:.md)
- [entryType](appkit/nscell/entrytype.md)
- [isEntryAcceptable:](appkit/nscell/isentryacceptable:.md)
- [setFloatingPointFormat:left:right:](appkit/nscell/setfloatingpointformat:left:right:.md)
- [setTitleWithMnemonic:](appkit/nscell/settitlewithmnemonic:.md)
- [setMnemonicLocation:](appkit/nscell/setmnemoniclocation:.md)
- [mnemonicLocation](appkit/nscell/mnemoniclocation.md)
