Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 386111f

Browse files
committed
update readme to reflect the recent changes
1 parent b9a8c69 commit 386111f

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,13 @@
77
* [SocketRocket](https://github.com/square/SocketRocket)
88
Look [here](https://github.com/square/SocketRocket#installing-ios) for further instructions how to use/install SocketRocket.
99

10-
JSON serialization can be provided by SBJson (json-framework), JSONKit or by Foundation in OS X 10.7/iOS 5.0. These are selected at runtime and introduce no source-level dependencies.
11-
* [json-framework](https://github.com/stig/json-framework/) (optional)
12-
* [JSONKit](https://github.com/johnezang/JSONKit/) (optional)
1310

1411
## Requirements
1512

1613
As of version 0.4, this library requires at least OS X 10.7 or iOS 5.0.
14+
Because of this, we were able to remove the external JSON frameworks in v0.5 and only rely on iOS' own `NSJSONSerialization`.
1715

1816

19-
## Non-ARC version
20-
21-
If you're old school - there's still the [non-ARC version](https://github.com/pkyeck/socket.IO-objc/tree/non-arc) for you.
22-
This version (the non-ARC one) is out-of-date and won't be maintained any further (at least not by me).
23-
2417
## Usage
2518

2619
The easiest way to connect to your Socket.IO / node.js server is
@@ -86,7 +79,6 @@ All delegate methods are optional - you could implement the following
8679
8780
``` objective-c
8881
- (void) socketIODidConnect:(SocketIO *)socket;
89-
- (void) socketIODidDisconnect:(SocketIO *)socket; // deprecated
9082
- (void) socketIODidDisconnect:(SocketIO *)socket disconnectedWithError:(NSError *)error;
9183
- (void) socketIO:(SocketIO *)socket didReceiveMessage:(SocketIOPacket *)packet;
9284
- (void) socketIO:(SocketIO *)socket didReceiveJSON:(SocketIOPacket *)packet;
@@ -95,14 +87,6 @@ All delegate methods are optional - you could implement the following
9587
- (void) socketIO:(SocketIO *)socket onError:(NSError *)error;
9688
```
9789

98-
These two callbacks are deprecated - please don't use them anymore - they will
99-
be removed in upcoming releases:
100-
101-
``` objective-c
102-
- (void) socketIOHandshakeFailed:(SocketIO *)socket;
103-
- (void) socketIO:(SocketIO *)socket failedToConnectWithError:(NSError *)error;
104-
```
105-
10690
To process an incoming Message just
10791

10892
``` objective-c

0 commit comments

Comments
 (0)