Creates and returns a text checking result with the range of a misspelled word.
SDKs
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
+ (NSText Checking Result *)spellCheckingResultWithRange:(NSRange)range;
Parameters
range
The range of the detected result.
Return Value
Returns an NSText
with the specified range
and a result
of NSText
.