Skip to content

Commit 467cfa4

Browse files
committed
Release v0.6.0
2 parents 3c5a484 + cd17117 commit 467cfa4

File tree

271 files changed

+7555
-11464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+7555
-11464
lines changed

.gitignore

Lines changed: 4 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
## CUSTOM
22

3-
Secrets.xcconfig
3+
Secrets.swift
44
*.p8
5-
fastlane/Credentials.json
5+
Credentials.json
66
build/
7-
swiftlint/build_phases/
7+
Scripts/build_phases/
88
SourcePackages/
9+
.swiftpm
910

1011
### macOS ###
1112
# General
@@ -47,23 +48,6 @@ Temporary Items
4748
## User settings
4849
xcuserdata/
4950

50-
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
51-
*.xcscmblueprint
52-
*.xccheckout
53-
54-
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
55-
build/
56-
DerivedData/
57-
*.moved-aside
58-
*.pbxuser
59-
!default.pbxuser
60-
*.mode1v3
61-
!default.mode1v3
62-
*.mode2v3
63-
!default.mode2v3
64-
*.perspectivev3
65-
!default.perspectivev3
66-
6751
## Obj-C/Swift specific
6852
*.hmap
6953

@@ -88,24 +72,6 @@ playground.xcworkspace
8872

8973
.build/
9074

91-
# CocoaPods
92-
# We recommend against adding the Pods directory to your .gitignore. However
93-
# you should judge for yourself, the pros and cons are mentioned at:
94-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
95-
# Pods/
96-
# Add this line if you want to avoid checking in source code from the Xcode workspace
97-
# *.xcworkspace
98-
99-
# Carthage
100-
# Add this line if you want to avoid checking in source code from Carthage dependencies.
101-
# Carthage/Checkouts
102-
103-
Carthage/Build/
104-
105-
# Accio dependency management
106-
Dependencies/
107-
.accio/
108-
10975
# fastlane
11076
# It is recommended to not store the screenshots in the git repo.
11177
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
@@ -117,12 +83,6 @@ fastlane/Preview.html
11783
fastlane/screenshots/**/*.png
11884
fastlane/test_output
11985

120-
# Code Injection
121-
# After new code Injection tools there's a generated folder /iOSInjectionProject
122-
# https://github.com/johnno1962/injectionforxcode
123-
124-
iOSInjectionProject/
125-
12686
### Xcode ###
12787

12888
## Xcode 8 and earlier
@@ -155,36 +115,10 @@ test_output/
155115
.keys
156116
*.swp
157117

158-
## Specific to Android
159-
.gradle/
160-
*.iml
161-
local.properties
162-
163-
## Specific to screengrab
164-
/screengrab/example/fastlane/metadata/
165-
/screengrab/target/
166-
167-
## Specific to RubyMotion:
168-
.dat*
169-
.repl_history
170-
build/
171-
172-
## Documentation cache and generated files:
173-
/.yardoc/
174-
/_yardoc/
175-
/doc/
176-
/rdoc/
177-
178118
## Environment normalisation:
179119
/.bundle/
180120
/lib/bundler/man/
181121

182-
# for a library or gem, you might want to ignore these files since the code is
183-
# intended to run in multiple environments; otherwise, check them in:
184-
# Gemfile.lock
185-
.ruby-version
186-
.ruby-gemset
187-
188122
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
189123
.rvmrc
190124

App/App.swift

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//
2+
// App.swift
3+
// ForPDA
4+
//
5+
// Created by Ilia Lubianoi on 20.03.2024.
6+
//
7+
8+
import SwiftUI
9+
import ComposableArchitecture
10+
import AppFeature
11+
12+
// MARK: - Main View
13+
14+
@main
15+
struct ForPDAApp: App {
16+
17+
@UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
18+
@Environment(\.scenePhase) private var scenePhase
19+
20+
var body: some Scene {
21+
WindowGroup {
22+
AppView(store: appDelegate.store)
23+
.onChange(of: scenePhase) { newScenePhase in
24+
appDelegate.store.send(.scenePhaseDidChange(from: scenePhase, to: newScenePhase))
25+
}
26+
.onOpenURL { url in
27+
appDelegate.store.send(.deeplink(url))
28+
}
29+
}
30+
}
31+
}
32+
33+
#Preview {
34+
AppView(store: Store(initialState: AppFeature.State()) { AppFeature() })
35+
}
36+
37+
// MARK: - App Delegate
38+
39+
final class AppDelegate: UIResponder, UIApplicationDelegate {
40+
41+
let store = Store(initialState: AppFeature.State()) {
42+
AppFeature()
43+
}
44+
45+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
46+
store.send(.appDelegate(.didFinishLaunching))
47+
return true
48+
}
49+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "appicon-light.png",
5+
"idiom" : "universal",
6+
"platform" : "ios",
7+
"size" : "1024x1024"
8+
},
9+
{
10+
"appearances" : [
11+
{
12+
"appearance" : "luminosity",
13+
"value" : "dark"
14+
}
15+
],
16+
"filename" : "appicon-dark.png",
17+
"idiom" : "universal",
18+
"platform" : "ios",
19+
"size" : "1024x1024"
20+
},
21+
{
22+
"appearances" : [
23+
{
24+
"appearance" : "luminosity",
25+
"value" : "tinted"
26+
}
27+
],
28+
"filename" : "appicon-tinted.png",
29+
"idiom" : "universal",
30+
"platform" : "ios",
31+
"size" : "1024x1024"
32+
}
33+
],
34+
"info" : {
35+
"author" : "xcode",
36+
"version" : 1
37+
}
38+
}
Loading
Loading
Loading
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "four-black.png",
5+
"idiom" : "universal"
6+
},
7+
{
8+
"appearances" : [
9+
{
10+
"appearance" : "luminosity",
11+
"value" : "dark"
12+
}
13+
],
14+
"filename" : "four-white.png",
15+
"idiom" : "universal"
16+
}
17+
],
18+
"info" : {
19+
"author" : "xcode",
20+
"version" : 1
21+
}
22+
}

0 commit comments

Comments
 (0)