diff --git a/src/App/App.xcodeproj/project.pbxproj b/src/App/App.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8f91dec --- /dev/null +++ b/src/App/App.xcodeproj/project.pbxproj @@ -0,0 +1,582 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 1E0D88E32A1E759A00786FE3 /* AppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E0D88E22A1E759A00786FE3 /* AppApp.swift */; }; + 1E0D88E52A1E759A00786FE3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E0D88E42A1E759A00786FE3 /* ContentView.swift */; }; + 1E0D88E72A1E759F00786FE3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1E0D88E62A1E759F00786FE3 /* Assets.xcassets */; }; + 1E0D88EA2A1E759F00786FE3 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1E0D88E92A1E759F00786FE3 /* Preview Assets.xcassets */; }; + 1E0D88F42A1E759F00786FE3 /* AppTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E0D88F32A1E759F00786FE3 /* AppTests.swift */; }; + 1E0D88FE2A1E75A000786FE3 /* AppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E0D88FD2A1E75A000786FE3 /* AppUITests.swift */; }; + 1E0D89002A1E75A000786FE3 /* AppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E0D88FF2A1E75A000786FE3 /* AppUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1E0D88F02A1E759F00786FE3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1E0D88D72A1E759900786FE3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1E0D88DE2A1E759A00786FE3; + remoteInfo = App; + }; + 1E0D88FA2A1E759F00786FE3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1E0D88D72A1E759900786FE3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1E0D88DE2A1E759A00786FE3; + remoteInfo = App; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1E0D88DF2A1E759A00786FE3 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1E0D88E22A1E759A00786FE3 /* AppApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppApp.swift; sourceTree = ""; }; + 1E0D88E42A1E759A00786FE3 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 1E0D88E62A1E759F00786FE3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 1E0D88E92A1E759F00786FE3 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 1E0D88EF2A1E759F00786FE3 /* AppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1E0D88F32A1E759F00786FE3 /* AppTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppTests.swift; sourceTree = ""; }; + 1E0D88F92A1E759F00786FE3 /* AppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1E0D88FD2A1E75A000786FE3 /* AppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppUITests.swift; sourceTree = ""; }; + 1E0D88FF2A1E75A000786FE3 /* AppUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1E0D88DC2A1E759A00786FE3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E0D88EC2A1E759F00786FE3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E0D88F62A1E759F00786FE3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1E0D88D62A1E759900786FE3 = { + isa = PBXGroup; + children = ( + 1E0D88E12A1E759A00786FE3 /* App */, + 1E0D88F22A1E759F00786FE3 /* AppTests */, + 1E0D88FC2A1E75A000786FE3 /* AppUITests */, + 1E0D88E02A1E759A00786FE3 /* Products */, + ); + sourceTree = ""; + }; + 1E0D88E02A1E759A00786FE3 /* Products */ = { + isa = PBXGroup; + children = ( + 1E0D88DF2A1E759A00786FE3 /* App.app */, + 1E0D88EF2A1E759F00786FE3 /* AppTests.xctest */, + 1E0D88F92A1E759F00786FE3 /* AppUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1E0D88E12A1E759A00786FE3 /* App */ = { + isa = PBXGroup; + children = ( + 1E0D88E22A1E759A00786FE3 /* AppApp.swift */, + 1E0D88E42A1E759A00786FE3 /* ContentView.swift */, + 1E0D88E62A1E759F00786FE3 /* Assets.xcassets */, + 1E0D88E82A1E759F00786FE3 /* Preview Content */, + ); + path = App; + sourceTree = ""; + }; + 1E0D88E82A1E759F00786FE3 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 1E0D88E92A1E759F00786FE3 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 1E0D88F22A1E759F00786FE3 /* AppTests */ = { + isa = PBXGroup; + children = ( + 1E0D88F32A1E759F00786FE3 /* AppTests.swift */, + ); + path = AppTests; + sourceTree = ""; + }; + 1E0D88FC2A1E75A000786FE3 /* AppUITests */ = { + isa = PBXGroup; + children = ( + 1E0D88FD2A1E75A000786FE3 /* AppUITests.swift */, + 1E0D88FF2A1E75A000786FE3 /* AppUITestsLaunchTests.swift */, + ); + path = AppUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1E0D88DE2A1E759A00786FE3 /* App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1E0D89032A1E75A000786FE3 /* Build configuration list for PBXNativeTarget "App" */; + buildPhases = ( + 1E0D88DB2A1E759A00786FE3 /* Sources */, + 1E0D88DC2A1E759A00786FE3 /* Frameworks */, + 1E0D88DD2A1E759A00786FE3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = App; + productName = App; + productReference = 1E0D88DF2A1E759A00786FE3 /* App.app */; + productType = "com.apple.product-type.application"; + }; + 1E0D88EE2A1E759F00786FE3 /* AppTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1E0D89062A1E75A000786FE3 /* Build configuration list for PBXNativeTarget "AppTests" */; + buildPhases = ( + 1E0D88EB2A1E759F00786FE3 /* Sources */, + 1E0D88EC2A1E759F00786FE3 /* Frameworks */, + 1E0D88ED2A1E759F00786FE3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1E0D88F12A1E759F00786FE3 /* PBXTargetDependency */, + ); + name = AppTests; + productName = AppTests; + productReference = 1E0D88EF2A1E759F00786FE3 /* AppTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 1E0D88F82A1E759F00786FE3 /* AppUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1E0D89092A1E75A000786FE3 /* Build configuration list for PBXNativeTarget "AppUITests" */; + buildPhases = ( + 1E0D88F52A1E759F00786FE3 /* Sources */, + 1E0D88F62A1E759F00786FE3 /* Frameworks */, + 1E0D88F72A1E759F00786FE3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1E0D88FB2A1E759F00786FE3 /* PBXTargetDependency */, + ); + name = AppUITests; + productName = AppUITests; + productReference = 1E0D88F92A1E759F00786FE3 /* AppUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1E0D88D72A1E759900786FE3 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1430; + LastUpgradeCheck = 1430; + TargetAttributes = { + 1E0D88DE2A1E759A00786FE3 = { + CreatedOnToolsVersion = 14.3; + }; + 1E0D88EE2A1E759F00786FE3 = { + CreatedOnToolsVersion = 14.3; + TestTargetID = 1E0D88DE2A1E759A00786FE3; + }; + 1E0D88F82A1E759F00786FE3 = { + CreatedOnToolsVersion = 14.3; + TestTargetID = 1E0D88DE2A1E759A00786FE3; + }; + }; + }; + buildConfigurationList = 1E0D88DA2A1E759900786FE3 /* Build configuration list for PBXProject "App" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1E0D88D62A1E759900786FE3; + productRefGroup = 1E0D88E02A1E759A00786FE3 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1E0D88DE2A1E759A00786FE3 /* App */, + 1E0D88EE2A1E759F00786FE3 /* AppTests */, + 1E0D88F82A1E759F00786FE3 /* AppUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1E0D88DD2A1E759A00786FE3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E0D88EA2A1E759F00786FE3 /* Preview Assets.xcassets in Resources */, + 1E0D88E72A1E759F00786FE3 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E0D88ED2A1E759F00786FE3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E0D88F72A1E759F00786FE3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1E0D88DB2A1E759A00786FE3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E0D88E52A1E759A00786FE3 /* ContentView.swift in Sources */, + 1E0D88E32A1E759A00786FE3 /* AppApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E0D88EB2A1E759F00786FE3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E0D88F42A1E759F00786FE3 /* AppTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E0D88F52A1E759F00786FE3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E0D89002A1E75A000786FE3 /* AppUITestsLaunchTests.swift in Sources */, + 1E0D88FE2A1E75A000786FE3 /* AppUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1E0D88F12A1E759F00786FE3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1E0D88DE2A1E759A00786FE3 /* App */; + targetProxy = 1E0D88F02A1E759F00786FE3 /* PBXContainerItemProxy */; + }; + 1E0D88FB2A1E759F00786FE3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1E0D88DE2A1E759A00786FE3 /* App */; + targetProxy = 1E0D88FA2A1E759F00786FE3 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 1E0D89012A1E75A000786FE3 /* 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.4; + 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; + }; + 1E0D89022A1E75A000786FE3 /* 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.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 1E0D89042A1E75A000786FE3 /* 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 = "\"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 = djyohann.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 1E0D89052A1E75A000786FE3 /* 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 = "\"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 = djyohann.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 1E0D89072A1E75A000786FE3 /* 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.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = djyohann.AppTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/App"; + }; + name = Debug; + }; + 1E0D89082A1E75A000786FE3 /* 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.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = djyohann.AppTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/App"; + }; + name = Release; + }; + 1E0D890A2A1E75A000786FE3 /* 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 = djyohann.AppUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = App; + }; + name = Debug; + }; + 1E0D890B2A1E75A000786FE3 /* 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 = djyohann.AppUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = App; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1E0D88DA2A1E759900786FE3 /* Build configuration list for PBXProject "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1E0D89012A1E75A000786FE3 /* Debug */, + 1E0D89022A1E75A000786FE3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1E0D89032A1E75A000786FE3 /* Build configuration list for PBXNativeTarget "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1E0D89042A1E75A000786FE3 /* Debug */, + 1E0D89052A1E75A000786FE3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1E0D89062A1E75A000786FE3 /* Build configuration list for PBXNativeTarget "AppTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1E0D89072A1E75A000786FE3 /* Debug */, + 1E0D89082A1E75A000786FE3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1E0D89092A1E75A000786FE3 /* Build configuration list for PBXNativeTarget "AppUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1E0D890A2A1E75A000786FE3 /* Debug */, + 1E0D890B2A1E75A000786FE3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1E0D88D72A1E759900786FE3 /* Project object */; +} diff --git a/src/App/App.xcodeproj/xcuserdata/djyohann.xcuserdatad/xcschemes/xcschememanagement.plist b/src/App/App.xcodeproj/xcuserdata/djyohann.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b04f406 --- /dev/null +++ b/src/App/App.xcodeproj/xcuserdata/djyohann.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + App.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/src/App/App/AppApp.swift b/src/App/App/AppApp.swift new file mode 100644 index 0000000..448d169 --- /dev/null +++ b/src/App/App/AppApp.swift @@ -0,0 +1,17 @@ +// +// AppApp.swift +// App +// +// Created by BREUIL Yohann on 24/05/2023. +// + +import SwiftUI + +@main +struct AppApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/src/App/App/Assets.xcassets/AccentColor.colorset/Contents.json b/src/App/App/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/src/App/App/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/src/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json b/src/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/src/App/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/src/App/App/Assets.xcassets/Contents.json b/src/App/App/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/src/App/App/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/src/App/App/ContentView.swift b/src/App/App/ContentView.swift new file mode 100644 index 0000000..0fbad95 --- /dev/null +++ b/src/App/App/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// App +// +// Created by BREUIL Yohann on 24/05/2023. +// + +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/src/App/App/Preview Content/Preview Assets.xcassets/Contents.json b/src/App/App/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/src/App/App/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/src/App/AppTests/AppTests.swift b/src/App/AppTests/AppTests.swift new file mode 100644 index 0000000..7577a36 --- /dev/null +++ b/src/App/AppTests/AppTests.swift @@ -0,0 +1,36 @@ +// +// AppTests.swift +// AppTests +// +// Created by BREUIL Yohann on 24/05/2023. +// + +import XCTest +@testable import App + +final class 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/src/App/AppUITests/AppUITests.swift b/src/App/AppUITests/AppUITests.swift new file mode 100644 index 0000000..1da6002 --- /dev/null +++ b/src/App/AppUITests/AppUITests.swift @@ -0,0 +1,41 @@ +// +// AppUITests.swift +// AppUITests +// +// Created by BREUIL Yohann on 24/05/2023. +// + +import XCTest + +final class 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/src/App/AppUITests/AppUITestsLaunchTests.swift b/src/App/AppUITests/AppUITestsLaunchTests.swift new file mode 100644 index 0000000..77183f8 --- /dev/null +++ b/src/App/AppUITests/AppUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// AppUITestsLaunchTests.swift +// AppUITests +// +// Created by BREUIL Yohann on 24/05/2023. +// + +import XCTest + +final class 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) + } +} diff --git a/src/AverageCalculator.xcworkspace/contents.xcworkspacedata b/src/AverageCalculator.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..dba724a --- /dev/null +++ b/src/AverageCalculator.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/src/AverageCalculator.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/src/AverageCalculator.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/src/AverageCalculator.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/src/AverageCalculator.xcworkspace/xcuserdata/djyohann.xcuserdatad/UserInterfaceState.xcuserstate b/src/AverageCalculator.xcworkspace/xcuserdata/djyohann.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..fc60ac6 Binary files /dev/null and b/src/AverageCalculator.xcworkspace/xcuserdata/djyohann.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/src/AverageCalculatorApp/AverageCalculatorAppUITests/AverageCalculatorAppUITests.swift b/src/AverageCalculatorApp/AverageCalculatorAppUITests/AverageCalculatorAppUITests.swift new file mode 100644 index 0000000..7213aa5 --- /dev/null +++ b/src/AverageCalculatorApp/AverageCalculatorAppUITests/AverageCalculatorAppUITests.swift @@ -0,0 +1,41 @@ +// +// AverageCalculatorAppUITests.swift +// AverageCalculatorAppUITests +// +// Created by BREUIL Yohann on 24/05/2023. +// + +import XCTest + +final class AverageCalculatorAppUITests: 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/src/AverageCalculatorApp/AverageCalculatorAppUITests/AverageCalculatorAppUITestsLaunchTests.swift b/src/AverageCalculatorApp/AverageCalculatorAppUITests/AverageCalculatorAppUITestsLaunchTests.swift new file mode 100644 index 0000000..0242968 --- /dev/null +++ b/src/AverageCalculatorApp/AverageCalculatorAppUITests/AverageCalculatorAppUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// AverageCalculatorAppUITestsLaunchTests.swift +// AverageCalculatorAppUITests +// +// Created by BREUIL Yohann on 24/05/2023. +// + +import XCTest + +final class AverageCalculatorAppUITestsLaunchTests: 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) + } +}