replace ServiceCom with objc class

This commit is contained in:
Grant Limberg 2016-08-06 19:45:58 -07:00
parent a0db48571d
commit b51d68a419
9 changed files with 323 additions and 234 deletions

View file

@ -69,7 +69,7 @@ class JoinNetworkViewController: NSViewController, NSComboBoxDelegate, NSComboBo
@IBAction func onJoinClicked(sender: AnyObject?) {
let networkString = network.stringValue
ServiceCom.sharedInstance.joinNetwork(networkString,
ServiceCom.sharedInstance().joinNetwork(networkString,
allowManaged: allowManagedCheckBox.state == NSOnState,
allowGlobal: allowGlobalCheckBox.state == NSOnState,
allowDefault: allowDefaultCheckBox.state == NSOnState)