<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextSelectionNavigation/Destination",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTextSelectionNavigationDestination"
  },
  "title" : "NSTextSelectionNavigation.Destination"
}
-->

# NSTextSelectionNavigation.Destination

Values that affect how the framework handles navigation across different textual boundaries during a selection.

```
enum Destination
```

## Topics

### Selection destinations

[`case character`](/documentation/AppKit/NSTextSelectionNavigation/Destination/character)

The selection moves to the next extended grapheme cluster boundary.

[`case word`](/documentation/AppKit/NSTextSelectionNavigation/Destination/word)

The selection moves to the next word boundary ignoring punctuation, whitespace, and format characters preceding the next word.

[`case line`](/documentation/AppKit/NSTextSelectionNavigation/Destination/line)

The selection moves to the next line boundary.

[`case sentence`](/documentation/AppKit/NSTextSelectionNavigation/Destination/sentence)

The selection moves to the next sentence boundary, ignoring punctuation, whitespace, and format characters preceding the next sentence.

[`case paragraph`](/documentation/AppKit/NSTextSelectionNavigation/Destination/paragraph)

The selection moves to the next paragraph boundary, ignoring the end of line elastic characters and paragraph separators.

[`case container`](/documentation/AppKit/NSTextSelectionNavigation/Destination/container)

The selection moves to the next container or page boundary after boundary of the current container, ignoring the end of line elastic characters.

[`case document`](/documentation/AppKit/NSTextSelectionNavigation/Destination/document)

The selection moves to the document boundary.

### Initializers

[`init?(rawValue: Int)`](/documentation/AppKit/NSTextSelectionNavigation/Destination/init(rawValue:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)