The value for the
NSGrammar 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
NSGrammar be supplied in all cases, however,
NSGrammar must be supplied in order for correction guidance to be presented to the user.
- macOS 10.5+