Arrays in Swift are zero indexed i.e. use index 0 to access the first element in the array. Lines 2 and 3 below show how we can get the element at index 0 and 2 ...
確定! 回上一頁