If you create an array with four items, Swift will allocate enough ... So, both yourArray.count and yourArray.capacity will be equal to 4.
確定! 回上一頁