Xcode project setup tutorial: You can speed up you development by creating custom project templates. If you find yourself setting up the same settings, files or folders for multiple of you new projects, it might save you a lot of time to leverage Xcode templates.
I will explain you how Xcode project templates are used for the default templates that are shipped with Xcode. I will then copy an existing template and customise it. My template will create projects that use AppDelegate/SceneDelegate with SwiftUI similar to another Youtube tutorial. You can find the reference here:
[ Ссылка ]
This tutorial was built using Xcode 13.3 and Swift 5.6
Templates shipped with Xcode
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/iOS/Application
Location for you custom Xcode templates
~/Library/Developer/Xcode
Create template folder
Overview
00:00 introduction
01:47 default templates with Xcode
08:44 setup custom templates
15:36 use custom templates
17:21 adding files to a template
23:09 add custom code to the SceneDelegate
28:42 Wrap up
If you liked what you learned and you want to see more, check out one of my courses!
👨💻 my SwiftUI course [ Ссылка ]
👨💻 my Core Data and SwiftUI course [ Ссылка ]
👩🏻💻 Combine course
[ Ссылка ]
⬇️ Project files: [ Ссылка ]
#Xcode #Templates
Ещё видео!