---
title: range
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswritingtoolscoordinator/context/range
---

# range

The unique identifier of the context object.

## Declaration

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

## Mentioned in

Adding Writing Tools support to a custom AppKit view

## Discussion

Discussion The NSWritingToolsCoordinator.Context object initializes the value of this property at creation time. Use this value to identify the context object within your app.

## See Also

### Getting the source text details

- [attributedString](appkit/nswritingtoolscoordinator/context/attributedstring.md)
