diff --git a/DouShouQiIOS/DouShouQiIOS.xcodeproj/project.pbxproj b/DouShouQiIOS/DouShouQiIOS.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9e17cd3 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS.xcodeproj/project.pbxproj @@ -0,0 +1,598 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 7B4508CD2BF206AF0027E1EF /* DouShouQiIOSApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4508CC2BF206AF0027E1EF /* DouShouQiIOSApp.swift */; }; + 7B4508CF2BF206AF0027E1EF /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4508CE2BF206AF0027E1EF /* ContentView.swift */; }; + 7B4508D12BF206B10027E1EF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B4508D02BF206B10027E1EF /* Assets.xcassets */; }; + 7B4508D42BF206B10027E1EF /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B4508D32BF206B10027E1EF /* Preview Assets.xcassets */; }; + 7B4508DE2BF206B10027E1EF /* DouShouQiIOSTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4508DD2BF206B10027E1EF /* DouShouQiIOSTests.swift */; }; + 7B4508E82BF206B10027E1EF /* DouShouQiIOSUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4508E72BF206B10027E1EF /* DouShouQiIOSUITests.swift */; }; + 7B4508EA2BF206B10027E1EF /* DouShouQiIOSUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4508E92BF206B10027E1EF /* DouShouQiIOSUITestsLaunchTests.swift */; }; + 7B4508F72BF2084B0027E1EF /* PlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4508F62BF2084B0027E1EF /* PlayerView.swift */; }; + 7B4508FA2BF214F50027E1EF /* PlayerListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4508F92BF214F50027E1EF /* PlayerListView.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 7B4508DA2BF206B10027E1EF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 7B4508C12BF206AF0027E1EF /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7B4508C82BF206AF0027E1EF; + remoteInfo = DouShouQiIOS; + }; + 7B4508E42BF206B10027E1EF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 7B4508C12BF206AF0027E1EF /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7B4508C82BF206AF0027E1EF; + remoteInfo = DouShouQiIOS; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 7B4508C92BF206AF0027E1EF /* DouShouQiIOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DouShouQiIOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 7B4508CC2BF206AF0027E1EF /* DouShouQiIOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQiIOSApp.swift; sourceTree = ""; }; + 7B4508CE2BF206AF0027E1EF /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 7B4508D02BF206B10027E1EF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 7B4508D32BF206B10027E1EF /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 7B4508D92BF206B10027E1EF /* DouShouQiIOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DouShouQiIOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 7B4508DD2BF206B10027E1EF /* DouShouQiIOSTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQiIOSTests.swift; sourceTree = ""; }; + 7B4508E32BF206B10027E1EF /* DouShouQiIOSUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DouShouQiIOSUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 7B4508E72BF206B10027E1EF /* DouShouQiIOSUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQiIOSUITests.swift; sourceTree = ""; }; + 7B4508E92BF206B10027E1EF /* DouShouQiIOSUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQiIOSUITestsLaunchTests.swift; sourceTree = ""; }; + 7B4508F62BF2084B0027E1EF /* PlayerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayerView.swift; sourceTree = ""; }; + 7B4508F92BF214F50027E1EF /* PlayerListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayerListView.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 7B4508C62BF206AF0027E1EF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B4508D62BF206B10027E1EF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B4508E02BF206B10027E1EF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 7B4508C02BF206AF0027E1EF = { + isa = PBXGroup; + children = ( + 7B4508CB2BF206AF0027E1EF /* DouShouQiIOS */, + 7B4508DC2BF206B10027E1EF /* DouShouQiIOSTests */, + 7B4508E62BF206B10027E1EF /* DouShouQiIOSUITests */, + 7B4508CA2BF206AF0027E1EF /* Products */, + ); + sourceTree = ""; + }; + 7B4508CA2BF206AF0027E1EF /* Products */ = { + isa = PBXGroup; + children = ( + 7B4508C92BF206AF0027E1EF /* DouShouQiIOS.app */, + 7B4508D92BF206B10027E1EF /* DouShouQiIOSTests.xctest */, + 7B4508E32BF206B10027E1EF /* DouShouQiIOSUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 7B4508CB2BF206AF0027E1EF /* DouShouQiIOS */ = { + isa = PBXGroup; + children = ( + 7B4508CC2BF206AF0027E1EF /* DouShouQiIOSApp.swift */, + 7B4508CE2BF206AF0027E1EF /* ContentView.swift */, + 7B4508D02BF206B10027E1EF /* Assets.xcassets */, + 7B4508F82BF2085B0027E1EF /* View */, + 7B4508D22BF206B10027E1EF /* Preview Content */, + ); + path = DouShouQiIOS; + sourceTree = ""; + }; + 7B4508D22BF206B10027E1EF /* Preview Content */ = { + isa = PBXGroup; + children = ( + 7B4508D32BF206B10027E1EF /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 7B4508DC2BF206B10027E1EF /* DouShouQiIOSTests */ = { + isa = PBXGroup; + children = ( + 7B4508DD2BF206B10027E1EF /* DouShouQiIOSTests.swift */, + ); + path = DouShouQiIOSTests; + sourceTree = ""; + }; + 7B4508E62BF206B10027E1EF /* DouShouQiIOSUITests */ = { + isa = PBXGroup; + children = ( + 7B4508E72BF206B10027E1EF /* DouShouQiIOSUITests.swift */, + 7B4508E92BF206B10027E1EF /* DouShouQiIOSUITestsLaunchTests.swift */, + ); + path = DouShouQiIOSUITests; + sourceTree = ""; + }; + 7B4508F82BF2085B0027E1EF /* View */ = { + isa = PBXGroup; + children = ( + 7B4508F62BF2084B0027E1EF /* PlayerView.swift */, + 7B4508F92BF214F50027E1EF /* PlayerListView.swift */, + ); + path = View; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 7B4508C82BF206AF0027E1EF /* DouShouQiIOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7B4508ED2BF206B10027E1EF /* Build configuration list for PBXNativeTarget "DouShouQiIOS" */; + buildPhases = ( + 7B4508C52BF206AF0027E1EF /* Sources */, + 7B4508C62BF206AF0027E1EF /* Frameworks */, + 7B4508C72BF206AF0027E1EF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = DouShouQiIOS; + productName = DouShouQiIOS; + productReference = 7B4508C92BF206AF0027E1EF /* DouShouQiIOS.app */; + productType = "com.apple.product-type.application"; + }; + 7B4508D82BF206B10027E1EF /* DouShouQiIOSTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7B4508F02BF206B10027E1EF /* Build configuration list for PBXNativeTarget "DouShouQiIOSTests" */; + buildPhases = ( + 7B4508D52BF206B10027E1EF /* Sources */, + 7B4508D62BF206B10027E1EF /* Frameworks */, + 7B4508D72BF206B10027E1EF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 7B4508DB2BF206B10027E1EF /* PBXTargetDependency */, + ); + name = DouShouQiIOSTests; + productName = DouShouQiIOSTests; + productReference = 7B4508D92BF206B10027E1EF /* DouShouQiIOSTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 7B4508E22BF206B10027E1EF /* DouShouQiIOSUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7B4508F32BF206B10027E1EF /* Build configuration list for PBXNativeTarget "DouShouQiIOSUITests" */; + buildPhases = ( + 7B4508DF2BF206B10027E1EF /* Sources */, + 7B4508E02BF206B10027E1EF /* Frameworks */, + 7B4508E12BF206B10027E1EF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 7B4508E52BF206B10027E1EF /* PBXTargetDependency */, + ); + name = DouShouQiIOSUITests; + productName = DouShouQiIOSUITests; + productReference = 7B4508E32BF206B10027E1EF /* DouShouQiIOSUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 7B4508C12BF206AF0027E1EF /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1420; + LastUpgradeCheck = 1420; + TargetAttributes = { + 7B4508C82BF206AF0027E1EF = { + CreatedOnToolsVersion = 14.2; + }; + 7B4508D82BF206B10027E1EF = { + CreatedOnToolsVersion = 14.2; + TestTargetID = 7B4508C82BF206AF0027E1EF; + }; + 7B4508E22BF206B10027E1EF = { + CreatedOnToolsVersion = 14.2; + TestTargetID = 7B4508C82BF206AF0027E1EF; + }; + }; + }; + buildConfigurationList = 7B4508C42BF206AF0027E1EF /* Build configuration list for PBXProject "DouShouQiIOS" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 7B4508C02BF206AF0027E1EF; + productRefGroup = 7B4508CA2BF206AF0027E1EF /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 7B4508C82BF206AF0027E1EF /* DouShouQiIOS */, + 7B4508D82BF206B10027E1EF /* DouShouQiIOSTests */, + 7B4508E22BF206B10027E1EF /* DouShouQiIOSUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 7B4508C72BF206AF0027E1EF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B4508D42BF206B10027E1EF /* Preview Assets.xcassets in Resources */, + 7B4508D12BF206B10027E1EF /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B4508D72BF206B10027E1EF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B4508E12BF206B10027E1EF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 7B4508C52BF206AF0027E1EF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B4508F72BF2084B0027E1EF /* PlayerView.swift in Sources */, + 7B4508CF2BF206AF0027E1EF /* ContentView.swift in Sources */, + 7B4508CD2BF206AF0027E1EF /* DouShouQiIOSApp.swift in Sources */, + 7B4508FA2BF214F50027E1EF /* PlayerListView.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B4508D52BF206B10027E1EF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B4508DE2BF206B10027E1EF /* DouShouQiIOSTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B4508DF2BF206B10027E1EF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B4508EA2BF206B10027E1EF /* DouShouQiIOSUITestsLaunchTests.swift in Sources */, + 7B4508E82BF206B10027E1EF /* DouShouQiIOSUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 7B4508DB2BF206B10027E1EF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7B4508C82BF206AF0027E1EF /* DouShouQiIOS */; + targetProxy = 7B4508DA2BF206B10027E1EF /* PBXContainerItemProxy */; + }; + 7B4508E52BF206B10027E1EF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7B4508C82BF206AF0027E1EF /* DouShouQiIOS */; + targetProxy = 7B4508E42BF206B10027E1EF /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 7B4508EB2BF206B10027E1EF /* 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; + }; + 7B4508EC2BF206B10027E1EF /* 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; + }; + 7B4508EE2BF206B10027E1EF /* 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 = "\"DouShouQiIOS/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 = PierreFerreira.DouShouQiIOS; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 7B4508EF2BF206B10027E1EF /* 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 = "\"DouShouQiIOS/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 = PierreFerreira.DouShouQiIOS; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 7B4508F12BF206B10027E1EF /* 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 = PierreFerreira.DouShouQiIOSTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DouShouQiIOS.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/DouShouQiIOS"; + }; + name = Debug; + }; + 7B4508F22BF206B10027E1EF /* 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 = PierreFerreira.DouShouQiIOSTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DouShouQiIOS.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/DouShouQiIOS"; + }; + name = Release; + }; + 7B4508F42BF206B10027E1EF /* 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 = PierreFerreira.DouShouQiIOSUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = DouShouQiIOS; + }; + name = Debug; + }; + 7B4508F52BF206B10027E1EF /* 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 = PierreFerreira.DouShouQiIOSUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = DouShouQiIOS; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 7B4508C42BF206AF0027E1EF /* Build configuration list for PBXProject "DouShouQiIOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B4508EB2BF206B10027E1EF /* Debug */, + 7B4508EC2BF206B10027E1EF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7B4508ED2BF206B10027E1EF /* Build configuration list for PBXNativeTarget "DouShouQiIOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B4508EE2BF206B10027E1EF /* Debug */, + 7B4508EF2BF206B10027E1EF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7B4508F02BF206B10027E1EF /* Build configuration list for PBXNativeTarget "DouShouQiIOSTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B4508F12BF206B10027E1EF /* Debug */, + 7B4508F22BF206B10027E1EF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7B4508F32BF206B10027E1EF /* Build configuration list for PBXNativeTarget "DouShouQiIOSUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B4508F42BF206B10027E1EF /* Debug */, + 7B4508F52BF206B10027E1EF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 7B4508C12BF206AF0027E1EF /* Project object */; +} diff --git a/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/AccentColor.colorset/Contents.json b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/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/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Blob.imageset/Contents.json b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Blob.imageset/Contents.json new file mode 100644 index 0000000..54e3985 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Blob.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "edbacace5f621ae77077f206ebdcee27.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Blob.imageset/edbacace5f621ae77077f206ebdcee27.png b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Blob.imageset/edbacace5f621ae77077f206ebdcee27.png new file mode 100644 index 0000000..d1c88d9 Binary files /dev/null and b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Blob.imageset/edbacace5f621ae77077f206ebdcee27.png differ diff --git a/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Contents.json b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DouShouQiIOS/DouShouQiIOS/ContentView.swift b/DouShouQiIOS/DouShouQiIOS/ContentView.swift new file mode 100644 index 0000000..98bd9cf --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// DouShouQiIOS +// +// Created by Pierre FERREIRA on 13/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/DouShouQiIOS/DouShouQiIOS/DouShouQiIOSApp.swift b/DouShouQiIOS/DouShouQiIOS/DouShouQiIOSApp.swift new file mode 100644 index 0000000..9af6f85 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/DouShouQiIOSApp.swift @@ -0,0 +1,17 @@ +// +// DouShouQiIOSApp.swift +// DouShouQiIOS +// +// Created by Pierre FERREIRA on 13/05/2024. +// + +import SwiftUI + +@main +struct DouShouQiIOSApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/DouShouQiIOS/DouShouQiIOS/Preview Content/Preview Assets.xcassets/Contents.json b/DouShouQiIOS/DouShouQiIOS/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DouShouQiIOS/DouShouQiIOS/View/PlayerListView.swift b/DouShouQiIOS/DouShouQiIOS/View/PlayerListView.swift new file mode 100644 index 0000000..1cb6fbb --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/View/PlayerListView.swift @@ -0,0 +1,35 @@ +// +// PlayerListView.swift +// DouShouQiIOS +// +// Created by Pierre FERREIRA on 13/05/2024. +// + +import SwiftUI + +struct PlayerListView: View { + var body: some View { + + VStack{ + Text("Classement des joueurs").scaleEffect(1.75) + + NavigationStack { + List { + NavigationLink("Billy", value: "Billy") + NavigationLink("Bob", value: "Bob") + NavigationLink("Bromingo", value: "Bromingo") + } + .navigationDestination(for: String.self) { name in + PlayerView(name: name) + } + .navigationTitle("Players") + } + } + } +} + +struct PlayerListView_Previews: PreviewProvider { + static var previews: some View { + PlayerListView() + } +} diff --git a/DouShouQiIOS/DouShouQiIOS/View/PlayerView.swift b/DouShouQiIOS/DouShouQiIOS/View/PlayerView.swift new file mode 100644 index 0000000..b1aabdc --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOS/View/PlayerView.swift @@ -0,0 +1,63 @@ +// +// PlayerView.swift +// DouShouQiIOS +// +// Created by Pierre FERREIRA on 13/05/2024. +// + +import SwiftUI + +struct PlayerView: View { + var name : String; + var body: some View { + ZStack{ + Rectangle().fill(Color.indigo) + VStack{ + HStack{ + Image("Blob") + .scaleEffect(0.5) + .frame(width: 20, height: 20) + Spacer() + VStack(alignment: .leading){ + Text("Name : \(name)") + Text("Sname :") + Text("Age :") + Text("Classement :") + }.background(Color.pink) + }.padding(40).background(Color.purple) + Spacer() + VStack{ + Text("Statistiques").fontWeight(.heavy) + Grid{ + GridRow{ + Text("Nb Win").frame(width: 100, height: 50, alignment: .center) + .border(.black, width: 4) + .cornerRadius(15) + Text("9") + } + GridRow{ + Text("Nb Los").frame(width: 100, height: 50, alignment: .center) + .border(.black, width: 4) + .cornerRadius(15) + Text("5") + } + GridRow{ + Text("Nb Game").frame(width: 100, height: 50, alignment: .center) + .border(.black, width: 4) + .cornerRadius(15) + Text("14") + } + } + }.background(Color.orange).scaleEffect(1.5) + Spacer() + }.padding(20)//.background(Color.purple) + } + + } +} + +struct PlayerView_Previews: PreviewProvider { + static var previews: some View { + PlayerView(name: "bro") + } +} diff --git a/DouShouQiIOS/DouShouQiIOSTests/DouShouQiIOSTests.swift b/DouShouQiIOS/DouShouQiIOSTests/DouShouQiIOSTests.swift new file mode 100644 index 0000000..238e7ba --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOSTests/DouShouQiIOSTests.swift @@ -0,0 +1,36 @@ +// +// DouShouQiIOSTests.swift +// DouShouQiIOSTests +// +// Created by Pierre FERREIRA on 13/05/2024. +// + +import XCTest +@testable import DouShouQiIOS + +final class DouShouQiIOSTests: 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/DouShouQiIOS/DouShouQiIOSUITests/DouShouQiIOSUITests.swift b/DouShouQiIOS/DouShouQiIOSUITests/DouShouQiIOSUITests.swift new file mode 100644 index 0000000..f771065 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOSUITests/DouShouQiIOSUITests.swift @@ -0,0 +1,41 @@ +// +// DouShouQiIOSUITests.swift +// DouShouQiIOSUITests +// +// Created by Pierre FERREIRA on 13/05/2024. +// + +import XCTest + +final class DouShouQiIOSUITests: 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/DouShouQiIOS/DouShouQiIOSUITests/DouShouQiIOSUITestsLaunchTests.swift b/DouShouQiIOS/DouShouQiIOSUITests/DouShouQiIOSUITestsLaunchTests.swift new file mode 100644 index 0000000..d0b6600 --- /dev/null +++ b/DouShouQiIOS/DouShouQiIOSUITests/DouShouQiIOSUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// DouShouQiIOSUITestsLaunchTests.swift +// DouShouQiIOSUITests +// +// Created by Pierre FERREIRA on 13/05/2024. +// + +import XCTest + +final class DouShouQiIOSUITestsLaunchTests: 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) + } +} diff --git a/IOSWorkSpace.xcworkspace/contents.xcworkspacedata b/IOSWorkSpace.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..c23fb10 --- /dev/null +++ b/IOSWorkSpace.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/IOSWorkSpace.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/IOSWorkSpace.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/IOSWorkSpace.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + +