bookmarkData(withContentsOf:)
Initializes and returns bookmark data derived from an alias file pointed to by a specified URL.
Declaration
static func bookmarkData(withContentsOf url: URL) throws -> DataDiscussion
If bookmarkFileURL refers to an alias file created prior to OS X 10.6 that contains Alias Manager information but no bookmark data, this method synthesizes bookmark data for the file.