Instance Property

resultType

Returns the text checking result type that the receiver represents.

Declaration

var resultType: NSTextCheckingResult.CheckingType { get }

Discussion

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.