Enumeration

NSSelectionAffinity

These constants specify the preferred direction of selection. They’re used by selectionAffinity and setSelectedRange(_:affinity:stillSelecting:).

Declaration

enum NSSelectionAffinity : UInt

Topics

Constants

case upstream

The selection is moving toward the top of the document.

case downstream

The selection is moving toward the bottom of the document.