---
title: location
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/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](appkit/nstextrange/endlocation.md)
- [isEmpty](appkit/nstextrange/isempty.md)
