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
Another way to do so would be like this
for i in 0 ..< 5 where i < products.count { }