Instance Method

open(_:options:configuration:)

No overview available.

Declaration

func open(_ url: URL, options: NSWorkspace.LaunchOptions = [], configuration: [NSWorkspace.LaunchConfigurationKey : Any]) throws -> NSRunningApplication

See Also

Opening Files

func open(URL) -> Bool

Opens the location at the specified URL.

func openFile(String) -> Bool

Opens the specified file specified using the default app associated with its type.

Deprecated
func openFile(String, withApplication: String?) -> Bool

Opens a file using the specified app.

Deprecated
func openFile(String, withApplication: String?, andDeactivate: Bool) -> Bool

Opens the specified file and optionally deactivates the sending app.

Deprecated
func openFile(String, from: NSImage?, at: NSPoint, in: NSView?) -> Bool

Opens a file using the default app for its type and animates the action using a custom icon.

Deprecated