In Swift arrays are zero-indexed. The first element index is 0 , to get the last element index we need to subtract the array.count property with 1 .
確定! 回上一頁