---
title: "init(_:arrowEdge:actionHandler:)"
framework: tipkit
role: symbol
role_heading: Initializer
path: "tipkit/tipnsview/init(_:arrowedge:actionhandler:)"
---

# init(_:arrowEdge:actionHandler:)

Creates a tip view with an optional arrow.

## Declaration

```swift
@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

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.
