Delete Storyboard (Xcode 14 Edition)

I do this all the time!

Steven Curtis
5 min readDec 21, 2022
Photo by Sam Pak on Unsplash

Difficulty: Beginner | Easy | Normal | Challenging

I’ve written an article detailing the advantages of using loadView() instead of storyboards.

You know what, I love using programmatic interfaces while making my Apps. I wrote an article about removing them, but since I tend to do this so often I thought this

This article has been developed using Xcode 14.2 and Swift 5.7.2

Prerequisites:

This article has been written to allow you to write code using loadView() like in my article featuring Playgrounds, and one suitable for Xcode versions previous to 14. In this article, you’ll be expected to be aware of how to make a Single View Application in Swift.

Getting Started

Once you’ve created a Single View Application, you’re presented with something like the following image:

What’s the problem? Can you see on the left-hand side? Beside your projects? We have a storyboard there — and the whole point is we aren’t going to be using it. If we delete it, we won’t get…

--

--