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 {
6161 self . id = id
6262 }
6363
64- /// Only call if you know data is not nil
65- // func createBinaryPlaceHolders() {
66- // var strData = "\(self.data!)"
67- // }
68-
6964 func getEvent( ) -> String {
7065 return data? . removeAtIndex ( 0 ) as String
7166 }
Original file line number Diff line number Diff line change @@ -39,15 +39,12 @@ class SocketParser {
3939 }
4040
4141 if var arr = data as? [ AnyObject ] {
42- // var arr = data as [AnyObject]
4342 for i in 0 ..< arr. count {
4443 arr [ i] = ripAndTear ( arr [ i] )
4544 }
4645
4746 return arr
4847 } else if var newDict = data as? [ String : AnyObject ] {
49- // var newDict = data as [String: AnyObject]
50-
5148 for (key, value) in newDict {
5249 newDict [ key] = ripAndTear ( value)
5350 }
You can’t perform that action at this time.
0 commit comments