open(_:)
Opens the location at the specified URL.
Declaration
func open(_ url: URL) -> BoolParameters
- url:
A URL specifying the location to open.
Return Value
true if the location was successfully opened; otherwise, false.
Discussion
You can call this method safely from any thread in macOS 10.6 and later.