I'm following an iOS course and the course shows for
this way:
for var i = 1; i <= 10; i++ {
}
But I have an error message, has that changed? How could this be done in the new way?
error: CreatingLoop.playground: 6: 1: error: C-style for statement has been removed in Swift 3