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

Edit template for creating SwiftUI application #201

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.1.0] - 2024-04-01
### Changed
- Изменил template на создание SwiftUI приложения

## [2.0.1] - 2024-03-28
### Changed
- Обновил SwiftGen до версии 6.6.3
Expand Down
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Project",
"organization": "Organization",
"bundle_id": "com.organization",
"deployment_target": "11.0",
"deployment_target": "14.0",
"development_team_id": "",
"match_repo_url": "",
"ipad": [
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.name }}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ The resulted encrypted file should be committed to the repository.

---

This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 2.0.1.
This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 2.1.0.
31 changes: 0 additions & 31 deletions {{ cookiecutter.name }}/{{ cookiecutter.name }}/AppDelegate.swift

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import SwiftUI

@main
struct Application: App {
var body: some Scene {
WindowGroup {
RootView()
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import SwiftUI

struct RootView: View {
var body: some View {
Text("Hello, App")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
</dict>
</array>
</dict>
</dict>
<key>UILaunchScreen</key>
<dict/>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>UIViewControllerBasedStatusBarAppearance</key>
Expand Down

This file was deleted.

Loading