StackOverflow 文档 Swift Language 教程 循环 循环 循环 Created: November-22, 2018 只要条件为真,就会执行 while 循环。 var count = 1 while count < 10 { print("This is the \(count) run of the loop") count += 1 } 打破一个循环每个块的序列类型