ricardopereira / SocketIO-Kit

Socket.io iOS and OSX Client compatible with v1.0 and later
https://ricardopereira.github.io/SocketIO-Kit
MIT License
139 stars 12 forks source link

Errors in Security.swift file #23

Open satyamub opened 8 years ago

satyamub commented 8 years ago

There are several errors in Security.swift. How to resolve this. How come in the file list there are no file "Security.swift" and "WebSocket.swift" however when I downloaded, it has those.

I am using swift 2.0

ricardopereira commented 8 years ago

@satyamub Sorry to hear that. Unfortunately the lib is currently not ready for 2.0. I need to update it.

satyamub commented 8 years ago

Can you please do this.I need to implement chat functionality in Swift application. Actually I can send and receive messages through normally socket programming however I am not able to send and receive images. Thats why choosing your library.

ricardopereira commented 8 years ago

Do you want to send large images files or small ones? Currently the lib is not performing well with large files.

satyamub commented 8 years ago

small images. custom stickers

satyamub commented 8 years ago

@ricardopereira can you please help?

ricardopereira commented 8 years ago

Sorry, it will take some time because I'm busy with other projects. Do you have a deadline?

satyamub commented 8 years ago

anything before Wednesday next week. Please give me code to send and receive image. Actually I am using server-side code(nodejs server) which is inside https://github.com/appcoda/SocketIOChat. Will this lib work there?

satyamub commented 8 years ago

@ricardopereira why asked this because, I somehow managed to resolve the issues with Security and Websocket.swift file and when run the project and it throws an error in socket.connect!

payload NSString "97:0{\"sid\":\"sMgCpOEzYLIItLksAACe\",\"upgrades\":[\"websocket\"],\"pingInterval\":25000,\"pingTimeout\":60000}" 0x00007fab1b4280d0