Skip to content

Commit 057be73

Browse files
committed
Uncommenting the string extension
1 parent ea3bd02 commit 057be73

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

SocketIOClientSwift/SocketEngine.swift

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@
2323
// THE SOFTWARE.
2424

2525
import Foundation
26-
27-
//extension String {
28-
// private var length:Int {
29-
// return count(self)
30-
// }
31-
//}
26+
extension String {
27+
private var length:Int {
28+
return count(self)
29+
}
30+
}
3231

3332
public final class SocketEngine: NSObject, WebSocketDelegate, SocketLogClient {
3433
private typealias Probe = (msg:String, type:PacketType, data:ContiguousArray<NSData>?)

0 commit comments

Comments
 (0)