---
title: accessibilityPerformIncrement()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsaccessibilityswitch/accessibilityperformincrement()
---

# accessibilityPerformIncrement()

Increments the switch’s value.

## Declaration

```swift
optional func accessibilityPerformIncrement() -> Bool
```

## Return Value

Return Value true if the action was successfully triggered; otherwise, false. This method does not indicate the success or failure of the action, just the fact that the action was successfully triggered.

## Discussion

Discussion This method must post an valueChanged notification after changing the switch’s value.

## See Also

### Supporting Accessibility

- [accessibilityPerformDecrement()](appkit/nsaccessibilityswitch/accessibilityperformdecrement().md)
- [accessibilityValue()](appkit/nsaccessibilityswitch/accessibilityvalue().md)
