Skip to content

Instantly share code, notes, and snippets.

@EricADockery
Created February 10, 2018 15:40
Show Gist options
  • Save EricADockery/6b39292bbeefef5a1e56150d509b7259 to your computer and use it in GitHub Desktop.
Save EricADockery/6b39292bbeefef5a1e56150d509b7259 to your computer and use it in GitHub Desktop.
private func didDisconnect(notification: Notification) {
isConnected = false
connectionDelegate?.connectionStatusChanged()
}
private func didConnect(notification: Notification) {
isConnected = true
connectionDelegate?.connectionStatusChanged()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment