Today when I opened a old project with xCode 8.1, more than 300 errors related to for loop appeared. For the code as below,
for (i in 0 ..< (dataSets?.count)!)
{
It complained "Expected "," separator", "Expected in after for-each pattern". How can I fix this? What's the best way to correct all 300 locations?