<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserKit",
  "identifier" : "/documentation/BrowserKit/BEBrowserDataBookmark/init(isFolder:title:identifier:url:parentIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "BrowserKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEBrowserDataBookmark(im)initAsFolder:title:identifier:url:parentIdentifier:"
  },
  "title" : "init(isFolder:title:identifier:url:parentIdentifier:)"
}
-->

# init(isFolder:title:identifier:url:parentIdentifier:)

Creates a bookmark.

```
init(isFolder: Bool, title: String, identifier: String, url: URL?, parentIdentifier: String?)
```

## Parameters

`isFolder`

A Boolean value that indicates whether a bookmark represents a folder.

`title`

The title of the bookmark.

`identifier`

A unique identifier for the bookmark.

`url`

The URL that the bookmark points to, or `nil` if the bookmark is a folder.

`parentIdentifier`

The identifier of the parent folder, or `nil` if the bookmark is a top-level bookmark.

---

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)