Closed Mqhong closed 8 years ago
Change the 'error' can not identify by if
SwiftR line 375 to 385
may there is a bug in swift—— if the parameters‘s type are AnyObject and the value is 'nil' , the if judgement not work.
Thanks. I think I'd like to fix it like this...
let error = json["error"] as AnyObject?
Let me know if you have any concerns with that.
Fixed in v0.10.5.
It was great to your approach
Change the 'error' can not identify by if
SwiftR line 375 to 385
may there is a bug in swift—— if the parameters‘s type are AnyObject and the value is 'nil' , the if judgement not work.