Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SwiftUI app based template #24

Merged
merged 23 commits into from
May 18, 2024
Merged

Added SwiftUI app based template #24

merged 23 commits into from
May 18, 2024

Conversation

Luki120
Copy link
Contributor

@Luki120 Luki120 commented Feb 12, 2022

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 the UITableView code and add the basic one a ContentView.swift should have. Since the AppDelegate lifecycle was abandoned with the introduction of the App 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

@Luki120 Luki120 marked this pull request as draft February 12, 2022 08:58
@Luki120 Luki120 changed the title Added SwiftUI template Added SwiftUI app based template Feb 12, 2022
ios/application_swiftui/Resources/Info.plist Outdated Show resolved Hide resolved
ios/application_swiftui/control Outdated Show resolved Hide resolved
@L1ghtmann
Copy link
Member

Had a couple of comments but this looks good to me otherwise! Awesome work.

@Luki120 Luki120 marked this pull request as ready for review July 30, 2023 23:35
@Luki120
Copy link
Contributor Author

Luki120 commented Jul 30, 2023

I believe this is ready now that the launch images and libswift dependency issues were addressed, so I removed the draft status

Copy link
Member

@kabiroberai kabiroberai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in principle, just one request wrt the launch screen.

ios/application_swiftui/Resources/Info.plist Outdated Show resolved Hide resolved
Copy link
Member

@leptos-null leptos-null left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. Excited to get this in. Thanks Luki for your research, testing, and contribution.

Copy link
Member

@L1ghtmann L1ghtmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice work!

Copy link
Member

@kabiroberai kabiroberai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@leptos-null leptos-null merged commit 27e7754 into theos:master May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants