---
title: textSelectionDataSource
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nstextselectionnavigation/textselectiondatasource
---

# textSelectionDataSource

The data source associated with this selection navigation.

## Declaration

```swift
weak var textSelectionDataSource: (any NSTextSelectionDataSource)? { get }
```

## See Also

### Accessing the data source

- [NSTextSelectionDataSource](uikit/nstextselectiondatasource.md)
