<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSProgressIndicator/increment(by:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSProgressIndicator(im)incrementBy:"
  },
  "title" : "increment(by:)"
}
-->

# increment(by:)

Advances the progress bar of a determinate progress indicator by the specified amount.

```
func increment(by delta: Double)
```

## Parameters

`delta`

The amount by which to increment the progress bar. For example, if you want to advance a progress bar from 0.0 to 100.0 in 20 steps, you would invoke [`increment(by:)`](/documentation/AppKit/NSProgressIndicator/increment(by:)) 20 times with a delta value of 5.0.

---

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)