Initializes and returns bookmark data derived from an alias file pointed to by a specified URL.
- iOS 4.0+
- macOS 10.6+
- tvOS 4.0+
- watchOS 2.0+
The URL that points to a file containing bookmark data.
The error that occurred in the case that the bookmark data cannot be derived.
The bookmark data for the alias file.
This method doesn’t check to see if
bookmark points to an alias file. This allows this method to work with any file containing bookmark data. If
bookmark refers to a file which does not contain bookmark data or to a non-file object, such as a directory or symbolic link, this method returns
nil produces an error.
This method returns
nil if bookmark data cannot be created.