Contents

init(resolvingBookmarkData:options:relativeTo:bookmarkDataIsStale:)

Initializes a newly created NSURL that points to a location specified by resolving bookmark data.

Declaration

convenience init(resolvingBookmarkData bookmarkData: Data, options: NSURL.BookmarkResolutionOptions = [], relativeTo relativeURL: URL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>?) throws

Parameters

  • bookmarkData:

    The bookmark data the URL is derived from.

  • options:

    Options taken into account when resolving the bookmark data.

  • relativeURL:

    The base URL that the bookmark data is relative to.

  • isStale:

    If True, the bookmark data is stale.

Return Value

An NSURL initialized by resolving bookmarkData.

Discussion

See Also

Creating a URL object