---
title: NSTextSelection.Granularity.character
framework: appkit
role: symbol
role_heading: Case
path: appkit/nstextselection/granularity-swift.enum/character
---

# NSTextSelection.Granularity.character

A value that represents selection by character.

## Declaration

```swift
case character
```

## See Also

### Degrees of granularity

- [NSTextSelection.Granularity.word](appkit/nstextselection/granularity-swift.enum/word.md)
- [NSTextSelection.Granularity.paragraph](appkit/nstextselection/granularity-swift.enum/paragraph.md)
- [NSTextSelection.Granularity.line](appkit/nstextselection/granularity-swift.enum/line.md)
- [NSTextSelection.Granularity.sentence](appkit/nstextselection/granularity-swift.enum/sentence.md)
