---
title: NSGrammarUserDescription
framework: foundation
role: symbol
role_heading: Global Variable
path: foundation/nsgrammaruserdescription
---

# NSGrammarUserDescription

The value for the NSGrammarUserDescription dictionary key should be an NSString containing descriptive text about that range, to be presented directly to the user; it is intended that the user description should provide enough information to allow the user to correct the problem. It is recommended that NSGrammarUserDescription be supplied in all cases, however, NSGrammarUserDescription or NSGrammarCorrections must be supplied in order for correction guidance to be presented to the user.

## Declaration

```swift
let NSGrammarUserDescription: String
```

## See Also

### Constants

- [NSGrammarRange](foundation/nsgrammarrange.md)
- [NSGrammarCorrections](foundation/nsgrammarcorrections.md)
