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

# action

Returns the selector of the receiver’s action method.

## Declaration

```swift
@MainActor var action: Selector? { get }
```

## Return Value

Return Value The selector of the receiver’s action method.

## See Also

### Related Documentation

- [User Interface Validation](apple-archive/documentation/Cocoa/Conceptual/UIValidation.md)

### Getting information about a user interface item

- [tag](appkit/nsvalidateduserinterfaceitem/tag.md)
