How to open the URL in the system browser by default using Swift as a programming language and OSX as plattform.
I found a lot with UIApplication, for example
UIApplication.sharedApplication().openURL(NSURL(string: object.url))
but it only works on iOS, not OSX
And Launch Services , I found there are no examples for fast and a lot outdated for OSX 10.10
Any help is appreciated - thanks.
xcode swift nsurl macos openurl
user2929462 Nov 02 2018-12-14T00: 00Z
source share