There was an update for Swift 2 on using enumerate().
Instead of enumerate(...)
, people should use
... .enumerate()
The reason is that many global functions have been replaced by protocol extension methods and they will get an enumerate error.
Hope this helps.
All the best.
n