An integer value. Defaults to 0, indicating no grammar or spelling error. See “NSSpellingStateAttributeName Flags” for possible values.
This key is available in Mac OS X v10.2 and later, but its interpretation changed in Mac OS X v10.5. Previously, any non-zero value caused the spelling indicator to be displayed. For Mac OS X v10.5 and later, the (integer) value is treated as being composed of the spelling and grammar flags. See “NSSpellingStateAttributeName Flags” for possible values.
Available in Mac OS X v10.5 and later.


- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)