---
title: "init(anchor:book:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/helplink/init(anchor:book:)"
---

# init(anchor:book:)

Constructs a new help link with the specified anchor and book.

## Declaration

```swift
@MainActor @preconcurrency init(anchor: NSHelpManager.AnchorName, book: NSHelpManager.BookName)
```

## Parameters

- `anchor`: The anchor within the help book to open to.
- `book`: The specific book name to open.

## See Also

### Creating a help link

- [init(action:)](swiftui/helplink/init(action:).md)
- [init(destination:)](swiftui/helplink/init(destination:).md)
- [init(anchor:)](swiftui/helplink/init(anchor:).md)
