Skip to content

Commit 9ed2bc1

Browse files
committed
First Commit
0 parents  commit 9ed2bc1

36 files changed

+565
-0
lines changed

.gitignore

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# User-specific files
2+
*.xcuserstate
3+
*.xcworkspace
4+
!default.xcworkspace
5+
xcuserdata/
6+
7+
# Build generated files
8+
build/
9+
DerivedData/
10+
*.ipa
11+
*.app.dSYM.zip
12+
*.app.dSYM
13+
14+
# Code signing
15+
*.mobileprovision
16+
*.xcconfig
17+
18+
# Carthage dependencies
19+
Carthage/Build/
20+
21+
# CocoaPods dependencies
22+
Pods/
23+
Podfile.lock
24+
podspec.json
25+
26+
# Swift Package Manager
27+
/.build/
28+
Package.resolved
29+
# Add this line if you have a checked out version of your package
30+
# workspace that you want to exclude
31+
Package.pins
32+
# Add this line if you use a versioned generated Xcode project
33+
# workspace from SPM
34+
*.xcodeproj*
35+
36+
# Other
37+
.DS_Store
38+
*.swp
39+
*.swo
40+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "display-p3",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0xD6",
9+
"green" : "0xA4",
10+
"red" : "0x53"
11+
}
12+
},
13+
"idiom" : "universal"
14+
}
15+
],
16+
"info" : {
17+
"author" : "xcode",
18+
"version" : 1
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
{
2+
"images" : [
3+
{
4+
"size" : "20x20",
5+
"idiom" : "iphone",
6+
"filename" : "Icon-Notification@2x.png",
7+
"scale" : "2x"
8+
},
9+
{
10+
"size" : "20x20",
11+
"idiom" : "iphone",
12+
"filename" : "Icon-Notification@3x.png",
13+
"scale" : "3x"
14+
},
15+
{
16+
"size" : "29x29",
17+
"idiom" : "iphone",
18+
"filename" : "Icon-Small@2x.png",
19+
"scale" : "2x"
20+
},
21+
{
22+
"size" : "29x29",
23+
"idiom" : "iphone",
24+
"filename" : "Icon-Small@3x.png",
25+
"scale" : "3x"
26+
},
27+
{
28+
"size" : "40x40",
29+
"idiom" : "iphone",
30+
"filename" : "Icon-Small-40@2x.png",
31+
"scale" : "2x"
32+
},
33+
{
34+
"size" : "40x40",
35+
"idiom" : "iphone",
36+
"filename" : "Icon-Small-40@3x.png",
37+
"scale" : "3x"
38+
},
39+
{
40+
"size" : "60x60",
41+
"idiom" : "iphone",
42+
"filename" : "Icon-60@2x.png",
43+
"scale" : "2x"
44+
},
45+
{
46+
"size" : "60x60",
47+
"idiom" : "iphone",
48+
"filename" : "Icon-60@3x.png",
49+
"scale" : "3x"
50+
},
51+
{
52+
"size" : "1024x1024",
53+
"idiom" : "ios-marketing",
54+
"filename" : "icon.png",
55+
"scale" : "1x"
56+
},
57+
{
58+
"size" : "20x20",
59+
"idiom" : "ipad",
60+
"filename" : "Icon-Notification.png",
61+
"scale" : "1x"
62+
},
63+
{
64+
"size" : "20x20",
65+
"idiom" : "ipad",
66+
"filename" : "Icon-Notification@2x.png",
67+
"scale" : "2x"
68+
},
69+
{
70+
"size" : "29x29",
71+
"idiom" : "ipad",
72+
"filename" : "Icon-Small.png",
73+
"scale" : "1x"
74+
},
75+
{
76+
"size" : "29x29",
77+
"idiom" : "ipad",
78+
"filename" : "Icon-Small@2x.png",
79+
"scale" : "2x"
80+
},
81+
{
82+
"size" : "40x40",
83+
"idiom" : "ipad",
84+
"filename" : "Icon-Small-40.png",
85+
"scale" : "1x"
86+
},
87+
{
88+
"size" : "40x40",
89+
"idiom" : "ipad",
90+
"filename" : "Icon-Small-40@2x.png",
91+
"scale" : "2x"
92+
},
93+
{
94+
"size" : "76x76",
95+
"idiom" : "ipad",
96+
"filename" : "Icon-76.png",
97+
"scale" : "1x"
98+
},
99+
{
100+
"size" : "76x76",
101+
"idiom" : "ipad",
102+
"filename" : "Icon-76@2x.png",
103+
"scale" : "2x"
104+
},
105+
{
106+
"size" : "83.5x83.5",
107+
"idiom" : "ipad",
108+
"filename" : "Icon-83.5@2x.png",
109+
"scale" : "2x"
110+
}
111+
],
112+
"info" : {
113+
"version" : 1,
114+
"author" : "xcode"
115+
}
116+
}
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "character-1.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "character-2.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "display-p3",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0xD6",
9+
"green" : "0xA4",
10+
"red" : "0x53"
11+
}
12+
},
13+
"idiom" : "universal"
14+
},
15+
{
16+
"appearances" : [
17+
{
18+
"appearance" : "luminosity",
19+
"value" : "dark"
20+
}
21+
],
22+
"color" : {
23+
"color-space" : "display-p3",
24+
"components" : {
25+
"alpha" : "1.000",
26+
"blue" : "0xD6",
27+
"green" : "0xA4",
28+
"red" : "0x53"
29+
}
30+
},
31+
"idiom" : "universal"
32+
}
33+
],
34+
"info" : {
35+
"author" : "xcode",
36+
"version" : 1
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "display-p3",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0x76",
9+
"green" : "0x79",
10+
"red" : "0xC6"
11+
}
12+
},
13+
"idiom" : "universal"
14+
},
15+
{
16+
"appearances" : [
17+
{
18+
"appearance" : "luminosity",
19+
"value" : "dark"
20+
}
21+
],
22+
"color" : {
23+
"color-space" : "display-p3",
24+
"components" : {
25+
"alpha" : "1.000",
26+
"blue" : "0x76",
27+
"green" : "0x79",
28+
"red" : "0xC6"
29+
}
30+
},
31+
"idiom" : "universal"
32+
}
33+
],
34+
"info" : {
35+
"author" : "xcode",
36+
"version" : 1
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
}
6+
}

RestartApplication/Info.plist

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>UILaunchScreen</key>
6+
<dict>
7+
<key>UIColorName</key>
8+
<string>ColorBlue</string>
9+
<key>UILaunchScreen</key>
10+
<dict/>
11+
</dict>
12+
</dict>
13+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// RestartApplicationApp.swift
3+
// RestartApplication
4+
//
5+
// Created by Reza on 5/7/2024.
6+
//
7+
8+
import SwiftUI
9+
10+
@main
11+
struct RestartApplicationApp: App {
12+
var body: some Scene {
13+
WindowGroup {
14+
ContentView()
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
//
2+
// ContentView.swift
3+
// RestartApplication
4+
//
5+
// Created by Reza on 5/7/2024.
6+
//
7+
8+
import SwiftUI
9+
10+
struct ContentView: View {
11+
12+
@AppStorage("onboarding") var isOnboardingViewActive: Bool = true
13+
14+
var body: some View {
15+
ZStack {
16+
if isOnboardingViewActive {
17+
OnBoardingView()
18+
}else {
19+
HomeView()
20+
}
21+
}
22+
}
23+
}
24+
25+
#Preview {
26+
ContentView()
27+
}

0 commit comments

Comments
 (0)