---
title: accessibilityPerformDecrement()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsaccessibilityswitch/accessibilityperformdecrement()
---

# accessibilityPerformDecrement()

Decrements the switch’s value.

## Declaration

```swift
optional func accessibilityPerformDecrement() -> 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

- [accessibilityPerformIncrement()](appkit/nsaccessibilityswitch/accessibilityperformincrement().md)
- [accessibilityValue()](appkit/nsaccessibilityswitch/accessibilityvalue().md)
