Skip to content

Commit

Permalink
Merge pull request #2 from FlipByBlink/ver1.0.1
Browse files Browse the repository at this point in the history
Ver1.0.1
  • Loading branch information
FlipByBlink authored Feb 15, 2024
2 parents 3f17105 + d89e19e commit f69e7cf
Show file tree
Hide file tree
Showing 61 changed files with 1,802 additions and 186 deletions.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "165ADB462B4B71B0008A756F"
BuildableName = "HandsWidth.app"
BlueprintName = "HandsWidth"
ReferencedContainer = "container:HandsWidth.xcodeproj">
BuildableName = "HandsRuler.app"
BlueprintName = "HandsRuler"
ReferencedContainer = "container:HandsRuler.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand Down Expand Up @@ -45,9 +45,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "165ADB462B4B71B0008A756F"
BuildableName = "HandsWidth.app"
BlueprintName = "HandsWidth"
ReferencedContainer = "container:HandsWidth.xcodeproj">
BuildableName = "HandsRuler.app"
BlueprintName = "HandsRuler"
ReferencedContainer = "container:HandsRuler.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
Expand All @@ -62,9 +62,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "165ADB462B4B71B0008A756F"
BuildableName = "HandsWidth.app"
BlueprintName = "HandsWidth"
ReferencedContainer = "container:HandsWidth.xcodeproj">
BuildableName = "HandsRuler.app"
BlueprintName = "HandsRuler"
ReferencedContainer = "container:HandsRuler.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>SchemeUserState</key>
<dict>
<key>HandsWidth.xcscheme_^#shared#^_</key>
<key>HandsRuler.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
Expand Down
2 changes: 1 addition & 1 deletion HandsWidth/App.swift → HandsRuler/App.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import SwiftUI

@main
struct HandsWidthApp: App {
struct HandsRulerApp: App {
var body: some Scene {
WindowGroup {
ContentView()
Expand Down
53 changes: 53 additions & 0 deletions HandsRuler/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import SwiftUI

struct ContentView: View {
@Environment(\.openImmersiveSpace) var openImmersiveSpace
@Environment(\.dismissWindow) var dismissWindow
var body: some View {
NavigationStack {
VStack {
Spacer()
HStack(spacing: 28) {
Image(.graph1)
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 300)
.clipShape(.rect(cornerRadius: 16, style: .continuous))
Image(.graph2)
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 300)
.clipShape(.rect(cornerRadius: 16, style: .continuous))
}
.padding(.horizontal, 8)
Spacer()
Button {
Task {
await self.openImmersiveSpace(id: "immersiveSpace")
self.dismissWindow()
}
} label: {
Text("Start")
.font(.largeTitle)
.padding(.vertical, 12)
.padding(.horizontal, 4)
}
Spacer()
}
.navigationTitle("HandsRuler")
.toolbar {
NavigationLink {
List {
ℹ️AboutAppContent()
}
} label: {
Label("About App", systemImage: "info")
.padding(14)
}
.buttonBorderShape(.circle)
.buttonStyle(.plain)
}
}
.frame(width: 700, height: 450)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "aboutAppIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "Developer_Publisher.heic",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "HandsWidth"
"value" : "HandsRuler"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "手がメジャー"
"value" : "HandsRuler"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
}
}
},
"About App" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "アプリについて"
}
}
}
},
"Apple Vision Pro" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : ""
}
}
}
},
"Exit" : {
"localizations" : {
"ja" : {
Expand Down Expand Up @@ -41,12 +61,12 @@
}
}
},
"HandsWidth" : {
"HandsRuler" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "手がメジャー"
"value" : "HandsRuler"
}
}
}
Expand Down
Loading

0 comments on commit f69e7cf

Please sign in to comment.