---
title: maxValue
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsslidercell/maxvalue
---

# maxValue

The maximum value the slider can send to its target.

## Declaration

```swift
var maxValue: Double { get set }
```

## Discussion

Discussion A horizontal slider sends its maximum value when the knob is at the right end of the slider; a vertical slider sends it when the knob is at the top. The maximum selectable value for a circular slider is just below maxValue; for example, if maxValue is 360, you can set the dial up to 359.999.

## See Also

### Managing Value Limits

- [minValue](appkit/nsslidercell/minvalue.md)
