---
title: NSTrackingAttributeName
framework: uikit
role: symbol
role_heading: Global Variable
path: uikit/nstrackingattributename
---

# NSTrackingAttributeName

The amount to modify the default tracking.

## Declaration

```occ
extern NSAttributedStringKey const NSTrackingAttributeName;
```

## Overview

Overview The value of this attribute is an NSNumber object containing a floating-point value. The value represents the amount of space, in points, to add between the specified characters. A positive value increases the spacing between characters, and a negative value brings the characters closer together. Specify 0 to disable tracking. The effect of this attribute is similar to the effect of NSKernAttributeName, but the system treats tracking as trailing whitespace. A nonzero amount of tracking disables nonessential ligatures, unless the NSLigatureAttributeName attribute is present.

## See Also

### Getting rendering attribute keys

- [NSBackgroundColorAttributeName](uikit/nsbackgroundcolorattributename.md)
- [NSBaselineOffsetAttributeName](uikit/nsbaselineoffsetattributename.md)
- [NSFontAttributeName](uikit/nsfontattributename.md)
- [NSForegroundColorAttributeName](uikit/nsforegroundcolorattributename.md)
- [NSKernAttributeName](uikit/nskernattributename.md)
- [NSLigatureAttributeName](uikit/nsligatureattributename.md)
- [NSParagraphStyleAttributeName](uikit/nsparagraphstyleattributename.md)
- [NSStrikethroughColorAttributeName](uikit/nsstrikethroughcolorattributename.md)
- [NSStrikethroughStyleAttributeName](uikit/nsstrikethroughstyleattributename.md)
- [NSStrokeColorAttributeName](uikit/nsstrokecolorattributename.md)
- [NSStrokeWidthAttributeName](uikit/nsstrokewidthattributename.md)
- [NSUnderlineColorAttributeName](uikit/nsunderlinecolorattributename.md)
- [NSUnderlineStyleAttributeName](uikit/nsunderlinestyleattributename.md)
- [NSWritingDirectionAttributeName](uikit/nswritingdirectionattributename.md)
