UIKit: Start your project without STORYBOARD in XCode 13.2
May 10, 2022
Although I love SwiftUI, many companies still choose UIKit. And in case of collaborating with many developers, the larger the company, the less storyboards are used. Today, I will show you how to set up a project without a storyboard. Very easy.
[1] Create Project with UIKit Selected
[2] Delete Storyboard File
[3] Go to your project and delete Main Interface
[4] Go to your info.plist
[5] Go to SceneDelegate and set RootViewController
Test
It works perfectly!
Conclusion
- Delete Main.storyboard file
- Leave Project’s Deployment Info blank
- Delete Storyboard Name Property in Info.plist file
- Set Root View Controller in SceneDelegate