本文共 124 字,大约阅读时间需要 1 分钟。
SWIFT中的repeat...while类似于JAVA\.NET中的 do while.大同小异只是把do换成了repeat
var index = 10repeat{ print(index) index--} while(index>0)
转载地址:http://hntrl.baihongyu.com/