---
title: action
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsactioncell/action
---

# action

Returns the receiver’s action-message selector.

## Declaration

```swift
var action: Selector? { get set }
```

## See Also

### Assigning the Target and Action

- [target](appkit/nsactioncell/target.md)
