<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSResponder/supplementalTarget(forAction:sender:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSResponder(im)supplementalTargetForAction:sender:"
  },
  "title" : "supplementalTarget(forAction:sender:)"
}
-->

# supplementalTarget(forAction:sender:)

Finds a target for an action method.

```
func supplementalTarget(forAction action: Selector, sender: Any?) -> Any?
```

## Parameters

`action`

The requested action.

`sender`

The message sender.

## Return Value

An object which responds to the action, or `nil`.

## Discussion

If this `NSResponder` instance does not itself `respondsToSelector:`, then `supplementalTargetForAction:sender:` is called.

This method should return an object which responds to the action; if this responder does not have a supplemental object that does that, the implementation of this method should call `super`’s `supplementalTargetForAction:sender:`.

NSResponder’s implementation returns `nil`.

---

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)