<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextView/performFindPanelAction(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextView(im)performFindPanelAction:"
  },
  "title" : "performFindPanelAction(_:)"
}
-->

# performFindPanelAction(_:)

Performs a find panel action specified by the sender’s tag.

```
func performFindPanelAction(_ sender: Any?)
```

## Parameters

`sender`

The control sending the message. This method sends the [`tag`](/documentation/AppKit/NSControl/tag) method to determine what operation to perform. The list of possible tags is provided in Constants.

## Discussion

This is the generic action method for the find menu and find panel, and can be overridden to implement a custom find panel.

---

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)