templates
templates copied to clipboard
Added SwiftUI app based template
What does this implement/fix? Explain your changes.
- This implements a new template for applications written in Swift using the fairly new framework Apple announced in WWDC19, SwiftUI. I made this because before I would just choose the regular Swift template, but I found myself having to delete the
RootViewController.swift
everytime or just delete all theUITableView
code and add the basic one aContentView.swift
should have. Since the AppDelegate lifecycle was abandoned with the introduction of theApp
protocol following iOS 14, I also needed to add the basic code for a file like that, and only then I could start writing the actual code. SwiftUI is also based on structs so it makes sense (to me), having a separate template from the original UIKit one, besides this has become really convenient since I started using it so I thought I'd make a contribution here so everyone can hopefully use it if they wish to.
Does this close any currently open issues?
Any relevant logs, error output, etc?
Any other comments?
Where has this been tested?
Operating System: … Kubuntu 22.04.3 LTS x86_64
Platform: …
Target Platform: … iOS/iPadOS
Toolchain Version: … Swift 5.8
SDK Version: … 15.5
Had a couple of comments but this looks good to me otherwise! Awesome work.
I believe this is ready now that the launch images and libswift dependency issues were addressed, so I removed the draft status