Instance Property


Returns the text checking result type that the receiver represents.


var resultType: NSTextCheckingResult.CheckingType { get }


The possible result types for the built in checking capabilities are described in NSTextCheckingResult.CheckingType.

This property will be present for all returned NSTextCheckingResult instances.

See Also

Text Checking Type Range and Type

var range: NSRange

Returns the range of the result that the receiver represents.

var numberOfRanges: Int

Returns the number of ranges.

func range(at: Int) -> NSRange

Returns the result type that the range represents.

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