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>?) throwsParameters
- 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
init(string:)init(string:encodingInvalidCharacters:)init(string:relativeTo:)fileURL(withPath:isDirectory:)init(fileURLWithPath:isDirectory:)fileURL(withPath:relativeTo:)init(fileURLWithPath:relativeTo:)fileURL(withPath:isDirectory:relativeTo:)init(fileURLWithPath:isDirectory:relativeTo:)fileURL(withPath:)init(fileURLWithPath:)fileURL(withPathComponents:)init(resolvingAliasFileAt:options:)fileURL(withFileSystemRepresentation:isDirectory:relativeTo:)getFileSystemRepresentation(_:maxLength:)