Swift 3.0 中是否有条件控制循环,只要条件为假,后测就会执行?如果不是,那么 Swift 3.0 中的 do-until 循环是什么?等效项的性能优势是什么?
最佳答案
使用 repeat-while 循环:
repeat {
} while !condition
关于swift - Swift 3.0 中的 do-until 循环,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39778906/