Skip to content

Commit d3fc5c0

Browse files
committed
about page
1 parent 7816fbf commit d3fc5c0

File tree

7 files changed

+91
-4
lines changed

7 files changed

+91
-4
lines changed

FitCount.xcodeproj/project.pbxproj

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
920A3EF32A1F801A00EC6FC9 /* Workout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920A3EF22A1F801A00EC6FC9 /* Workout.swift */; };
1414
920A3EF62A20B14100EC6FC9 /* PagerTabStripView in Frameworks */ = {isa = PBXBuildFile; productRef = 920A3EF52A20B14100EC6FC9 /* PagerTabStripView */; };
1515
924D6E222A264B3600227183 /* JsonWriter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 924D6E212A264B3600227183 /* JsonWriter.swift */; };
16+
924D6E252A289ED700227183 /* AboutView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 924D6E242A289ED700227183 /* AboutView.swift */; };
1617
927261A42A24EF0B00C3B390 /* HistoryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 927261A32A24EF0B00C3B390 /* HistoryView.swift */; };
1718
92C702F92A1BC705002ECC0B /* QuickPoseBasicView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92C702F82A1BC705002ECC0B /* QuickPoseBasicView.swift */; };
1819
92C702FC2A1BC74A002ECC0B /* QuickPoseCamera in Frameworks */ = {isa = PBXBuildFile; productRef = 92C702FB2A1BC74A002ECC0B /* QuickPoseCamera */; };
@@ -54,6 +55,7 @@
5455
920A3EF02A1F7C2300EC6FC9 /* WorkoutResultsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WorkoutResultsView.swift; sourceTree = "<group>"; };
5556
920A3EF22A1F801A00EC6FC9 /* Workout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Workout.swift; sourceTree = "<group>"; };
5657
924D6E212A264B3600227183 /* JsonWriter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JsonWriter.swift; sourceTree = "<group>"; };
58+
924D6E242A289ED700227183 /* AboutView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AboutView.swift; sourceTree = "<group>"; };
5759
927261A32A24EF0B00C3B390 /* HistoryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HistoryView.swift; sourceTree = "<group>"; };
5860
92C702F82A1BC705002ECC0B /* QuickPoseBasicView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QuickPoseBasicView.swift; sourceTree = "<group>"; };
5961
92C703032A1D049E002ECC0B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -105,6 +107,7 @@
105107
920A3EED2A1F76D400EC6FC9 /* Workout */ = {
106108
isa = PBXGroup;
107109
children = (
110+
92CACFFA2A1B8F9D00DA2B40 /* ExerciseDetailsView.swift */,
108111
92C702F82A1BC705002ECC0B /* QuickPoseBasicView.swift */,
109112
92CACFFC2A1B99A500DA2B40 /* WorkoutView.swift */,
110113
920A3EEE2A1F76F800EC6FC9 /* BoundingBoxView.swift */,
@@ -114,6 +117,22 @@
114117
path = Workout;
115118
sourceTree = "<group>";
116119
};
120+
924D6E232A289EB600227183 /* About */ = {
121+
isa = PBXGroup;
122+
children = (
123+
924D6E242A289ED700227183 /* AboutView.swift */,
124+
);
125+
path = About;
126+
sourceTree = "<group>";
127+
};
128+
924D6E262A289F0100227183 /* History */ = {
129+
isa = PBXGroup;
130+
children = (
131+
927261A32A24EF0B00C3B390 /* HistoryView.swift */,
132+
);
133+
path = History;
134+
sourceTree = "<group>";
135+
};
117136
92CACFC42A1B7DD000DA2B40 = {
118137
isa = PBXGroup;
119138
children = (
@@ -140,11 +159,11 @@
140159
92C703032A1D049E002ECC0B /* Info.plist */,
141160
92CACFD42A1B7DD100DA2B40 /* Assets.xcassets */,
142161
92CACFD62A1B7DD100DA2B40 /* Preview Content */,
162+
924D6E262A289F0100227183 /* History */,
143163
920A3EED2A1F76D400EC6FC9 /* Workout */,
144-
927261A32A24EF0B00C3B390 /* HistoryView.swift */,
164+
924D6E232A289EB600227183 /* About */,
145165
92CACFD02A1B7DD100DA2B40 /* FitCountApp.swift */,
146166
92CACFD22A1B7DD100DA2B40 /* ContentView.swift */,
147-
92CACFFA2A1B8F9D00DA2B40 /* ExerciseDetailsView.swift */,
148167
92F2D1FA2A1D0C8400EC1B81 /* Text2Speech.swift */,
149168
924D6E212A264B3600227183 /* JsonWriter.swift */,
150169
920A3EEB2A1F6E0E00EC6FC9 /* Timer.swift */,
@@ -322,6 +341,7 @@
322341
92CACFD12A1B7DD100DA2B40 /* FitCountApp.swift in Sources */,
323342
920A3EEF2A1F76F800EC6FC9 /* BoundingBoxView.swift in Sources */,
324343
920A3EF32A1F801A00EC6FC9 /* Workout.swift in Sources */,
344+
924D6E252A289ED700227183 /* AboutView.swift in Sources */,
325345
920A3EF12A1F7C2300EC6FC9 /* WorkoutResultsView.swift in Sources */,
326346
927261A42A24EF0B00C3B390 /* HistoryView.swift in Sources */,
327347
924D6E222A264B3600227183 /* JsonWriter.swift in Sources */,
@@ -503,7 +523,7 @@
503523
"$(inherited)",
504524
"@executable_path/Frameworks",
505525
);
506-
MARKETING_VERSION = 0.1;
526+
MARKETING_VERSION = 0.2;
507527
PRODUCT_BUNDLE_IDENTIFIER = ai.quickpose.FitCount;
508528
PRODUCT_NAME = "$(TARGET_NAME)";
509529
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -535,7 +555,7 @@
535555
"$(inherited)",
536556
"@executable_path/Frameworks",
537557
);
538-
MARKETING_VERSION = 0.1;
558+
MARKETING_VERSION = 0.2;
539559
PRODUCT_BUNDLE_IDENTIFIER = ai.quickpose.FitCount;
540560
PRODUCT_NAME = "$(TARGET_NAME)";
541561
SWIFT_EMIT_LOC_STRINGS = YES;

FitCount/About/AboutView.swift

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
//
2+
// AboutView.swift
3+
// FitCount
4+
//
5+
// Created by QuickPose.ai on 01.06.2023.
6+
//
7+
8+
import SwiftUI
9+
10+
struct AboutView: View {
11+
var body: some View {
12+
VStack(spacing: 50) {
13+
Image("QuickPose-Logo")
14+
.resizable()
15+
.scaledToFit()
16+
17+
18+
VStack(spacing: 10) {
19+
Text("Our app is powered by QuickPose.AI iOS SDK.")
20+
Link(
21+
"Learn more about QuickPose.AI",
22+
destination: URL(string: "https://quickpose.ai")!
23+
).font(.headline)
24+
}
25+
26+
Spacer()
27+
28+
VStack(alignment: .leading) {
29+
Link("Give us feedback", destination: URL(string: "https://quickpose.ai")!)
30+
.font(.headline)
31+
}
32+
.padding()
33+
.cornerRadius(8)
34+
}
35+
}
36+
}
37+
38+
struct AboutView_Previews: PreviewProvider {
39+
static var previews: some View {
40+
AboutView()
41+
}
42+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "QuickPose-Logo.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+
}
9.76 KB
Loading

FitCount/ContentView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ struct ContentView: View {
3838
HistoryView().tabItem{
3939
Label("History", systemImage: "chart.bar")
4040
}
41+
42+
AboutView().tabItem{
43+
Label("About", systemImage: "info.square")
44+
}
4145
}
4246
}
4347
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)