there's a typealias for a reason
This commit is contained in:
parent
40ac53844d
commit
7382030dff
@ -41,7 +41,7 @@ public enum SocketIOClientOptions: String {
|
||||
case HandleQueue = "handleQueue"
|
||||
|
||||
static func NSDictionaryToSocketOptionsDictionary(dict: NSDictionary) -> SocketOptionsDictionary {
|
||||
var options = [SocketIOClientOptions: AnyObject]()
|
||||
var options = SocketOptionsDictionary()
|
||||
|
||||
for (rawKey, value) in dict {
|
||||
if let key = rawKey as? String, opt = SocketIOClientOptions(rawValue: key) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user