---
title: trackingMode
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssegmentedcell/trackingmode
---

# trackingMode

The tracking mode used for the segments of the control.

## Declaration

```swift
var trackingMode: NSSegmentedControl.SwitchTracking { get set }
```

## Discussion

Discussion Possible values for trackingMode are described in NSSegmentedControl.SwitchTracking. The default value is NSSegmentedControl.SwitchTracking.selectOne.
