---
title: NSTextEffectAttributeName
framework: uikit
role: symbol
role_heading: Global Variable
path: uikit/nstexteffectattributename
---

# NSTextEffectAttributeName

An attribute that applies a text effect to the text.

## Declaration

```occ
extern NSAttributedStringKey const NSTextEffectAttributeName;
```

## Overview

Overview The value of this attribute is an NSString object. Use this attribute to specify a text effect, such as NSTextEffectLetterpressStyle. The default value of this property is nil, indicating no text effect.

## See Also

### Getting text attribute keys

- [NSLinkAttributeName](uikit/nslinkattributename.md)
- [NSShadowAttributeName](uikit/nsshadowattributename.md)
- [NSTextHighlightColorSchemeAttributeName](uikit/nstexthighlightcolorschemeattributename.md)
- [NSTextHighlightStyleAttributeName](uikit/nstexthighlightstyleattributename.md)
- [UITextItemTagAttributeName](uikit/uitextitemtagattributename.md)
- [NSWritingToolsExclusionAttributeName](uikit/nswritingtoolsexclusionattributename.md)
