Skip to content

Commit 77dfd78

Browse files
committed
bump version and docs
1 parent 033a509 commit 77dfd78

35 files changed

+129
-186
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Then import `import SocketIO`.
9292
### Carthage
9393
Add this line to your `Cartfile`:
9494
```
95-
github "socketio/socket.io-client-swift" ~> 9.0.1 # Or latest version
95+
github "socketio/socket.io-client-swift" ~> 10.0.0 # Or latest version
9696
```
9797

9898
Run `carthage update --platform ios,macosx`.
@@ -104,7 +104,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
104104
use_frameworks!
105105

106106
target 'YourApp' do
107-
pod 'Socket.IO-Client-Swift', '~> 9.0.1' # Or latest version
107+
pod 'Socket.IO-Client-Swift', '~> 10.0.0' # Or latest version
108108
end
109109
```
110110

@@ -132,7 +132,7 @@ Objective-C:
132132
Add this line to your `Seedfile`:
133133

134134
```
135-
github "socketio/socket.io-client-swift", "v9.0.1", :files => "Source/*.swift" # Or latest version
135+
github "socketio/socket.io-client-swift", "v10.0.0", :files => "Source/*.swift" # Or latest version
136136
```
137137

138138
Run `seed install`.

Diff for: Socket.IO-Client-Swift.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
Pod::Spec.new do |s|
22
s.name = "Socket.IO-Client-Swift"
33
s.module_name = "SocketIO"
4-
s.version = "9.0.1"
4+
s.version = "10.0.0"
55
s.summary = "Socket.IO-client for iOS and OS X"
66
s.description = <<-DESC
77
Socket.IO-client for iOS and OS X.
88
Supports ws/wss/polling connections and binary.
9-
For socket.io 1.0+ and Swift.
9+
For socket.io 2.0+ and Swift.
1010
DESC
1111
s.homepage = "https://github.com/socketio/socket.io-client-swift"
1212
s.license = { :type => 'MIT' }
1313
s.author = { "Erik" => "[email protected]" }
1414
s.ios.deployment_target = '8.0'
1515
s.osx.deployment_target = '10.10'
1616
s.tvos.deployment_target = '9.0'
17-
s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", :tag => 'v9.0.1' }
17+
s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", :tag => 'v10.0.0' }
1818
s.source_files = "Source/**/*.swift"
1919
s.requires_arc = true
2020
s.pod_target_xcconfig = {'SWIFT_VERSION' => '3.1'}

Diff for: docs/Classes.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ <h4>Declaration</h4>
465465
</article>
466466
</div>
467467
<section class="footer">
468-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
469-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
468+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
469+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
470470
</section>
471471
</body>
472472
</div>

Diff for: docs/Classes/OnAckCallback.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ <h4>Parameters</h4>
248248
<td>
249249
<div>
250250
<p>The callback called when an ack is received, or when a timeout happens.
251-
To check for timeout, use <code>SocketAckStatus</code>&rsquo;s <code>noAck</code> case.</p>
251+
To check for timeout, use <code>SocketAckStatus</code>&lsquo;s <code>noAck</code> case.</p>
252252
</div>
253253
</td>
254254
</tr>
@@ -266,8 +266,8 @@ <h4>Parameters</h4>
266266
</article>
267267
</div>
268268
<section class="footer">
269-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
270-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
269+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
270+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
271271
</section>
272272
</body>
273273
</div>

Diff for: docs/Classes/SSLCert.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ <h4>Return Value</h4>
288288
</article>
289289
</div>
290290
<section class="footer">
291-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
292-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
291+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
292+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
293293
</section>
294294
</body>
295295
</div>

Diff for: docs/Classes/SSLSecurity.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ <h4>Return Value</h4>
381381
</article>
382382
</div>
383383
<section class="footer">
384-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
385-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
384+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
385+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
386386
</section>
387387
</body>
388388
</div>

Diff for: docs/Classes/SocketAckEmitter.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ <h4>Parameters</h4>
336336
</article>
337337
</div>
338338
<section class="footer">
339-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
340-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
339+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
340+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
341341
</section>
342342
</body>
343343
</div>

Diff for: docs/Classes/SocketAnyEvent.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ <h4>Declaration</h4>
282282
</article>
283283
</div>
284284
<section class="footer">
285-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
286-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
285+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
286+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
287287
</section>
288288
</body>
289289
</div>

Diff for: docs/Classes/SocketClientManager.html

+16-16
Original file line numberDiff line numberDiff line change
@@ -211,58 +211,58 @@ <h3 class="section-name">Properties.</h3>
211211
<li class="item">
212212
<div>
213213
<code>
214-
<a name="/s:ZvC8SocketIO19SocketClientManager13sharedManagerS0_"></a>
215-
<a name="//apple_ref/swift/Variable/sharedManager" class="dashAnchor"></a>
216-
<a class="token" href="#/s:ZvC8SocketIO19SocketClientManager13sharedManagerS0_">sharedManager</a>
214+
<a name="/s:iC8SocketIO19SocketClientManager9subscriptFSSGSqCS_14SocketIOClient_"></a>
215+
<a name="//apple_ref/swift/Method/subscript(_:)" class="dashAnchor"></a>
216+
<a class="token" href="#/s:iC8SocketIO19SocketClientManager9subscriptFSSGSqCS_14SocketIOClient_">subscript(_:)</a>
217217
</code>
218218
</div>
219219
<div class="height-container">
220220
<div class="pointer-container"></div>
221221
<section class="section">
222222
<div class="pointer"></div>
223223
<div class="abstract">
224-
<p>The shared manager.</p>
224+
<p>Gets a socket by its name.</p>
225225

226226
</div>
227227
<div class="declaration">
228228
<h4>Declaration</h4>
229229
<div class="language">
230230
<p class="aside-title">Swift</p>
231-
<pre class="highlight"><code><span class="n">open</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">sharedManager</span> <span class="o">=</span> <span class="kt">SocketClientManager</span><span class="p">()</span></code></pre>
231+
<pre class="highlight"><code><span class="n">open</span> <span class="nf">subscript</span><span class="p">(</span><span class="nv">string</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Classes/SocketIOClient.html">SocketIOClient</a></span><span class="p">?</span></code></pre>
232232

233233
</div>
234234
</div>
235+
<div>
236+
<h4>Return Value</h4>
237+
<p>The socket, if one had the given name.</p>
238+
</div>
235239
</section>
236240
</div>
237241
</li>
238242
<li class="item">
239243
<div>
240244
<code>
241-
<a name="/s:iC8SocketIO19SocketClientManager9subscriptFSSGSqCS_14SocketIOClient_"></a>
242-
<a name="//apple_ref/swift/Method/subscript(_:)" class="dashAnchor"></a>
243-
<a class="token" href="#/s:iC8SocketIO19SocketClientManager9subscriptFSSGSqCS_14SocketIOClient_">subscript(_:)</a>
245+
<a name="/s:ZvC8SocketIO19SocketClientManager13sharedManagerS0_"></a>
246+
<a name="//apple_ref/swift/Variable/sharedManager" class="dashAnchor"></a>
247+
<a class="token" href="#/s:ZvC8SocketIO19SocketClientManager13sharedManagerS0_">sharedManager</a>
244248
</code>
245249
</div>
246250
<div class="height-container">
247251
<div class="pointer-container"></div>
248252
<section class="section">
249253
<div class="pointer"></div>
250254
<div class="abstract">
251-
<p>Gets a socket by its name.</p>
255+
<p>The shared manager.</p>
252256

253257
</div>
254258
<div class="declaration">
255259
<h4>Declaration</h4>
256260
<div class="language">
257261
<p class="aside-title">Swift</p>
258-
<pre class="highlight"><code><span class="n">open</span> <span class="nf">subscript</span><span class="p">(</span><span class="nv">string</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Classes/SocketIOClient.html">SocketIOClient</a></span><span class="p">?</span></code></pre>
262+
<pre class="highlight"><code><span class="n">open</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">sharedManager</span> <span class="o">=</span> <span class="kt">SocketClientManager</span><span class="p">()</span></code></pre>
259263

260264
</div>
261265
</div>
262-
<div>
263-
<h4>Return Value</h4>
264-
<p>The socket, if one had the given name.</p>
265-
</div>
266266
</section>
267267
</div>
268268
</li>
@@ -470,8 +470,8 @@ <h4>Declaration</h4>
470470
</article>
471471
</div>
472472
<section class="footer">
473-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
474-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
473+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
474+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
475475
</section>
476476
</body>
477477
</div>

Diff for: docs/Classes/SocketEngine.html

+6-34
Original file line numberDiff line numberDiff line change
@@ -418,34 +418,6 @@ <h4>Declaration</h4>
418418
</section>
419419
</div>
420420
</li>
421-
<li class="item">
422-
<div>
423-
<code>
424-
<a name="/s:vC8SocketIO12SocketEngine16doubleEncodeUTF8Sb"></a>
425-
<a name="//apple_ref/swift/Property/doubleEncodeUTF8" class="dashAnchor"></a>
426-
<a class="token" href="#/s:vC8SocketIO12SocketEngine16doubleEncodeUTF8Sb">doubleEncodeUTF8</a>
427-
</code>
428-
</div>
429-
<div class="height-container">
430-
<div class="pointer-container"></div>
431-
<section class="section">
432-
<div class="pointer"></div>
433-
<div class="abstract">
434-
<p>Set to <code>true</code> if using the node.js version of socket.io. The node.js version of socket.io
435-
handles utf8 incorrectly.</p>
436-
437-
</div>
438-
<div class="declaration">
439-
<h4>Declaration</h4>
440-
<div class="language">
441-
<p class="aside-title">Swift</p>
442-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">private(set)</span> <span class="k">var</span> <span class="nv">doubleEncodeUTF8</span> <span class="o">=</span> <span class="kc">true</span></code></pre>
443-
444-
</div>
445-
</div>
446-
</section>
447-
</div>
448-
</li>
449421
<li class="item">
450422
<div>
451423
<code>
@@ -1224,9 +1196,9 @@ <h4>Parameters</h4>
12241196
<li class="item">
12251197
<div>
12261198
<code>
1227-
<a name="/s:FC8SocketIO12SocketEngine18parseEngineMessageFTSS11fromPollingSb_T_"></a>
1228-
<a name="//apple_ref/swift/Method/parseEngineMessage(_:fromPolling:)" class="dashAnchor"></a>
1229-
<a class="token" href="#/s:FC8SocketIO12SocketEngine18parseEngineMessageFTSS11fromPollingSb_T_">parseEngineMessage(_:fromPolling:)</a>
1199+
<a name="/s:FC8SocketIO12SocketEngine18parseEngineMessageFSST_"></a>
1200+
<a name="//apple_ref/swift/Method/parseEngineMessage(_:)" class="dashAnchor"></a>
1201+
<a class="token" href="#/s:FC8SocketIO12SocketEngine18parseEngineMessageFSST_">parseEngineMessage(_:)</a>
12301202
</code>
12311203
</div>
12321204
<div class="height-container">
@@ -1241,7 +1213,7 @@ <h4>Parameters</h4>
12411213
<h4>Declaration</h4>
12421214
<div class="language">
12431215
<p class="aside-title">Swift</p>
1244-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">parseEngineMessage</span><span class="p">(</span><span class="n">_</span> <span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">fromPolling</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">)</span></code></pre>
1216+
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">parseEngineMessage</span><span class="p">(</span><span class="n">_</span> <span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span></code></pre>
12451217

12461218
</div>
12471219
</div>
@@ -1461,8 +1433,8 @@ <h4>Declaration</h4>
14611433
</article>
14621434
</div>
14631435
<section class="footer">
1464-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
1465-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
1436+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
1437+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
14661438
</section>
14671439
</body>
14681440
</div>

Diff for: docs/Classes/SocketIOClient.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1768,8 +1768,8 @@ <h4>Declaration</h4>
17681768
</article>
17691769
</div>
17701770
<section class="footer">
1771-
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-15)</p>
1772-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
1771+
<p>&copy; 2017 <a class="link" href="https://github.com/socketio/socket.io-client-swift" target="_blank" rel="external">Erik</a>. All rights reserved. (Last updated: 2017-05-27)</p>
1772+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
17731773
</section>
17741774
</body>
17751775
</div>

0 commit comments

Comments
 (0)