Learn Courses My Dashboard

Module 2 lesson 13

When I change the struct content view to Recipe List View it keeps saying build failed. I went through and did the control click to rename it and also did it manually. It still says it doesn’t conform to the view method. Is there another way to change it that I am missing?

can you show a screenshot of the error?

I got it to work I kept messing with it for awhile

When you want to rename a View, such as ContentView, you should select the name of the View and then right click and choose Refactor > Rename.

Xcode will find all the references to that View that match. The Xcode editor will change to show each appearance of that name. Type the new name where the cursor is highlighted and either press Enter or over on the top right of the editing window select Rename (or Cancel if you change your mind).