Setting up our cell

In Main.storyboard, select the small box inside of your Collection View. The small box is your Collection View prototype cell:

  1. Open the Attributes inspector in the Utilities Panel.
  2. Update the following:
    • Identifier: restaurantCell
    • Background: Demo Grey
  1. Control + drag from the explore cell to Restaurant View Controller:
  1. When you let go, you are presented with the following menu—select Show:

Now, let's run the project by hitting the Play button (or using Command + R). You will now be able to tap on an explore cell ...

Get iOS 12 Programming for Beginners - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.