Contents

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

Creates a bookmark.

Declaration

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.