diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..81cb7df --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[*.swift] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false + +[{Makefile,*.mk}] +indent_style = tab diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..28ae189 --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +# ---- macOS 系统文件 ---- +.DS_Store +.AppleDouble +.LSOverride + +# ---- Xcode 用户本地产物 ---- +xcuserdata/ +*.xcuserstate +*.xcscmblueprint +*.moved-aside +DerivedData/ +build/ +*.hmap + +# ---- 构建产物 ---- +*.ipa +*.dSYM +*.dSYM.zip +*.app +*.framework +*.xcframework + +# ---- Swift Package Manager ---- +.build/ +.swiftpm/ + +# ---- CocoaPods(若未来引入) ---- +Pods/ + +# ---- 工具与编辑器 ---- +.vscode/ +.idea/ +*.swp diff --git a/kymo.xcodeproj/xcuserdata/airnan.xcuserdatad/xcschemes/xcschememanagement.plist b/kymo.xcodeproj/xcuserdata/airnan.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index a704fb3..0000000 --- a/kymo.xcodeproj/xcuserdata/airnan.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,14 +0,0 @@ - - - - - SchemeUserState - - kymo.xcscheme_^#shared#^_ - - orderHint - 0 - - - - diff --git a/kymo/kymoApp.swift b/kymo/App/kymoApp.swift similarity index 100% rename from kymo/kymoApp.swift rename to kymo/App/kymoApp.swift diff --git a/kymo/ContentView.swift b/kymo/ContentView.swift deleted file mode 100644 index a248872..0000000 --- a/kymo/ContentView.swift +++ /dev/null @@ -1,24 +0,0 @@ -// -// ContentView.swift -// kymo -// -// Created by Airnan on 2026/10/29. -// - -import SwiftUI - -struct ContentView: View { - var body: some View { - VStack { - Image(systemName: "globe") - .imageScale(.large) - .foregroundStyle(.tint) - Text("Hello, world!") - } - .padding() - } -} - -#Preview { - ContentView() -}