Replaced eachWithIndex int with NSUInteger to fix implicit conversion compiler warning