Siddhant Angore
Siddhant Angore

Reputation: 87

Main.storyboard file not showing up in my new Xcode project?

The new Xcode project does not have any main.storyboard file in the showing the project please help with this problem.

img

Upvotes: 4

Views: 11044

Answers (1)

Nico Griffioen
Nico Griffioen

Reputation: 5405

You have SwiftUI enabled in your project, which does not use storyboards anymore.

Your layout is inside the ContentView.swift file.

If you do want to work the old way, with storyboards, you should uncheck 'Use SwiftUI' in the project creation screen.

From RayWenderlich (Image is from this article. Which is a good place to get started.)

Upvotes: 9

Related Questions