diff --git a/README.md b/README.md index ef65765..b3a4a5f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ -**The current version of this library does not yet support socket.io v1.0. +**The current version of this library does not support socket.io v1.0. So if you want to use socket.io-objc, please fall back to v0.9.x.** +Today (15/03/09) the Socket.io guys [announced their own iOS library](http://socket.io/blog/socket-io-on-ios/) - grab it while it's still hot: +[github.com/socketio/socket.io-client-swift](https://github.com/socketio/socket.io-client-swift) + --- # Socket.IO / Objective C Library @@ -33,8 +36,7 @@ If required, additional parameters can be included in the handshake by adding an ``` objective-c [socketIO connectToHost:@"localhost" onPort:3000 - withParams:[NSDictionary dictionaryWithObjectsAndKeys:@"1234", @"auth_token", nil] -]; + withParams:@{@"auth_token":@"1234"}]; ``` A namespace can also be defined in the connection details: