Enumeration

NSSelectionAffinity

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

Declaration

typedef enum NSSelectionAffinity : NSUInteger {
    ...
} NSSelectionAffinity;

Topics

Constants

NSSelectionAffinityUpstream

The selection is moving toward the top of the document.

NSSelectionAffinityDownstream

The selection is moving toward the bottom of the document.