Having boxes is great, but having data with nice pictures is so much more appealing. Let’s get some data displaying inside of our Collection View:
- Use cmd + Shift + O, which opens a small window called Open Quickly. Inside of the window, type ExploreView and hit Enter to select the ExploreViewController.swift file.
- Update our class definition from the ExploreViewController:UIViewController class to the following:
class ExploreViewController:UIViewController, UICollectionViewDataSource