Download Xcode

The course is now fully up to date with the final version of Xcode 8.3 so you should use that version, which you can download from or https://developer.apple.com/download/ or directly from the Mac App Store. I would advise against using any beta versions from now on – they will just cause extra instability. Stick with …

Create Swift Arrays and Dictionary

Create arrays and dictionaries using brackets ([]), and access their elements by writing the index or key in brackets. A comma is allowed after the last element. var shoppingList = [“bread”, “eggs”, “water”, “jelly”] print(shoppingList[1]) var vehicles = [     “Toyota”: “Cars”,     “Harley”: “Bike”, ] vehicles[“Honda”] = “Coupe” print(vehicles[“Harley”]!) If you have …