---
title: "increment(by:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsprogressindicator/increment(by:)"
---

# increment(by:)

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

## Declaration

```swift
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 doc://com.apple.appkit/documentation/AppKit/NSProgressIndicator/increment(by:) 20 times with a delta value of 5.0.

## See Also

### Advancing the progress bar

- [doubleValue](appkit/nsprogressindicator/doublevalue.md)
- [minValue](appkit/nsprogressindicator/minvalue.md)
- [maxValue](appkit/nsprogressindicator/maxvalue.md)
