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

# NSSegmentedControl.SwitchTracking

Constants that specify the type of tracking behavior a segmented control exhibits.

```
enum SwitchTracking
```

## Topics

### Constants

[`NSSegmentedControl.SwitchTracking.selectOne`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/selectOne)

Only one segment in the control can be selected at a time.

[`NSSegmentedControl.SwitchTracking.selectAny`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/selectAny)

One or more segment cells in the control can be selected at a time.

[`NSSegmentedControl.SwitchTracking.momentary`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/momentary)

A tracking mode that selects a segment when a person clicks within the bounds of the segment.

[`NSSegmentedControl.SwitchTracking.momentaryAccelerator`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/momentaryAccelerator)

A tracking mode that sends repeating actions as pressure changes on Force Touch systems, stopping when someone releases the segment.



---

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)