<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/HelpLink/init(anchor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI8HelpLinkV6anchorACSS_tcfc"
  },
  "title" : "init(anchor:)"
}
-->

# init(anchor:)

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

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

## Parameters

`anchor`

The anchor within the help book to open to.

## Discussion

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

---

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)