UIKit: Start your project without STORYBOARD in XCode 13.2

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

Select Interface ‘Storyboard’

[2] Delete Storyboard File

Delete Storyboard

[3] Go to your project and delete Main Interface

Delete Main
Leave it empty

[4] Go to your info.plist

Find Storyboard Name Property Inside Application Scene Manifest
Delete Property ‘Storyboard Name’

[5] Go to SceneDelegate and set RootViewController

Go to scene delegate
RootViewController

Test

Code
It works fine

It works perfectly!

Conclusion

  1. Delete Main.storyboard file
  2. Leave Project’s Deployment Info blank
  3. Delete Storyboard Name Property in Info.plist file
  4. Set Root View Controller in SceneDelegate

--

--

KD Knowledge Diet

Software Engineer, Mobile Developer living in Seoul. I hate people using difficult words. Why not using simple words? Keep It Simple Stupid!