---
title: "init(name:target:selector:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsaccessibilitycustomaction/init(name:target:selector:)"
---

# init(name:target:selector:)

Creates a custom action object with the specified name, target, and selector.

## Declaration

```swift
init(name: String, target: any NSObjectProtocol, selector: Selector)
```

## See Also

### Creating a Custom Action

- [init(name:handler:)](appkit/nsaccessibilitycustomaction/init(name:handler:).md)
