File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,6 @@ class SocketPacket {
61
61
self . id = id
62
62
}
63
63
64
- /// Only call if you know data is not nil
65
- // func createBinaryPlaceHolders() {
66
- // var strData = "\(self.data!)"
67
- // }
68
-
69
64
func getEvent( ) -> String {
70
65
return data? . removeAtIndex ( 0 ) as String
71
66
}
Original file line number Diff line number Diff line change @@ -39,15 +39,12 @@ class SocketParser {
39
39
}
40
40
41
41
if var arr = data as? [ AnyObject ] {
42
- // var arr = data as [AnyObject]
43
42
for i in 0 ..< arr. count {
44
43
arr [ i] = ripAndTear ( arr [ i] )
45
44
}
46
45
47
46
return arr
48
47
} else if var newDict = data as? [ String : AnyObject ] {
49
- // var newDict = data as [String: AnyObject]
50
-
51
48
for (key, value) in newDict {
52
49
newDict [ key] = ripAndTear ( value)
53
50
}
You can’t perform that action at this time.
0 commit comments