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

# valueWraps

A Boolean value that indicates whether the stepper wraps around the minimum and maximum values.

```
var valueWraps: Bool { get set }
```

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> if, when incrementing or decrementing, the value wraps around to the minimum or maximum. <doc://com.apple.documentation/documentation/Swift/false> if the value stays pinned at the minimum or maximum. The default is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)