First, you will make a new Explore group in your project to keep things organized. Next, you will add a Cocoa Touch Class file, ExploreViewController.swift, to this group. This is where you will declare and define the ExploreViewController class, which will contain the properties and methods that control the collection view that you added to the View Controller Scene earlier. Follow these steps to do so:
- Right-click on the LetsEat group in the Project navigator and choose New Group.
- The name of the group will be highlighted. Change it to Explore and press Return on the keyboard when you're done:
If you make a mistake, press Return once more. This makes the field editable so that you can make ...