commit 058c907609c9c3da49c4ccf9e35586b98370de74 Author: Yu Sung Date: Wed Aug 9 15:32:42 2023 +0900 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b3debac --- /dev/null +++ b/.gitignore @@ -0,0 +1,279 @@ + +# Created by https://www.toptal.com/developers/gitignore/api/macos,xcode,appcode,swift,swiftpackagemanager,swiftpm,fastlane,cocoapods +# Edit at https://www.toptal.com/developers/gitignore?templates=macos,xcode,appcode,swift,swiftpackagemanager,swiftpm,fastlane,cocoapods + +### AppCode ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### AppCode Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +# https://plugins.jetbrains.com/plugin/7973-sonarlint +.idea/**/sonarlint/ + +# SonarQube Plugin +# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin +.idea/**/sonarIssues.xml + +# Markdown Navigator plugin +# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced +.idea/**/markdown-navigator.xml +.idea/**/markdown-navigator-enh.xml +.idea/**/markdown-navigator/ + +# Cache file creation bug +# See https://youtrack.jetbrains.com/issue/JBR-2257 +.idea/$CACHE_FILE$ + +# CodeStream plugin +# https://plugins.jetbrains.com/plugin/12206-codestream +.idea/codestream.xml + +### CocoaPods ### +## CocoaPods GitIgnore Template + +# CocoaPods - Only use to conserve bandwidth / Save time on Pushing +# - Also handy if you have a large number of dependant pods +# - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGNORE THE LOCK FILE +Pods/ + +### fastlane ### +# fastlane - A streamlined workflow tool for Cocoa deployment +# +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the +# screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +# fastlane specific +fastlane/report.xml + +# deliver temporary files +fastlane/Preview.html + +# snapshot generated screenshots +fastlane/screenshots/**/*.png +fastlane/screenshots/screenshots.html + +# scan temporary files +fastlane/test_output + +# Fastlane.swift runner binary +fastlane/FastlaneRunner + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### Swift ### +# Xcode +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +DerivedData/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 + +## Obj-C/Swift specific +*.hmap + +## App packaging +*.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +# *.xcodeproj +# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata +# hence it is not needed unless you have added a package configuration file to your project +# .swiftpm + +.build/ + +# CocoaPods +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# Pods/ +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace + +# Carthage +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build/ + +# Accio dependency management +Dependencies/ +.accio/ + +# fastlane +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + + +# Code Injection +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ + +### SwiftPackageManager ### +Packages +xcuserdata +*.xcodeproj + + +### SwiftPM ### + + +### Xcode ### + +## Xcode 8 and earlier + +### Xcode Patch ### +*.xcodeproj/* +!*.xcodeproj/project.pbxproj +!*.xcodeproj/xcshareddata/ +!*.xcworkspace/contents.xcworkspacedata +/*.gcno +**/xcshareddata/WorkspaceSettings.xcsettings + +# End of https://www.toptal.com/developers/gitignore/api/macos,xcode,appcode,swift,swiftpackagemanager,swiftpm,fastlane,cocoapods diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..dbac9d6 --- /dev/null +++ b/Podfile @@ -0,0 +1,18 @@ +# Uncomment the next line to define a global platform for your project +# platform :ios, '9.0' + +target 'SodaLive' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + + # Pods for SodaLive + +end + +target 'SodaLive-dev' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + + # Pods for SodaLive-dev + +end diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..78c6c10 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,3 @@ +PODFILE CHECKSUM: 40957185212259305ead8c0beb4b1e5415b9b0df + +COCOAPODS: 1.12.1 diff --git a/SodaLive-dev.entitlements b/SodaLive-dev.entitlements new file mode 100644 index 0000000..cc78b75 --- /dev/null +++ b/SodaLive-dev.entitlements @@ -0,0 +1,10 @@ + + + + + aps-environment + development + com.apple.developer.associated-domains + + + diff --git a/SodaLive.xcworkspace/contents.xcworkspacedata b/SodaLive.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..8dcad00 --- /dev/null +++ b/SodaLive.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/SodaLive/Preview Content/Preview Assets.xcassets/Contents.json b/SodaLive/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SodaLive/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SodaLive/Resources/Assets.xcassets/AccentColor.colorset/Contents.json b/SodaLive/Resources/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/SodaLive/Resources/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SodaLive/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/SodaLive/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/SodaLive/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SodaLive/Resources/Assets.xcassets/Contents.json b/SodaLive/Resources/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SodaLive/Resources/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SodaLive/Resources/Debug/SodaLive-dev-Info.plist b/SodaLive/Resources/Debug/SodaLive-dev-Info.plist new file mode 100644 index 0000000..cbb06d6 --- /dev/null +++ b/SodaLive/Resources/Debug/SodaLive-dev-Info.plist @@ -0,0 +1,12 @@ + + + + + UIBackgroundModes + + audio + fetch + remote-notification + + + diff --git a/SodaLive/Resources/Font/gmarket_sans_bold.otf b/SodaLive/Resources/Font/gmarket_sans_bold.otf new file mode 100644 index 0000000..9335b26 Binary files /dev/null and b/SodaLive/Resources/Font/gmarket_sans_bold.otf differ diff --git a/SodaLive/Resources/Font/gmarket_sans_light.otf b/SodaLive/Resources/Font/gmarket_sans_light.otf new file mode 100644 index 0000000..c588d3e Binary files /dev/null and b/SodaLive/Resources/Font/gmarket_sans_light.otf differ diff --git a/SodaLive/Resources/Font/gmarket_sans_medium.otf b/SodaLive/Resources/Font/gmarket_sans_medium.otf new file mode 100644 index 0000000..af2cfc3 Binary files /dev/null and b/SodaLive/Resources/Font/gmarket_sans_medium.otf differ diff --git a/SodaLive/Resources/Info.plist b/SodaLive/Resources/Info.plist new file mode 100644 index 0000000..9ffe80f --- /dev/null +++ b/SodaLive/Resources/Info.plist @@ -0,0 +1,18 @@ + + + + + UIAppFonts + + gmarket_sans_bold.otf + gmarket_sans_medium.otf + gmarket_sans_light.otf + + UIBackgroundModes + + audio + fetch + remote-notification + + + diff --git a/SodaLive/SodaLive.entitlements b/SodaLive/SodaLive.entitlements new file mode 100644 index 0000000..cc78b75 --- /dev/null +++ b/SodaLive/SodaLive.entitlements @@ -0,0 +1,10 @@ + + + + + aps-environment + development + com.apple.developer.associated-domains + + + diff --git a/SodaLive/Sources/App/SodaLiveApp.swift b/SodaLive/Sources/App/SodaLiveApp.swift new file mode 100644 index 0000000..fee81fd --- /dev/null +++ b/SodaLive/Sources/App/SodaLiveApp.swift @@ -0,0 +1,17 @@ +// +// SodaLiveApp.swift +// SodaLive +// +// Created by klaus on 2023/08/09. +// + +import SwiftUI + +@main +struct SodaLiveApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/SodaLive/Sources/ContentView.swift b/SodaLive/Sources/ContentView.swift new file mode 100644 index 0000000..6e72655 --- /dev/null +++ b/SodaLive/Sources/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// SodaLive +// +// Created by klaus on 2023/08/09. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundColor(.accentColor) + Text("Hello, world!") + } + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +}