Learn Courses My Dashboard


How do I get a viewcontroller when I add a new program?

What do you mean for program?

I meant new app.

Choose Storyboard from the Interface menu when creating the project. When you use a storyboard for the user interface instead of SwiftUI, you will get a view controller file as part of the project. See the following article if you need more detailed instructions:

Xcode Missing View Controllers