是否可以将范围运算符...和..<与if语句一起使用。可能是这样的:
...
..<
let statusCode = 204 if statusCode in 200 ..< 299 { NSLog("Success") }
https://stackoverflow.com/questions/24893110
相似问题