From 0978581f768f857ab0b3ed306ddd25658fa823d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=AF=BC=EC=84=9D=7CMinseok=20Kim?= Date: Wed, 29 May 2024 13:41:22 +0900 Subject: [PATCH] =?UTF-8?q?[iOS]=20feat:=20iOS=20=EA=B8=B0=EB=B3=B8=20?= =?UTF-8?q?=EC=84=B8=ED=8C=85(#2)=20(#10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Feat: iOS 기본 세팅 Sources Resources 폴더 구조화, ignore 파일 추가 * chore: 패키지 타겟 버전 수정 * chore: Test 타겟 버전 수정 * Refactor: Target 버전 전체 수정 14.4에서 다시 17.0으로 업그레이드 * chore: 개발 팀 추가(개인) * chore: Test 개발 팀 수정 * chore: Identifier 수정 --- iOS/.gitignore | 109 +++ iOS/.gitkeep | 0 iOS/banchango.xcodeproj/project.pbxproj | 619 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + .../Resources/Assets.xcassets/Contents.json | 6 + .../Preview Assets.xcassets/Contents.json | 6 + iOS/banchango/Sources/Views/ContentView.swift | 24 + iOS/banchango/banchangoApp.swift | 17 + iOS/banchangoTests/banchangoTests.swift | 36 + iOS/banchangoUITests/banchangoUITests.swift | 41 ++ .../banchangoUITestsLaunchTests.swift | 32 + 14 files changed, 929 insertions(+) create mode 100644 iOS/.gitignore delete mode 100644 iOS/.gitkeep create mode 100644 iOS/banchango.xcodeproj/project.pbxproj create mode 100644 iOS/banchango.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 iOS/banchango.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 iOS/banchango/Resources/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 iOS/banchango/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 iOS/banchango/Resources/Assets.xcassets/Contents.json create mode 100644 iOS/banchango/Resources/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 iOS/banchango/Sources/Views/ContentView.swift create mode 100644 iOS/banchango/banchangoApp.swift create mode 100644 iOS/banchangoTests/banchangoTests.swift create mode 100644 iOS/banchangoUITests/banchangoUITests.swift create mode 100644 iOS/banchangoUITests/banchangoUITestsLaunchTests.swift diff --git a/iOS/.gitignore b/iOS/.gitignore new file mode 100644 index 0000000..0dd2a23 --- /dev/null +++ b/iOS/.gitignore @@ -0,0 +1,109 @@ +# Created by https://www.toptal.com/developers/gitignore/api/swift,xcode,cocoapods +# Edit at https://www.toptal.com/developers/gitignore?templates=swift,xcode,cocoapods + +### 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/ + +### 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 + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots/**/*.png +fastlane/test_output + +# Code Injection +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ + +### Xcode ### + +## Xcode 8 and earlier + +### Xcode Patch ### +*.xcodeproj/* +!*.xcodeproj/project.pbxproj +!*.xcodeproj/xcshareddata/ +!*.xcodeproj/project.xcworkspace/ +!*.xcworkspace/contents.xcworkspacedata +/*.gcno +**/xcshareddata/WorkspaceSettings.xcsettings + +# End of https://www.toptal.com/developers/gitignore/api/swift,xcode,cocoapods \ No newline at end of file diff --git a/iOS/.gitkeep b/iOS/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/iOS/banchango.xcodeproj/project.pbxproj b/iOS/banchango.xcodeproj/project.pbxproj new file mode 100644 index 0000000..64a27a3 --- /dev/null +++ b/iOS/banchango.xcodeproj/project.pbxproj @@ -0,0 +1,619 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 124C4D222BF87ECA00FC9EE4 /* banchangoApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 124C4D212BF87ECA00FC9EE4 /* banchangoApp.swift */; }; + 124C4D242BF87ECA00FC9EE4 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 124C4D232BF87ECA00FC9EE4 /* ContentView.swift */; }; + 124C4D262BF87ECB00FC9EE4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 124C4D252BF87ECB00FC9EE4 /* Assets.xcassets */; }; + 124C4D292BF87ECB00FC9EE4 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 124C4D282BF87ECB00FC9EE4 /* Preview Assets.xcassets */; }; + 124C4D332BF87ECB00FC9EE4 /* banchangoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 124C4D322BF87ECB00FC9EE4 /* banchangoTests.swift */; }; + 124C4D3D2BF87ECB00FC9EE4 /* banchangoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 124C4D3C2BF87ECB00FC9EE4 /* banchangoUITests.swift */; }; + 124C4D3F2BF87ECB00FC9EE4 /* banchangoUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 124C4D3E2BF87ECB00FC9EE4 /* banchangoUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 124C4D2F2BF87ECB00FC9EE4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 124C4D162BF87ECA00FC9EE4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 124C4D1D2BF87ECA00FC9EE4; + remoteInfo = banchango; + }; + 124C4D392BF87ECB00FC9EE4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 124C4D162BF87ECA00FC9EE4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 124C4D1D2BF87ECA00FC9EE4; + remoteInfo = banchango; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 124C4D1E2BF87ECA00FC9EE4 /* banchango.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = banchango.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 124C4D212BF87ECA00FC9EE4 /* banchangoApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = banchangoApp.swift; sourceTree = ""; }; + 124C4D232BF87ECA00FC9EE4 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 124C4D252BF87ECB00FC9EE4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 124C4D282BF87ECB00FC9EE4 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 124C4D2E2BF87ECB00FC9EE4 /* banchangoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = banchangoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 124C4D322BF87ECB00FC9EE4 /* banchangoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = banchangoTests.swift; sourceTree = ""; }; + 124C4D382BF87ECB00FC9EE4 /* banchangoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = banchangoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 124C4D3C2BF87ECB00FC9EE4 /* banchangoUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = banchangoUITests.swift; sourceTree = ""; }; + 124C4D3E2BF87ECB00FC9EE4 /* banchangoUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = banchangoUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 124C4D1B2BF87ECA00FC9EE4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 124C4D2B2BF87ECB00FC9EE4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 124C4D352BF87ECB00FC9EE4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 124C4D152BF87ECA00FC9EE4 = { + isa = PBXGroup; + children = ( + 124C4D202BF87ECA00FC9EE4 /* banchango */, + 124C4D312BF87ECB00FC9EE4 /* banchangoTests */, + 124C4D3B2BF87ECB00FC9EE4 /* banchangoUITests */, + 124C4D1F2BF87ECA00FC9EE4 /* Products */, + ); + sourceTree = ""; + }; + 124C4D1F2BF87ECA00FC9EE4 /* Products */ = { + isa = PBXGroup; + children = ( + 124C4D1E2BF87ECA00FC9EE4 /* banchango.app */, + 124C4D2E2BF87ECB00FC9EE4 /* banchangoTests.xctest */, + 124C4D382BF87ECB00FC9EE4 /* banchangoUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 124C4D202BF87ECA00FC9EE4 /* banchango */ = { + isa = PBXGroup; + children = ( + 124C4D212BF87ECA00FC9EE4 /* banchangoApp.swift */, + 1254CEF52BF87F660067E217 /* Sources */, + 1254CEF62BF87F6E0067E217 /* Resources */, + ); + path = banchango; + sourceTree = ""; + }; + 124C4D272BF87ECB00FC9EE4 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 124C4D282BF87ECB00FC9EE4 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 124C4D312BF87ECB00FC9EE4 /* banchangoTests */ = { + isa = PBXGroup; + children = ( + 124C4D322BF87ECB00FC9EE4 /* banchangoTests.swift */, + ); + path = banchangoTests; + sourceTree = ""; + }; + 124C4D3B2BF87ECB00FC9EE4 /* banchangoUITests */ = { + isa = PBXGroup; + children = ( + 124C4D3C2BF87ECB00FC9EE4 /* banchangoUITests.swift */, + 124C4D3E2BF87ECB00FC9EE4 /* banchangoUITestsLaunchTests.swift */, + ); + path = banchangoUITests; + sourceTree = ""; + }; + 1254CEF52BF87F660067E217 /* Sources */ = { + isa = PBXGroup; + children = ( + 1254CEF72BF87F790067E217 /* Views */, + ); + path = Sources; + sourceTree = ""; + }; + 1254CEF62BF87F6E0067E217 /* Resources */ = { + isa = PBXGroup; + children = ( + 124C4D252BF87ECB00FC9EE4 /* Assets.xcassets */, + 124C4D272BF87ECB00FC9EE4 /* Preview Content */, + ); + path = Resources; + sourceTree = ""; + }; + 1254CEF72BF87F790067E217 /* Views */ = { + isa = PBXGroup; + children = ( + 124C4D232BF87ECA00FC9EE4 /* ContentView.swift */, + ); + path = Views; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 124C4D1D2BF87ECA00FC9EE4 /* banchango */ = { + isa = PBXNativeTarget; + buildConfigurationList = 124C4D422BF87ECB00FC9EE4 /* Build configuration list for PBXNativeTarget "banchango" */; + buildPhases = ( + 124C4D1A2BF87ECA00FC9EE4 /* Sources */, + 124C4D1B2BF87ECA00FC9EE4 /* Frameworks */, + 124C4D1C2BF87ECA00FC9EE4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = banchango; + productName = banchango; + productReference = 124C4D1E2BF87ECA00FC9EE4 /* banchango.app */; + productType = "com.apple.product-type.application"; + }; + 124C4D2D2BF87ECB00FC9EE4 /* banchangoTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 124C4D452BF87ECB00FC9EE4 /* Build configuration list for PBXNativeTarget "banchangoTests" */; + buildPhases = ( + 124C4D2A2BF87ECB00FC9EE4 /* Sources */, + 124C4D2B2BF87ECB00FC9EE4 /* Frameworks */, + 124C4D2C2BF87ECB00FC9EE4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 124C4D302BF87ECB00FC9EE4 /* PBXTargetDependency */, + ); + name = banchangoTests; + productName = banchangoTests; + productReference = 124C4D2E2BF87ECB00FC9EE4 /* banchangoTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 124C4D372BF87ECB00FC9EE4 /* banchangoUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 124C4D482BF87ECB00FC9EE4 /* Build configuration list for PBXNativeTarget "banchangoUITests" */; + buildPhases = ( + 124C4D342BF87ECB00FC9EE4 /* Sources */, + 124C4D352BF87ECB00FC9EE4 /* Frameworks */, + 124C4D362BF87ECB00FC9EE4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 124C4D3A2BF87ECB00FC9EE4 /* PBXTargetDependency */, + ); + name = banchangoUITests; + productName = banchangoUITests; + productReference = 124C4D382BF87ECB00FC9EE4 /* banchangoUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 124C4D162BF87ECA00FC9EE4 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1540; + LastUpgradeCheck = 1540; + TargetAttributes = { + 124C4D1D2BF87ECA00FC9EE4 = { + CreatedOnToolsVersion = 15.4; + }; + 124C4D2D2BF87ECB00FC9EE4 = { + CreatedOnToolsVersion = 15.4; + TestTargetID = 124C4D1D2BF87ECA00FC9EE4; + }; + 124C4D372BF87ECB00FC9EE4 = { + CreatedOnToolsVersion = 15.4; + TestTargetID = 124C4D1D2BF87ECA00FC9EE4; + }; + }; + }; + buildConfigurationList = 124C4D192BF87ECA00FC9EE4 /* Build configuration list for PBXProject "banchango" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 124C4D152BF87ECA00FC9EE4; + productRefGroup = 124C4D1F2BF87ECA00FC9EE4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 124C4D1D2BF87ECA00FC9EE4 /* banchango */, + 124C4D2D2BF87ECB00FC9EE4 /* banchangoTests */, + 124C4D372BF87ECB00FC9EE4 /* banchangoUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 124C4D1C2BF87ECA00FC9EE4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 124C4D292BF87ECB00FC9EE4 /* Preview Assets.xcassets in Resources */, + 124C4D262BF87ECB00FC9EE4 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 124C4D2C2BF87ECB00FC9EE4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 124C4D362BF87ECB00FC9EE4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 124C4D1A2BF87ECA00FC9EE4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 124C4D242BF87ECA00FC9EE4 /* ContentView.swift in Sources */, + 124C4D222BF87ECA00FC9EE4 /* banchangoApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 124C4D2A2BF87ECB00FC9EE4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 124C4D332BF87ECB00FC9EE4 /* banchangoTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 124C4D342BF87ECB00FC9EE4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 124C4D3F2BF87ECB00FC9EE4 /* banchangoUITestsLaunchTests.swift in Sources */, + 124C4D3D2BF87ECB00FC9EE4 /* banchangoUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 124C4D302BF87ECB00FC9EE4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 124C4D1D2BF87ECA00FC9EE4 /* banchango */; + targetProxy = 124C4D2F2BF87ECB00FC9EE4 /* PBXContainerItemProxy */; + }; + 124C4D3A2BF87ECB00FC9EE4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 124C4D1D2BF87ECA00FC9EE4 /* banchango */; + targetProxy = 124C4D392BF87ECB00FC9EE4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 124C4D402BF87ECB00FC9EE4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 124C4D412BF87ECB00FC9EE4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 124C4D432BF87ECB00FC9EE4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"banchango/Resources/Preview Content\""; + DEVELOPMENT_TEAM = 34X3BT977M; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.minseok.banchango; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 124C4D442BF87ECB00FC9EE4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"banchango/Resources/Preview Content\""; + DEVELOPMENT_TEAM = 34X3BT977M; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.minseok.banchango; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 124C4D462BF87ECB00FC9EE4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 34X3BT977M; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.minseok.banchangoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/banchango.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/banchango"; + }; + name = Debug; + }; + 124C4D472BF87ECB00FC9EE4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 34X3BT977M; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.minseok.banchangoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/banchango.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/banchango"; + }; + name = Release; + }; + 124C4D492BF87ECB00FC9EE4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 34X3BT977M; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.minseok.banchangoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = banchango; + }; + name = Debug; + }; + 124C4D4A2BF87ECB00FC9EE4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 34X3BT977M; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.minseok.banchangoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = banchango; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 124C4D192BF87ECA00FC9EE4 /* Build configuration list for PBXProject "banchango" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 124C4D402BF87ECB00FC9EE4 /* Debug */, + 124C4D412BF87ECB00FC9EE4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 124C4D422BF87ECB00FC9EE4 /* Build configuration list for PBXNativeTarget "banchango" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 124C4D432BF87ECB00FC9EE4 /* Debug */, + 124C4D442BF87ECB00FC9EE4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 124C4D452BF87ECB00FC9EE4 /* Build configuration list for PBXNativeTarget "banchangoTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 124C4D462BF87ECB00FC9EE4 /* Debug */, + 124C4D472BF87ECB00FC9EE4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 124C4D482BF87ECB00FC9EE4 /* Build configuration list for PBXNativeTarget "banchangoUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 124C4D492BF87ECB00FC9EE4 /* Debug */, + 124C4D4A2BF87ECB00FC9EE4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 124C4D162BF87ECA00FC9EE4 /* Project object */; +} diff --git a/iOS/banchango.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/iOS/banchango.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/iOS/banchango.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/iOS/banchango.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/iOS/banchango.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/iOS/banchango.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/iOS/banchango/Resources/Assets.xcassets/AccentColor.colorset/Contents.json b/iOS/banchango/Resources/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/iOS/banchango/Resources/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/iOS/banchango/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/iOS/banchango/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/iOS/banchango/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/iOS/banchango/Resources/Assets.xcassets/Contents.json b/iOS/banchango/Resources/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/iOS/banchango/Resources/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/iOS/banchango/Resources/Preview Content/Preview Assets.xcassets/Contents.json b/iOS/banchango/Resources/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/iOS/banchango/Resources/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/iOS/banchango/Sources/Views/ContentView.swift b/iOS/banchango/Sources/Views/ContentView.swift new file mode 100644 index 0000000..00c14a9 --- /dev/null +++ b/iOS/banchango/Sources/Views/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// banchango +// +// Created by KimMinSeok on 5/18/24. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundStyle(.tint) + Text("Hello, world!") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/iOS/banchango/banchangoApp.swift b/iOS/banchango/banchangoApp.swift new file mode 100644 index 0000000..fa2b8a4 --- /dev/null +++ b/iOS/banchango/banchangoApp.swift @@ -0,0 +1,17 @@ +// +// banchangoApp.swift +// banchango +// +// Created by KimMinSeok on 5/18/24. +// + +import SwiftUI + +@main +struct banchangoApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/iOS/banchangoTests/banchangoTests.swift b/iOS/banchangoTests/banchangoTests.swift new file mode 100644 index 0000000..2fe6e43 --- /dev/null +++ b/iOS/banchangoTests/banchangoTests.swift @@ -0,0 +1,36 @@ +// +// banchangoTests.swift +// banchangoTests +// +// Created by KimMinSeok on 5/18/24. +// + +import XCTest +@testable import banchango + +final class banchangoTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/iOS/banchangoUITests/banchangoUITests.swift b/iOS/banchangoUITests/banchangoUITests.swift new file mode 100644 index 0000000..96eb425 --- /dev/null +++ b/iOS/banchangoUITests/banchangoUITests.swift @@ -0,0 +1,41 @@ +// +// banchangoUITests.swift +// banchangoUITests +// +// Created by KimMinSeok on 5/18/24. +// + +import XCTest + +final class banchangoUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testLaunchPerformance() throws { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/iOS/banchangoUITests/banchangoUITestsLaunchTests.swift b/iOS/banchangoUITests/banchangoUITestsLaunchTests.swift new file mode 100644 index 0000000..d18174a --- /dev/null +++ b/iOS/banchangoUITests/banchangoUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// banchangoUITestsLaunchTests.swift +// banchangoUITests +// +// Created by KimMinSeok on 5/18/24. +// + +import XCTest + +final class banchangoUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +}