---
title: target
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscontrol/target
---

# target

The target object that receives action messages from the cell.

## Declaration

```swift
weak var target: AnyObject? { get set }
```

## Discussion

Discussion When the value of this property is nil, the application follows the responder chain looking for an object that can respond to the message. See the description of the NSActionCell class for details.

## See Also

### Implementing the Target-Action Mechanism

- [action](appkit/nscontrol/action.md)
- [isContinuous](appkit/nscontrol/iscontinuous.md)
- [sendAction(_:to:)](appkit/nscontrol/sendaction(_:to:).md)
- [sendAction(on:)](appkit/nscontrol/sendaction(on:).md)
