<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TipKit",
  "identifier" : "/documentation/TipKit/TipNSPopover/init(_:delegate:actionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "TipKit"
    ],
    "preciseIdentifier" : "s:6TipKit0A9NSPopoverC_8delegate13actionHandlerAcA0A0_p_So0C8Delegate_pSgyAA4TipsO6ActionVctcfc"
  },
  "title" : "init(_:delegate:actionHandler:)"
}
-->

# init(_:delegate:actionHandler:)

Initializes a popover with the specified tip.

```
@MainActor @preconcurrency required init(_ tip: any Tip, delegate: (any NSPopoverDelegate)? = nil, actionHandler: @escaping @MainActor @Sendable (Tips.Action) -> Void = { _ in })
```

## Parameters

`tip`

The tip to display.

`delegate`

A set of optional methods that a popover delegate can implement to provide additional or custom functionality

`actionHandler`

The closure to perform when the user triggers a tip’s action.

---

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)