在Swift 2中,我们可以轻松添加保护声明的位置
guard let varA = 1 where varB == 2 else {return}
但是where在swift 3中删除了,我怎么能在Swift 3中做到这一点?
where
swift3
swift3 ×1