Merge pull request #53 from CallumOz/master
Fixed the use of the ?? operator because Swift is broken
This commit is contained in:
commit
e6ecf34507
@ -366,7 +366,7 @@ public final class SocketIOClient: NSObject, SocketEngineClient, SocketLogClient
|
|||||||
SocketLogger.log("Client: Handling ack: \(ack) with data: \(data)", client: self)
|
SocketLogger.log("Client: Handling ack: \(ack) with data: \(data)", client: self)
|
||||||
|
|
||||||
self.ackHandlers.executeAck(ack,
|
self.ackHandlers.executeAck(ack,
|
||||||
items: data as? [AnyObject]? ?? data != nil ? [data!] : nil)
|
items: (data as? [AnyObject]?) ?? (data != nil ? [data!] : nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user