Swift手册第61页的Swift文档提示可以使用where常规条件连接可选绑定.然而,当我这样做时,我有一个警告,建议我where用以下代码中的逗号替换:
where
if let geocodingError = error as? NSError where geocodingError.code == 2
where optional ios swift swift3
ios ×1
optional ×1
swift ×1
swift3 ×1
where ×1