Instance Property


Returns the range of the result that the receiver represents.


var range: NSRange { get }


This property will be present for all returned NSTextCheckingResult instances.

See Also

Text Checking Type Range and Type

var resultType: NSTextCheckingResult.CheckingType

Returns the text checking result type 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.