hideOtherApplications()
Hides all applications other than the sender.
Declaration
func hideOtherApplications()Discussion
In order to hide all apps except the current one, the user can Command-Option-click an app’s Dock icon.
You must call this method from your app’s main thread.