<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSControl/target",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSControl(py)target"
  },
  "title" : "target"
}
-->

# target

The target object that receives action messages from the cell.

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

## 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`](/documentation/AppKit/NSActionCell) class for details.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)