Skip to content

Commit b25f390

Browse files
committed
tidy up
1 parent 0c0308f commit b25f390

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## v1.2.0 - 2023-06-21
88

99
### Added
10-
- Inside box feature and overlay. Defaults to whole body but any group can be used.
10+
- Inside box feature and overlay. Defaults to whole body but any joint group can be used.
1111
- High Performance guide
1212

1313
### Changed

SampleApps/SwiftUI/PerformanceDemo/QuickPose Demo/QuickPoseBasicView.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,14 @@ import QuickPoseSwiftUI
1111

1212
struct QuickPoseBasicView: View {
1313

14-
private var quickPose = QuickPose(sdkKey: "01GS5J4JEQQZDZZB0EYSE974BV") // register for your free key at https://dev.quickpose.ai
14+
private var quickPose = QuickPose(sdkKey: "YOUR SDK KEY HERE") // register for your free key at https://dev.quickpose.ai
1515
@State private var overlayImage: UIImage?
1616
@State private var frameRate: Double? = nil
1717

1818
var body: some View {
1919
GeometryReader { geometry in
2020
ZStack(alignment: .top) {
21-
if false, ProcessInfo.processInfo.isiOSAppOnMac, let url = Bundle.main.url(forResource: "happy-dance", withExtension: "mov") {
22-
QuickPoseSimulatedCameraView(useFrontCamera: true, delegate: quickPose, video: url)
23-
} else {
24-
QuickPoseCameraView(useFrontCamera: true, delegate: quickPose, frameRate: $frameRate)
25-
}
21+
QuickPoseCameraView(useFrontCamera: true, delegate: quickPose, frameRate: $frameRate)
2622
QuickPoseOverlayView(overlayImage: $overlayImage)
2723
}
2824
.frame(width: geometry.size.width)

SampleApps/SwiftUI/PerformanceDemo/QuickPose Performance Demo.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
D003502F297EE5C70009AFDA /* QuickPoseCore in Frameworks */ = {isa = PBXBuildFile; productRef = D003502E297EE5C70009AFDA /* QuickPoseCore */; };
1111
D0035031297EE5C70009AFDA /* QuickPoseMP in Frameworks */ = {isa = PBXBuildFile; productRef = D0035030297EE5C70009AFDA /* QuickPoseMP */; };
1212
D0035033297EE5C70009AFDA /* QuickPoseSwiftUI in Frameworks */ = {isa = PBXBuildFile; productRef = D0035032297EE5C70009AFDA /* QuickPoseSwiftUI */; };
13-
D080484C298954DF001DA20D /* happy-dance.mov in Resources */ = {isa = PBXBuildFile; fileRef = D080484B298954DF001DA20D /* happy-dance.mov */; };
1413
D0BB67B72976FC8900901A47 /* QuickPose_BasicDemoApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = D096814529475BF700E00306 /* QuickPose_BasicDemoApp.swift */; };
1514
D0BB67B82976FC8900901A47 /* QuickPoseBasicView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0BB67AE2976D2B100901A47 /* QuickPoseBasicView.swift */; };
1615
D0BB67BE2976FC8900901A47 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D096814929475BF800E00306 /* Assets.xcassets */; };
@@ -32,7 +31,6 @@
3231

3332
/* Begin PBXFileReference section */
3433
D003502D297EE5BD0009AFDA /* quickpose-ios-sdk */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "quickpose-ios-sdk"; path = ../../..; sourceTree = "<group>"; };
35-
D080484B298954DF001DA20D /* happy-dance.mov */ = {isa = PBXFileReference; lastKnownFileType = video.quicktime; name = "happy-dance.mov"; path = "../../PickerDemo/QuickPose Demo/happy-dance.mov"; sourceTree = "<group>"; };
3634
D096814529475BF700E00306 /* QuickPose_BasicDemoApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QuickPose_BasicDemoApp.swift; sourceTree = "<group>"; };
3735
D096814929475BF800E00306 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
3836
D0BB67AE2976D2B100901A47 /* QuickPoseBasicView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QuickPoseBasicView.swift; sourceTree = "<group>"; };
@@ -88,7 +86,6 @@
8886
children = (
8987
D096814529475BF700E00306 /* QuickPose_BasicDemoApp.swift */,
9088
D0BB67AE2976D2B100901A47 /* QuickPoseBasicView.swift */,
91-
D080484B298954DF001DA20D /* happy-dance.mov */,
9289
D096814929475BF800E00306 /* Assets.xcassets */,
9390
);
9491
path = "QuickPose Demo";
@@ -165,7 +162,6 @@
165162
files = (
166163
D0BB67BE2976FC8900901A47 /* Assets.xcassets in Resources */,
167164
D0BB67BF2976FC8900901A47 /* Launch Screen.storyboard in Resources */,
168-
D080484C298954DF001DA20D /* happy-dance.mov in Resources */,
169165
);
170166
runOnlyForDeploymentPostprocessing = 0;
171167
};

SampleApps/SwiftUI/PickerDemo/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.1.2</string>
20+
<string>1.2.0</string>
2121
<key>CFBundleURLTypes</key>
2222
<array>
2323
<dict>

0 commit comments

Comments
 (0)