Swift 2.2 & Xcode 7.3 Updates

These are important Swift 2.2 and Xcode 7.3 updates that will likely affect your code.

Time to go through you projects and update :)

Loop Options With Indices

for x in 0..<myList.count {
  print("The index is: \(x)")
}

for x in 0...myList.count - 1 {
  print("The index is: \(x)")
}

for (index, value) in shoppingList.enumerate() {
    print("Item \(index + 1): \(value)")
}

for x in myArray.indices {
  print(myArray[x])
}