From 499b03687302e720ed929b293e37b14220437c94 Mon Sep 17 00:00:00 2001 From: "remi.regnault" Date: Thu, 16 May 2024 10:31:09 +0200 Subject: [PATCH] :tada: --- .../DouShouQi_App.xcodeproj/project.pbxproj | 582 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + .../Assets.xcassets/Contents.json | 6 + DouShouQi_App/DouShouQi_App/ContentView.swift | 26 + .../DouShouQi_App/DouShouQi_AppApp.swift | 17 + .../Preview Assets.xcassets/Contents.json | 6 + .../DouShouQi_AppTests.swift | 36 ++ .../DouShouQi_AppUITests.swift | 41 ++ .../DouShouQi_AppUITestsLaunchTests.swift | 32 + 12 files changed, 785 insertions(+) create mode 100644 DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj create mode 100644 DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 DouShouQi_App/DouShouQi_App/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 DouShouQi_App/DouShouQi_App/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 DouShouQi_App/DouShouQi_App/Assets.xcassets/Contents.json create mode 100644 DouShouQi_App/DouShouQi_App/ContentView.swift create mode 100644 DouShouQi_App/DouShouQi_App/DouShouQi_AppApp.swift create mode 100644 DouShouQi_App/DouShouQi_App/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 DouShouQi_App/DouShouQi_AppTests/DouShouQi_AppTests.swift create mode 100644 DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITests.swift create mode 100644 DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITestsLaunchTests.swift diff --git a/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj b/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj new file mode 100644 index 0000000..17af7cf --- /dev/null +++ b/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj @@ -0,0 +1,582 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 6458345C2BF5F92300E18321 /* DouShouQi_AppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6458345B2BF5F92300E18321 /* DouShouQi_AppApp.swift */; }; + 6458345E2BF5F92300E18321 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6458345D2BF5F92300E18321 /* ContentView.swift */; }; + 645834602BF5F92500E18321 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6458345F2BF5F92500E18321 /* Assets.xcassets */; }; + 645834632BF5F92500E18321 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 645834622BF5F92500E18321 /* Preview Assets.xcassets */; }; + 6458346D2BF5F92600E18321 /* DouShouQi_AppTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6458346C2BF5F92600E18321 /* DouShouQi_AppTests.swift */; }; + 645834772BF5F92600E18321 /* DouShouQi_AppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645834762BF5F92600E18321 /* DouShouQi_AppUITests.swift */; }; + 645834792BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 645834692BF5F92600E18321 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 645834502BF5F92300E18321 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 645834572BF5F92300E18321; + remoteInfo = DouShouQi_App; + }; + 645834732BF5F92600E18321 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 645834502BF5F92300E18321 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 645834572BF5F92300E18321; + remoteInfo = DouShouQi_App; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 645834582BF5F92300E18321 /* DouShouQi_App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DouShouQi_App.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 6458345B2BF5F92300E18321 /* DouShouQi_AppApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppApp.swift; sourceTree = ""; }; + 6458345D2BF5F92300E18321 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 6458345F2BF5F92500E18321 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 645834622BF5F92500E18321 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 645834682BF5F92600E18321 /* DouShouQi_AppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DouShouQi_AppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 6458346C2BF5F92600E18321 /* DouShouQi_AppTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppTests.swift; sourceTree = ""; }; + 645834722BF5F92600E18321 /* DouShouQi_AppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DouShouQi_AppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 645834762BF5F92600E18321 /* DouShouQi_AppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppUITests.swift; sourceTree = ""; }; + 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 645834552BF5F92300E18321 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 645834652BF5F92600E18321 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6458346F2BF5F92600E18321 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 6458344F2BF5F92300E18321 = { + isa = PBXGroup; + children = ( + 6458345A2BF5F92300E18321 /* DouShouQi_App */, + 6458346B2BF5F92600E18321 /* DouShouQi_AppTests */, + 645834752BF5F92600E18321 /* DouShouQi_AppUITests */, + 645834592BF5F92300E18321 /* Products */, + ); + sourceTree = ""; + }; + 645834592BF5F92300E18321 /* Products */ = { + isa = PBXGroup; + children = ( + 645834582BF5F92300E18321 /* DouShouQi_App.app */, + 645834682BF5F92600E18321 /* DouShouQi_AppTests.xctest */, + 645834722BF5F92600E18321 /* DouShouQi_AppUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 6458345A2BF5F92300E18321 /* DouShouQi_App */ = { + isa = PBXGroup; + children = ( + 6458345B2BF5F92300E18321 /* DouShouQi_AppApp.swift */, + 6458345D2BF5F92300E18321 /* ContentView.swift */, + 6458345F2BF5F92500E18321 /* Assets.xcassets */, + 645834612BF5F92500E18321 /* Preview Content */, + ); + path = DouShouQi_App; + sourceTree = ""; + }; + 645834612BF5F92500E18321 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 645834622BF5F92500E18321 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 6458346B2BF5F92600E18321 /* DouShouQi_AppTests */ = { + isa = PBXGroup; + children = ( + 6458346C2BF5F92600E18321 /* DouShouQi_AppTests.swift */, + ); + path = DouShouQi_AppTests; + sourceTree = ""; + }; + 645834752BF5F92600E18321 /* DouShouQi_AppUITests */ = { + isa = PBXGroup; + children = ( + 645834762BF5F92600E18321 /* DouShouQi_AppUITests.swift */, + 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */, + ); + path = DouShouQi_AppUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 645834572BF5F92300E18321 /* DouShouQi_App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6458347C2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_App" */; + buildPhases = ( + 645834542BF5F92300E18321 /* Sources */, + 645834552BF5F92300E18321 /* Frameworks */, + 645834562BF5F92300E18321 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = DouShouQi_App; + productName = DouShouQi_App; + productReference = 645834582BF5F92300E18321 /* DouShouQi_App.app */; + productType = "com.apple.product-type.application"; + }; + 645834672BF5F92600E18321 /* DouShouQi_AppTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6458347F2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppTests" */; + buildPhases = ( + 645834642BF5F92600E18321 /* Sources */, + 645834652BF5F92600E18321 /* Frameworks */, + 645834662BF5F92600E18321 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 6458346A2BF5F92600E18321 /* PBXTargetDependency */, + ); + name = DouShouQi_AppTests; + productName = DouShouQi_AppTests; + productReference = 645834682BF5F92600E18321 /* DouShouQi_AppTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 645834712BF5F92600E18321 /* DouShouQi_AppUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 645834822BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppUITests" */; + buildPhases = ( + 6458346E2BF5F92600E18321 /* Sources */, + 6458346F2BF5F92600E18321 /* Frameworks */, + 645834702BF5F92600E18321 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 645834742BF5F92600E18321 /* PBXTargetDependency */, + ); + name = DouShouQi_AppUITests; + productName = DouShouQi_AppUITests; + productReference = 645834722BF5F92600E18321 /* DouShouQi_AppUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 645834502BF5F92300E18321 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1420; + LastUpgradeCheck = 1420; + TargetAttributes = { + 645834572BF5F92300E18321 = { + CreatedOnToolsVersion = 14.2; + }; + 645834672BF5F92600E18321 = { + CreatedOnToolsVersion = 14.2; + TestTargetID = 645834572BF5F92300E18321; + }; + 645834712BF5F92600E18321 = { + CreatedOnToolsVersion = 14.2; + TestTargetID = 645834572BF5F92300E18321; + }; + }; + }; + buildConfigurationList = 645834532BF5F92300E18321 /* Build configuration list for PBXProject "DouShouQi_App" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 6458344F2BF5F92300E18321; + productRefGroup = 645834592BF5F92300E18321 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 645834572BF5F92300E18321 /* DouShouQi_App */, + 645834672BF5F92600E18321 /* DouShouQi_AppTests */, + 645834712BF5F92600E18321 /* DouShouQi_AppUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 645834562BF5F92300E18321 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 645834632BF5F92500E18321 /* Preview Assets.xcassets in Resources */, + 645834602BF5F92500E18321 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 645834662BF5F92600E18321 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 645834702BF5F92600E18321 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 645834542BF5F92300E18321 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6458345E2BF5F92300E18321 /* ContentView.swift in Sources */, + 6458345C2BF5F92300E18321 /* DouShouQi_AppApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 645834642BF5F92600E18321 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6458346D2BF5F92600E18321 /* DouShouQi_AppTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6458346E2BF5F92600E18321 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 645834792BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift in Sources */, + 645834772BF5F92600E18321 /* DouShouQi_AppUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 6458346A2BF5F92600E18321 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 645834572BF5F92300E18321 /* DouShouQi_App */; + targetProxy = 645834692BF5F92600E18321 /* PBXContainerItemProxy */; + }; + 645834742BF5F92600E18321 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 645834572BF5F92300E18321 /* DouShouQi_App */; + targetProxy = 645834732BF5F92600E18321 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 6458347A2BF5F92600E18321 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 16.2; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 6458347B2BF5F92600E18321 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 16.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 6458347D2BF5F92600E18321 /* 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 = "\"DouShouQi_App/Preview Content\""; + 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"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "NVRHRR.DouShouQi-App"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 6458347E2BF5F92600E18321 /* 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 = "\"DouShouQi_App/Preview Content\""; + 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"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "NVRHRR.DouShouQi-App"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 645834802BF5F92600E18321 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "NVRHRR.DouShouQi-AppTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DouShouQi_App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/DouShouQi_App"; + }; + name = Debug; + }; + 645834812BF5F92600E18321 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "NVRHRR.DouShouQi-AppTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DouShouQi_App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/DouShouQi_App"; + }; + name = Release; + }; + 645834832BF5F92600E18321 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "NVRHRR.DouShouQi-AppUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = DouShouQi_App; + }; + name = Debug; + }; + 645834842BF5F92600E18321 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "NVRHRR.DouShouQi-AppUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = DouShouQi_App; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 645834532BF5F92300E18321 /* Build configuration list for PBXProject "DouShouQi_App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6458347A2BF5F92600E18321 /* Debug */, + 6458347B2BF5F92600E18321 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6458347C2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6458347D2BF5F92600E18321 /* Debug */, + 6458347E2BF5F92600E18321 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6458347F2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 645834802BF5F92600E18321 /* Debug */, + 645834812BF5F92600E18321 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 645834822BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 645834832BF5F92600E18321 /* Debug */, + 645834842BF5F92600E18321 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 645834502BF5F92300E18321 /* Project object */; +} diff --git a/DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/DouShouQi_App/DouShouQi_App/Assets.xcassets/AccentColor.colorset/Contents.json b/DouShouQi_App/DouShouQi_App/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DouShouQi_App/DouShouQi_App/Assets.xcassets/AppIcon.appiconset/Contents.json b/DouShouQi_App/DouShouQi_App/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/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/DouShouQi_App/DouShouQi_App/Assets.xcassets/Contents.json b/DouShouQi_App/DouShouQi_App/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DouShouQi_App/DouShouQi_App/ContentView.swift b/DouShouQi_App/DouShouQi_App/ContentView.swift new file mode 100644 index 0000000..9923c70 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// DouShouQi_App +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +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() + } +} diff --git a/DouShouQi_App/DouShouQi_App/DouShouQi_AppApp.swift b/DouShouQi_App/DouShouQi_App/DouShouQi_AppApp.swift new file mode 100644 index 0000000..c341ba1 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/DouShouQi_AppApp.swift @@ -0,0 +1,17 @@ +// +// DouShouQi_AppApp.swift +// DouShouQi_App +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +import SwiftUI + +@main +struct DouShouQi_AppApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/DouShouQi_App/DouShouQi_App/Preview Content/Preview Assets.xcassets/Contents.json b/DouShouQi_App/DouShouQi_App/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DouShouQi_App/DouShouQi_AppTests/DouShouQi_AppTests.swift b/DouShouQi_App/DouShouQi_AppTests/DouShouQi_AppTests.swift new file mode 100644 index 0000000..68f98e7 --- /dev/null +++ b/DouShouQi_App/DouShouQi_AppTests/DouShouQi_AppTests.swift @@ -0,0 +1,36 @@ +// +// DouShouQi_AppTests.swift +// DouShouQi_AppTests +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +import XCTest +@testable import DouShouQi_App + +final class DouShouQi_AppTests: 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/DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITests.swift b/DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITests.swift new file mode 100644 index 0000000..af4b2c3 --- /dev/null +++ b/DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITests.swift @@ -0,0 +1,41 @@ +// +// DouShouQi_AppUITests.swift +// DouShouQi_AppUITests +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +import XCTest + +final class DouShouQi_AppUITests: 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/DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITestsLaunchTests.swift b/DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITestsLaunchTests.swift new file mode 100644 index 0000000..89f3b33 --- /dev/null +++ b/DouShouQi_App/DouShouQi_AppUITests/DouShouQi_AppUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// DouShouQi_AppUITestsLaunchTests.swift +// DouShouQi_AppUITests +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +import XCTest + +final class DouShouQi_AppUITestsLaunchTests: 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) + } +}