How would you express a decrementing indexed loop in Swift 3.0, where the syntax below is not valid any more?
for var index = 10 ; index > 0; index-=1{
You can use stride method:
stride
10.stride(through: 0, by: -1).forEach { print($0) }
or classic while loop.