Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Haasini Beeravolu616 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,831 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