Brand new to coding, Swift and CWC. Here goes,
In lesson 21 (Card Match app) we declare a new class, CardModel, in which we have a method, getCards, in which we declare an array generateCards into which we add the randomly generated cards and shuffle them. We then go to the ViewController and generate another array, cardsArray into which we execute the getCards method. My question, why declare a new array (cardsArray) when we already have one doing the same job (generateCards)?