@@ -39,7 +39,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
39
39
[ socket on:@"currentAmount" callback:^(NSArray* data, SocketAckEmitter* ack) {
40
40
double cur = [[ data objectAtIndex:0] floatValue] ;
41
41
42
- [socket emitWithAck:@"canUpdate " with:@[@(cur)]](0, ^(NSArray* data) {
42
+ [[ socket emitWithAck:@"testAckEmit " with:@[@YES]] timingOutAfter:0 callback: ^(NSArray* data) {
43
43
[socket emit:@"update" withItems:@[@{@"amount": @(cur + 2.50)}]];
44
44
}];
45
45
@@ -95,7 +95,7 @@ Carthage
95
95
-----------------
96
96
Add this line to your ` Cartfile ` :
97
97
```
98
- github "socketio/socket.io-client-swift" ~> 8.0.3 # Or latest version
98
+ github "socketio/socket.io-client-swift" ~> 8.1.0 # Or latest version
99
99
```
100
100
101
101
Run ` carthage update --platform ios,macosx ` .
@@ -108,7 +108,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
108
108
use_frameworks!
109
109
110
110
target ' YourApp' do
111
- pod ' Socket.IO-Client-Swift' , ' ~> 8.0.3 ' # Or latest version
111
+ pod ' Socket.IO-Client-Swift' , ' ~> 8.1.0 ' # Or latest version
112
112
end
113
113
```
114
114
@@ -137,7 +137,7 @@ CocoaSeeds
137
137
Add this line to your ` Seedfile ` :
138
138
139
139
```
140
- github "socketio/socket.io-client-swift", "v8.0.3 ", :files => "Source/*.swift" # Or latest version
140
+ github "socketio/socket.io-client-swift", "v8.1.0 ", :files => "Source/*.swift" # Or latest version
141
141
```
142
142
143
143
Run ` seed install ` .
0 commit comments