Haasini Beeravolu45 Points
Unable to find icon.
I named the same thing as Pasan and everything, although I still can't find the icon that says main.storyboard. I have evrything else but that. Does it only work for some people or something?
Michael HuletTreehouse Moderator 47,709 Points
This workshop was recorded what feels like an eternity ago, and so much has changed in Xcode since then, especially around setting up a new project. First of all, on the first screen you're presented with, you no longer select "Single View App", but rather just "App" under the "iOS" section
Since then, Apple also came out with a whole new UI framework called SwiftUI, which is now the default in Xcode. However, you can still choose to have Xcode generate the usual UIKit & Storyboard interfaces instead of the new SwiftUI setups, but you have to specify it manually by changing the "Interface" option to "Storyboard" and the "Life Cycle" option to "UIKit App Delegate"
Note that 2 storyboard files will be generated: a
Main.storyboard and a
Main.storyboard is your app's main interface that will be presented to the user when your app is running, and the
LaunchScreen.storyboard is the screen that's briefly presented to the user while your app is launching, before it's ready for user interaction. The
Main.storyboard will contain all of your app's interface, and the
LaunchScreen.storyboard will only show for a split second when the user first opens your app. If you select "SwiftUI" to be your app's interface, Xcode will still generate a
LaunchScreen.storyboard that is presented only while your app is starting up, which you should not change the name of, and will never be presented in any other context