Skip to content

Commit cefd9d4

Browse files
author
aaaa
committed
a
1 parent d72cfad commit cefd9d4

13 files changed

+21
-21
lines changed

SpatialClock.xcodeproj/project.pbxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/* Begin PBXBuildFile section */
1010
160786D62B5512AE00E2B2CA /* 🛠️SettingMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160786D52B5512AE00E2B2CA /* 🛠️SettingMenu.swift */; };
11-
160786D82B5512EB00E2B2CA /* 📱AppModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160786D72B5512EB00E2B2CA /* 📱AppModel.swift */; };
11+
160786D82B5512EB00E2B2CA /* 🥽AppModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160786D72B5512EB00E2B2CA /* 🥽AppModel.swift */; };
1212
160786DA2B55257F00E2B2CA /* 🕒ClockView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160786D92B55257F00E2B2CA /* 🕒ClockView.swift */; };
1313
160786DC2B5526BA00E2B2CA /* 🛠️SettingButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160786DB2B5526BA00E2B2CA /* 🛠️SettingButton.swift */; };
1414
16267B462B578836000CA8AD /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 16267B452B578836000CA8AD /* Localizable.xcstrings */; };
@@ -28,7 +28,7 @@
2828
16891EC52B7B0A8300C6F0B3 /* 🛠️AboutTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16891EC42B7B0A8300C6F0B3 /* 🛠️AboutTab.swift */; };
2929
16891EC72B7B0E4000C6F0B3 /* App.swift in CopyFiles */ = {isa = PBXBuildFile; fileRef = 16C4CE402B550680002260A6 /* App.swift */; };
3030
16891EC82B7B0E4000C6F0B3 /* ContentView.swift in CopyFiles */ = {isa = PBXBuildFile; fileRef = 16C4CE422B550680002260A6 /* ContentView.swift */; };
31-
16891EC92B7B0E4000C6F0B3 /* 📱AppModel.swift in CopyFiles */ = {isa = PBXBuildFile; fileRef = 160786D72B5512EB00E2B2CA /* 📱AppModel.swift */; };
31+
16891EC92B7B0E4000C6F0B3 /* 🥽AppModel.swift in CopyFiles */ = {isa = PBXBuildFile; fileRef = 160786D72B5512EB00E2B2CA /* 🥽AppModel.swift */; };
3232
16891ECA2B7B0E4000C6F0B3 /* 🕒ClockView.swift in CopyFiles */ = {isa = PBXBuildFile; fileRef = 160786D92B55257F00E2B2CA /* 🕒ClockView.swift */; };
3333
16891ECB2B7B0E4000C6F0B3 /* 🛠️SettingButton.swift in CopyFiles */ = {isa = PBXBuildFile; fileRef = 160786DB2B5526BA00E2B2CA /* 🛠️SettingButton.swift */; };
3434
16891ECC2B7B0E4000C6F0B3 /* 🛠️SettingMenu.swift in CopyFiles */ = {isa = PBXBuildFile; fileRef = 160786D52B5512AE00E2B2CA /* 🛠️SettingMenu.swift */; };
@@ -58,7 +58,7 @@
5858
files = (
5959
16891EC72B7B0E4000C6F0B3 /* App.swift in CopyFiles */,
6060
16891EC82B7B0E4000C6F0B3 /* ContentView.swift in CopyFiles */,
61-
16891EC92B7B0E4000C6F0B3 /* 📱AppModel.swift in CopyFiles */,
61+
16891EC92B7B0E4000C6F0B3 /* 🥽AppModel.swift in CopyFiles */,
6262
16891ECA2B7B0E4000C6F0B3 /* 🕒ClockView.swift in CopyFiles */,
6363
16891ECB2B7B0E4000C6F0B3 /* 🛠️SettingButton.swift in CopyFiles */,
6464
16891ECC2B7B0E4000C6F0B3 /* 🛠️SettingMenu.swift in CopyFiles */,
@@ -79,7 +79,7 @@
7979

8080
/* Begin PBXFileReference section */
8181
160786D52B5512AE00E2B2CA /* 🛠️SettingMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🛠️SettingMenu.swift"; sourceTree = "<group>"; };
82-
160786D72B5512EB00E2B2CA /* 📱AppModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "📱AppModel.swift"; sourceTree = "<group>"; };
82+
160786D72B5512EB00E2B2CA /* 🥽AppModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🥽AppModel.swift"; sourceTree = "<group>"; };
8383
160786D92B55257F00E2B2CA /* 🕒ClockView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🕒ClockView.swift"; sourceTree = "<group>"; };
8484
160786DB2B5526BA00E2B2CA /* 🛠️SettingButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🛠️SettingButton.swift"; sourceTree = "<group>"; };
8585
160F46BD2B5A6309001FE696 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
@@ -227,7 +227,7 @@
227227
children = (
228228
16C4CE402B550680002260A6 /* App.swift */,
229229
16C4CE422B550680002260A6 /* ContentView.swift */,
230-
160786D72B5512EB00E2B2CA /* 📱AppModel.swift */,
230+
160786D72B5512EB00E2B2CA /* 🥽AppModel.swift */,
231231
160786D92B55257F00E2B2CA /* 🕒ClockView.swift */,
232232
164C77FC2B565DAA008FF872 /* 🛠️Setting */,
233233
164C77FD2B565DD2008FF872 /* 💾Option */,
@@ -328,7 +328,7 @@
328328
16891EC52B7B0A8300C6F0B3 /* 🛠️AboutTab.swift in Sources */,
329329
16891EB62B7B081200C6F0B3 /* ℹ️AboutApp.swift in Sources */,
330330
16891EA92B7AEE8300C6F0B3 /* 🔋BatteryView.swift in Sources */,
331-
160786D82B5512EB00E2B2CA /* 📱AppModel.swift in Sources */,
331+
160786D82B5512EB00E2B2CA /* 🥽AppModel.swift in Sources */,
332332
16F828702B560FBB00A29476 /* 💾Option.swift in Sources */,
333333
160786DC2B5526BA00E2B2CA /* 🛠️SettingButton.swift in Sources */,
334334
16F8286E2B560D8700A29476 /* 💾Key.swift in Sources */,

SpatialClock/App.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import SwiftUI
22

33
@main
44
struct SpatialClockApp: App {
5-
@StateObject private var model: 📱AppModel = .init()
5+
@StateObject private var model: 🥽AppModel = .init()
66
var body: some Scene {
77
WindowGroup {
88
ContentView()

SpatialClock/ContentView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct ContentView: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
var body: some View {
66
🕒ClockView()
77
.overlay(alignment: .bottom) { 🛠️SettingButton() }

SpatialClock/Rest/🔋BatteryView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct 🔋BatteryView: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
private let batteryLevel: Float = Self.getBatteryLevel()
66
private let batteryState: UIDevice.BatteryState = Self.getBatteryState()
77
var body: some View {

SpatialClock/Rest/🗒️StaticInfo.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ enum 🗒️StaticInfo {
2828
}
2929

3030
extension 🗒️StaticInfo {
31-
static let versionInfos: [(version: String, date: String)] = [("1.1", "2024-02-13"),
31+
static let versionInfos: [(version: String, date: String)] = [("1.1", "2024-02-14"),
3232
("1.0", "2024-02-02")] //降順。先頭の方が新しい
3333

3434
enum SourceCodeCategory: String, CaseIterable, Identifiable {
@@ -39,7 +39,7 @@ extension 🗒️StaticInfo {
3939
case .main: [
4040
"App.swift",
4141
"ContentView.swift",
42-
"📱AppModel.swift",
42+
"🥽AppModel.swift",
4343
"🕒ClockView.swift"
4444
]
4545
case .Setting: [

SpatialClock/💾Option/💾Option.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ enum 💾Option {
5252
}
5353
}
5454
struct Animation: ViewModifier {
55-
@EnvironmentObject var model: 📱AppModel
55+
@EnvironmentObject var model: 🥽AppModel
5656
var value: Date
5757
func body(content: Content) -> some View {
5858
switch self.model.animation {

SpatialClock/🕒ClockView.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct 🕒ClockView: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
@AppStorage("firstLaunch") private var firstLaunch: Bool = true
66
@State private var taskToDisappearSettingButton: Task<Void, Never>? = nil
77
var body: some View {
@@ -65,7 +65,7 @@ private extension 🕒ClockView {
6565
}
6666
}
6767
private struct ApplyAnimation: ViewModifier {
68-
@EnvironmentObject var model: 📱AppModel
68+
@EnvironmentObject var model: 🥽AppModel
6969
func body(content: Content) -> some View {
7070
content
7171
.animation(.default, value: self.model.hideDate)

SpatialClock/🛠️Setting/🛠️ClockTab.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct 🛠️ClockTab: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
var body: some View {
66
NavigationStack {
77
List {

SpatialClock/🛠️Setting/🛠️RestTab.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct 🛠️RestTab: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
var body: some View {
66
NavigationStack {
77
List {

SpatialClock/🛠️Setting/🛠️SettingButton.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct 🛠️SettingButton: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
@Environment(\.scenePhase) var scenePhase
66
@Environment(\.openWindow) var openWindow
77
var body: some View {

SpatialClock/🛠️Setting/🛠️SettingMenu.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct 🛠️SettingMenu: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
@Environment(\.scenePhase) var scenePhase
66
@Environment(\.dismissWindow) var dismissWindow
77
var body: some View {

SpatialClock/🛠️Setting/🛠️VisualTab.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
struct 🛠️VisualTab: View {
4-
@EnvironmentObject var model: 📱AppModel
4+
@EnvironmentObject var model: 🥽AppModel
55
var body: some View {
66
NavigationStack {
77
List {
@@ -76,7 +76,7 @@ struct 🛠️VisualTab: View {
7676

7777
private extension 🛠️VisualTab {
7878
private struct TextColorPicker: View {
79-
@EnvironmentObject var model: 📱AppModel
79+
@EnvironmentObject var model: 🥽AppModel
8080
var body: some View {
8181
ColorPicker(selection: self.$model.textColor, supportsOpacity: false) {
8282
Label("Text color", systemImage: "paintpalette")

SpatialClock/📱AppModel.swift SpatialClock/🥽AppModel.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import SwiftUI
22

3-
class 📱AppModel: ObservableObject {
3+
class 🥽AppModel: ObservableObject {
44
@Published var presentSettingButton: Bool = false
55
@AppStorage(💾Key.showYear) var showYear: Bool = false
66
@AppStorage(💾Key.hideWeekday) var hideWeekday: Bool = false

0 commit comments

Comments
 (0)