How to open a url in system default browser by using Swift as programming language and OSX as plattform.
I found a lot with UIApplication like
UIAppl
For Swift 5, Xcode 10 and MAC OS:
NSWorkspace.shared.open(NSURL(string: "http://www.lichess.org")! as URL)