---
title: "init(_:_:)"
framework: tipkit
role: symbol
role_heading: Initializer
path: "tipkit/tipgroup/init(_:_:)"
---

# init(_:_:)

Creates a tip group with the specified presentation priority.

## Declaration

```swift
init(_ priority: TipGroup.Priority = .firstAvailable, @Tips.GroupBuilder _ builder: () -> [any Tip])
```

## Parameters

- `priority`: Presentation priority of the tips. The default value is doc://com.apple.TipKit/documentation/TipKit/TipGroup/Priority/firstAvailable.
- `builder`: The tips to display.
