🔨Xcode Project Setup
Fall 2023 | Vin Bui
Create a New Project
Go to File > New > Project
Select the iOS tab, choose App and click Next
You can leave everything alone except for the following:
Product Name: Enter the name of the app
Interface: Storyboard (yes, keep Storyboard even though we won’t be using it)
Language: Swift
Uncheck “Use Core Data”
Uncheck “Include Tests”

Choose a directory for your project and hit Create
Switch to Programmatic Layout
To utilize programmatic Auto Layout, delete
Main.storyboardfrom the Navigator in Xcode. Right click > Delete > Move to Trash


Press
CMD + SHIFT + For click on the 🔎 icon in the Navigator. Look upstoryboardand you should see something like this:

Click on the red box above and look up
storyboardin the filter search bar. SelectUIKit Main Storyboard File Base Nameand his Backspace on your keyboard to delete it.

Now select the blue box from step 2, or go to
Info.plistand deleteStoryboard Nameby clicking on the minus (-) symbol.

Setup SceneDelegate.swift
SceneDelegate.swiftAdd the following code to the function scene in SceneDelegate.swift
Last updated
Was this helpful?