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

# init(_:arrowEdge:actionHandler:)

Creates a tip view with an optional arrow.

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

## Parameters

`tip`

The tip to display.

`arrowEdge`

The edge of the tip view that displays the arrow.

`actionHandler`

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

## Discussion

Use a `TipNSView` when you want to indicate the UI element to which
the tip applies, but do not want to directly anchor the tip view to that
element.

---

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)