orthographyCheckingResult(range:orthography:)
Creates and returns a text checking result with the specified orthography.
Declaration
class func orthographyCheckingResult(range: NSRange, orthography: NSOrthography) -> NSTextCheckingResultParameters
- range:
The range of the detected result.
- orthography:
An orthography object that describes the script.
Return Value
Returns an NSTextCheckingResult with the specified range and a resultType of orthography.