The resource files and completed Xcode project for this chapter are in the Chapter13 folder of the code bundle for this book, which can be downloaded here:
https://github.com/PacktPublishing/iOS-13-Programming-for-Beginners.
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 this, let's take a look at the MVC design pattern, which describes an approach commonly used in writing iOS apps.
Take a look at the following video to see the code in action: