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

# init(anchor:)

Constructs a new help link with the specified anchor in the main app bundle’s book.

## Declaration

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

## Parameters

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

## Discussion

Discussion The main app bundle book name is defined by the CFBundleHelpBookName key in its Info.plist file.

## See Also

### Creating a help link

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