---
title: sender
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uimenuleaf/sender
---

# sender

The object on behalf of which to perform the menu element’s primary action.

## Declaration

```swift
var sender: Any? { get }
```

## Discussion

Discussion The system populates this property during the execution of the menu element’s action (its handler or selector).

## See Also

### Performing actions

- [performWithSender(_:target:)](uikit/uimenuleaf/performwithsender(_:target:).md)
