Standard AppDelegate.swift file template for Xcode 11.0+ for those who prefer the ol' reliable. 😎
From your terminal run:
sh installnewtemplate.sh
This command installs the template into your Xcode application where you'll be able to select it & use it in your projects rather than the newly AppDelegate.swift file that leverages the SceneDelegate.
This template allows you to have the standard AppDelegate.swift boilerplate code from Xcode versions 10.3 & below.
- To use this file as your standard
AppDelegate.swiftfile without theSceneDelegateboilerplate do the following:- Delete the current
AppDelegate.swiftfile in your project. 🚫 - Also delete the
SceneDelegate.swiftfile. 🗑 - Go to your project's
Info.plistfile and delete theApplicationSceneManifestkey and its 2 items. 🚮 - Once you've deleted the
ApplicationManifestKeyfrom your project'sInfo.plist, create a new file and select your brand new AppDelegate template file. 🎉 - Name it
AppDelegatein the File placeholder text within Save As which you'll be saving as your brand newAppDelegate.swiftfile. 💾
- Delete the current

