Uncommenting the string extension
This commit is contained in:
parent
ea3bd02f6a
commit
057be73990
@ -23,12 +23,11 @@
|
||||
// THE SOFTWARE.
|
||||
|
||||
import Foundation
|
||||
|
||||
//extension String {
|
||||
// private var length:Int {
|
||||
// return count(self)
|
||||
// }
|
||||
//}
|
||||
extension String {
|
||||
private var length:Int {
|
||||
return count(self)
|
||||
}
|
||||
}
|
||||
|
||||
public final class SocketEngine: NSObject, WebSocketDelegate, SocketLogClient {
|
||||
private typealias Probe = (msg:String, type:PacketType, data:ContiguousArray<NSData>?)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user