With the new update to Xcode 7.3, a lot of issues appeared related with the new version of Swift 3. One of them says \"C-style for statement is deprecated and will be remove
Here’s a simple solution:
var x = 0 while (x < foo.length && x < bar.length) { // Loop body goes here x += 1 }