Technical requirements
The completed Xcode playground and project for this chapter are in the Chapter14 folder of the code bundle for this book, which can be downloaded here:
https://github.com/PacktPublishing/iOS-16-Programming-for-Beginners-Seventh-Edition
Take a look at the following video to see the code in action:
Create a new playground and call it CollectionViewBasics. You can use this playground to type in and run all the code in this chapter as you go along. Before you do, let’s take a look at the Model-View-Controller design pattern, an approach commonly used to write iOS apps.