(SwiftUI) Where is SceneDelegate.swift in Xcode 12.1

I'm learning SwiftUI from a book.
I'm stuck on the @EnvironmentObject chapter as there is no SceneDelegate.swift file

Is there a new way to implement an EnvironmentObject??
What version of Xcode are you using?

When you create a new project of iOS App in Xcode 12.x, you can choose:
  • Interface: SwiftUI

  • Life Cycle: UIKit App Delegate

  • Language: Swift

Have you chosen UIKit App Delegate for Life Cycle?

What version of Xcode are you using?

Sorry, I missed the title.

Please create a new project as I wrote. (Tested with Xcode 12.1.)

Hello

Project type "Life Cycle: UIKit App Delegate" doesn't exist within Xcode 13.2.1 What can we do then ?

go [Project Name]App file, now this view file include app delegate and scene delegate

(SwiftUI) Where is SceneDelegate.swift in Xcode 12.1
 
 
Q