<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStepper/maxValue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSStepper(py)maxValue"
  },
  "title" : "maxValue"
}
-->

# maxValue

The stepper’s maximum value.

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

## Discussion

The default is 59.

## See Also

  [Stepper Programming Topics](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Steppers/Steppers.html#//apple_ref/doc/uid/10000108i)



---

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)