Type Method

orthographyCheckingResult(range:orthography:)

Creates and returns a text checking result with the specified orthography.

Declaration

class func orthographyCheckingResult(range: NSRange, orthography: NSOrthography) -> NSTextCheckingResult

Parameters

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.

See Also

Text Checking Results for Orthography

var orthography: NSOrthography?

The detected orthography of a type checking result.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software