[Solved] What does the .0 and .1 mean Swift 3.0.1


The .0 in somePoint.0 is accessing the first element (at index 0) of the tuple somePoint. .1 is accessing the second element (at index 1).

As others have pointed out, this is covered in the first section of the language guide, “The Basics”.

3

solved What does the .0 and .1 mean Swift 3.0.1