---
title: NSTextAlternativesAttributeName
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nstextalternativesattributename
---

# NSTextAlternativesAttributeName

The alternatives for the text.

## Declaration

```occ
extern NSAttributedStringKey NSTextAlternativesAttributeName;
```

## Discussion

Discussion The value of this attribute is an NSTextAlternatives object representing alternatives for a string that may be presented to the user.

## See Also

### Getting text attribute keys

- [NSCursorAttributeName](appkit/nscursorattributename.md)
- [NSLinkAttributeName](appkit/nslinkattributename.md)
- [NSMarkedClauseSegmentAttributeName](appkit/nsmarkedclausesegmentattributename.md)
- [NSShadowAttributeName](appkit/nsshadowattributename.md)
- [NSSpellingStateAttributeName](appkit/nsspellingstateattributename.md)
- [NSTextEffectAttributeName](appkit/nstexteffectattributename.md)
- [NSTextHighlightColorSchemeAttributeName](appkit/nstexthighlightcolorschemeattributename.md)
- [NSTextHighlightStyleAttributeName](appkit/nstexthighlightstyleattributename.md)
- [NSToolTipAttributeName](appkit/nstooltipattributename.md)
