Skip to content

Instantly share code, notes, and snippets.

@Krishna21Soni13
Created January 3, 2020 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Krishna21Soni13/5fded5b74d8b086306a4309e154f9286 to your computer and use it in GitHub Desktop.
Save Krishna21Soni13/5fded5b74d8b086306a4309e154f9286 to your computer and use it in GitHub Desktop.
JoinChatViewController- Join chat
SocketHelper.shared.joinChatRoom(nickname: nickName) { [weak self] in
guard let nickName = textfield.text,
let self = self else{
return
}
self.moveToNextScreen(nickName)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment