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+
}
Loading
Loading

ForPDA/Info.plist renamed to App/Info.plist

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>CFBundleLocalizations</key>
6+
<array>
7+
<string>en </string>
8+
<string>ru</string>
9+
</array>
510
<key>CFBundleURLTypes</key>
611
<array>
712
<dict>
@@ -17,31 +22,12 @@
1722
</array>
1823
<key>ITSAppUsesNonExemptEncryption</key>
1924
<false/>
20-
<key>SECRET_KEYS</key>
21-
<dict>
22-
<key>MIXPANEL_TOKEN</key>
23-
<string>$(MIXPANEL_TOKEN)</string>
24-
<key>SENTRY_DSN</key>
25-
<string>$(SENTRY_DSN)</string>
26-
<key>SENTRY_DSYM_TOKEN</key>
27-
<string>$(SENTRY_DSYM_TOKEN)</string>
28-
</dict>
2925
<key>UIApplicationSceneManifest</key>
3026
<dict>
3127
<key>UIApplicationSupportsMultipleScenes</key>
3228
<false/>
3329
<key>UISceneConfigurations</key>
34-
<dict>
35-
<key>UIWindowSceneSessionRoleApplication</key>
36-
<array>
37-
<dict>
38-
<key>UISceneConfigurationName</key>
39-
<string>Default Configuration</string>
40-
<key>UISceneDelegateClassName</key>
41-
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
42-
</dict>
43-
</array>
44-
</dict>
30+
<dict/>
4531
</dict>
4632
</dict>
4733
</plist>

App/LaunchScreen.storyboard

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23090" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina6_12" orientation="portrait" appearance="light"/>
4+
<dependencies>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23079"/>
7+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
8+
<capability name="System colors in document resources" minToolsVersion="11.0"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10+
</dependencies>
11+
<scenes>
12+
<!--View Controller-->
13+
<scene sceneID="EHf-IW-A2E">
14+
<objects>
15+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
16+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
17+
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
18+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19+
<subviews>
20+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="obG-Y5-kRd">
21+
<rect key="frame" x="0.0" y="832" width="393" height="0.0"/>
22+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
23+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
24+
<nil key="highlightedColor"/>
25+
</label>
26+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="splash" translatesAutoresizingMaskIntoConstraints="NO" id="KIY-Id-QAb">
27+
<rect key="frame" x="137.66666666666666" y="379.66666666666669" width="117.66666666666666" height="117.66666666666669"/>
28+
<constraints>
29+
<constraint firstAttribute="width" secondItem="KIY-Id-QAb" secondAttribute="height" multiplier="1:1" id="FWj-jn-bZ5"/>
30+
</constraints>
31+
</imageView>
32+
</subviews>
33+
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
34+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
35+
<constraints>
36+
<constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="obG-Y5-kRd" secondAttribute="centerX" id="5cz-MP-9tL"/>
37+
<constraint firstItem="KIY-Id-QAb" firstAttribute="width" secondItem="Ze5-6b-2t3" secondAttribute="width" multiplier="0.3" id="Nib-ma-cCr"/>
38+
<constraint firstItem="obG-Y5-kRd" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="SfN-ll-jLj"/>
39+
<constraint firstAttribute="bottom" secondItem="obG-Y5-kRd" secondAttribute="bottom" constant="20" id="Y44-ml-fuU"/>
40+
<constraint firstItem="KIY-Id-QAb" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="e1q-G4-Wlm"/>
41+
<constraint firstItem="KIY-Id-QAb" firstAttribute="centerY" secondItem="Bcu-3y-fUS" secondAttribute="centerY" id="uGq-Gl-iIH"/>
42+
</constraints>
43+
</view>
44+
</viewController>
45+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
46+
</objects>
47+
<point key="canvasLocation" x="53" y="375"/>
48+
</scene>
49+
</scenes>
50+
<resources>
51+
<image name="splash" width="432" height="469"/>
52+
<systemColor name="systemBackgroundColor">
53+
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
54+
</systemColor>
55+
</resources>
56+
</document>

0 commit comments

Comments
 (0)