{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/314","repository_url":"https://api.github.com/repos/socketio/socket.io-client-swift","labels_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/314/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/314/events","html_url":"https://github.com/socketio/socket.io-client-swift/issues/314","id":135040364,"number":314,"title":"retrieve messages back from server to swift app ","user":{"login":"LamourBt","id":14245117,"avatar_url":"https://avatars.githubusercontent.com/u/14245117?v=3","gravatar_id":"","url":"https://api.github.com/users/LamourBt","html_url":"https://github.com/LamourBt","followers_url":"https://api.github.com/users/LamourBt/followers","following_url":"https://api.github.com/users/LamourBt/following{/other_user}","gists_url":"https://api.github.com/users/LamourBt/gists{/gist_id}","starred_url":"https://api.github.com/users/LamourBt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LamourBt/subscriptions","organizations_url":"https://api.github.com/users/LamourBt/orgs","repos_url":"https://api.github.com/users/LamourBt/repos","events_url":"https://api.github.com/users/LamourBt/events{/privacy}","received_events_url":"https://api.github.com/users/LamourBt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-20T06:44:17Z","updated_at":"2016-02-20T18:10:16Z","closed_at":null,"body":"I am having trouble to retrieve messages back into the app, so far I am successful sending message from the app to server and also displaying them into the console.log() by using \r\n`self.socket.emit(\"chat\", textToSend)` \r\n\r\nTo retrieve I tried this code but nothing happens\r\n\r\n ```\r\n socket.on(\"chat\") { (T :[AnyObject], ack :SocketAckEmitter) -> Void in\r\n            print(ack )\r\n            print(T.count)\r\n            \r\n        }\r\n```\r\n\r\nI tried to use the websocket delegate `websocketDidReceiveMessage` still nothing happend\r\n"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/comments/186660398","html_url":"https://github.com/socketio/socket.io-client-swift/issues/314#issuecomment-186660398","issue_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/314","id":186660398,"user":{"login":"nuclearace","id":1211049,"avatar_url":"https://avatars.githubusercontent.com/u/1211049?v=3","gravatar_id":"","url":"https://api.github.com/users/nuclearace","html_url":"https://github.com/nuclearace","followers_url":"https://api.github.com/users/nuclearace/followers","following_url":"https://api.github.com/users/nuclearace/following{/other_user}","gists_url":"https://api.github.com/users/nuclearace/gists{/gist_id}","starred_url":"https://api.github.com/users/nuclearace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuclearace/subscriptions","organizations_url":"https://api.github.com/users/nuclearace/orgs","repos_url":"https://api.github.com/users/nuclearace/repos","events_url":"https://api.github.com/users/nuclearace/events{/privacy}","received_events_url":"https://api.github.com/users/nuclearace/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T18:10:16Z","updated_at":"2016-02-20T18:10:16Z","body":"But I'm pretty sure this is a server problem"}}