Single Views Apps in Xcode 15

304 views Asked by At

I am pretty new with Xcode, and I was trying to follow some tutorials online and they all told me to use a "Single-View App". When I create a project, I only see App option. I searched other similar posts but none of them really helped. I do understand that Apple changed it so that after you select "App" you can select an option to use UIKit, but it doesn't show up for me.

What should I do?

I did already try to follow the tutorial with the "App" option but UIKit doesn't exist in there.

1

There are 1 answers

0
benc On

Sigh. This is why tutorials should version their toolchain dependencies.

"iOS" should be the default.

Pick "App".

There should be an "Interface" menu that defaults to SwiftUI.

Select Storyboard.

This will use UIKit based templates…

//  AppDelegate.swift
//  junk project
//
//  Created by MQ Test on 11/2/23.
//

import UIKit

Warning: if your tutorial is really old, you might run into later problems with the storyboard templates. They should be cosmetic problems, but this should get you unblocked.