Instance Property

range

Returns the range of the result that the receiver represents.

Declaration

var range: NSRange { get }

Discussion

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.

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