---
title: range
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nstextcheckingresult/range
---

# range

Returns the range of the result that the receiver represents.

## Declaration

```swift
var range: NSRange { get }
```

## Discussion

Discussion This property will be present for all returned NSTextCheckingResult instances.

## See Also

### Text Checking Type Range and Type

- [resultType](foundation/nstextcheckingresult/resulttype.md)
- [numberOfRanges](foundation/nstextcheckingresult/numberofranges.md)
- [range(at:)](foundation/nstextcheckingresult/range(at:).md)
