---
title: handler
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsaccessibilitycustomaction/handler
---

# handler

The closure that handles the execution of the action.

## Declaration

```swift
var handler: (() -> Bool)? { get set }
```

## See Also

### Getting the Action

- [target](appkit/nsaccessibilitycustomaction/target.md)
- [selector](appkit/nsaccessibilitycustomaction/selector.md)
