diff --git a/.DS_Store b/.DS_Store index 127ee76..5d38c88 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/wake.xcodeproj/project.pbxproj b/wake.xcodeproj/project.pbxproj index 0db8f0b..e45c27e 100644 --- a/wake.xcodeproj/project.pbxproj +++ b/wake.xcodeproj/project.pbxproj @@ -29,9 +29,22 @@ ABB4E2082E4B75D900660198 /* wake.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = wake.app; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ +/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ + AB4FA8642E4F7074005D9955 /* Exceptions for "wake" folder in "wake" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = ABB4E2072E4B75D900660198 /* wake */; + }; +/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ + /* Begin PBXFileSystemSynchronizedRootGroup section */ ABB4E20A2E4B75D900660198 /* wake */ = { isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + AB4FA8642E4F7074005D9955 /* Exceptions for "wake" folder in "wake" target */, + ); path = wake; sourceTree = ""; }; @@ -283,6 +296,8 @@ DEVELOPMENT_TEAM = GB3VPJ54BD; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = wake/Info.plist; + INFOPLIST_KEY_LSApplicationCategoryType = ""; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; @@ -310,6 +325,8 @@ DEVELOPMENT_TEAM = GB3VPJ54BD; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = wake/Info.plist; + INFOPLIST_KEY_LSApplicationCategoryType = ""; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; diff --git a/wake.xcodeproj/project.xcworkspace/xcuserdata/elliwood.xcuserdatad/UserInterfaceState.xcuserstate b/wake.xcodeproj/project.xcworkspace/xcuserdata/elliwood.xcuserdatad/UserInterfaceState.xcuserstate index a733284..6cb650e 100644 Binary files a/wake.xcodeproj/project.xcworkspace/xcuserdata/elliwood.xcuserdatad/UserInterfaceState.xcuserstate and b/wake.xcodeproj/project.xcworkspace/xcuserdata/elliwood.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/wake.xcodeproj/xcuserdata/elliwood.xcuserdatad/xcschemes/xcschememanagement.plist b/wake.xcodeproj/xcuserdata/elliwood.xcuserdatad/xcschemes/xcschememanagement.plist index a4c98a3..62e325e 100644 --- a/wake.xcodeproj/xcuserdata/elliwood.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/wake.xcodeproj/xcuserdata/elliwood.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,7 +7,7 @@ wake.xcscheme_^#shared#^_ orderHint - 0 + 3 diff --git a/wake/ContentView.swift b/wake/ContentView.swift index 74d4525..04f82cd 100644 --- a/wake/ContentView.swift +++ b/wake/ContentView.swift @@ -39,6 +39,8 @@ struct ContentView: View { // 状态栏占位 Spacer().frame(height: UIApplication.shared.windows.first?.safeAreaInsets.top ?? 0) + Text("Wake") + .font(.custom("SankeiCutePopanime", size: 27)) // 顶部导航栏 - 左侧设置按钮 HStack { // 设置按钮 diff --git a/wake/Info.plist b/wake/Info.plist new file mode 100644 index 0000000..4f6659b --- /dev/null +++ b/wake/Info.plist @@ -0,0 +1,10 @@ + + + + + UIAppFonts + + SankeiCutePopanime.ttf + + + diff --git a/wake/Resources/SankeiCutePopanime.ttf b/wake/Resources/SankeiCutePopanime.ttf new file mode 100644 index 0000000..5f31eeb Binary files /dev/null and b/wake/Resources/SankeiCutePopanime.ttf differ diff --git a/wake/WakeApp.swift b/wake/WakeApp.swift index 84b8be9..5156fec 100644 --- a/wake/WakeApp.swift +++ b/wake/WakeApp.swift @@ -6,9 +6,21 @@ // import SwiftUI +import UIKit @main struct WakeApp: App { + // init() { + // // 打印所有可用的字体 + // print("\n=== 所有可用的字体 ===") + // for family in UIFont.familyNames.sorted() { + // print("\n\(family):") + // for name in UIFont.fontNames(forFamilyName: family).sorted() { + // print(" - \(name)") + // } + // } + // } + var body: some Scene { WindowGroup { ContentView()