---
title: location
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nstextrange/location
---

# location

The starting location of the text range.

## Declaration

```swift
var location: any NSTextLocation { get }
```

## See Also

### Characteristics of the text range

- [endLocation](uikit/nstextrange/endlocation.md)
- [isEmpty](uikit/nstextrange/isempty.md)
