From 88a0b5826798d3dd8cf15baafb6b22cf4eb9ad06 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Sun, 8 Dec 2024 20:33:05 +0000 Subject: [PATCH] Initial Commit --- MineSwift.xcodeproj/project.pbxproj | 596 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 85 +++ MineSwift/Assets.xcassets/Contents.json | 6 + MineSwift/ContentView.swift | 24 + MineSwift/MineSwift.entitlements | 10 + MineSwift/MineSwiftApp.swift | 17 + .../Preview Assets.xcassets/Contents.json | 6 + MineSwiftTests/MineSwiftTests.swift | 16 + MineSwiftUITests/MineSwiftUITests.swift | 43 ++ .../MineSwiftUITestsLaunchTests.swift | 33 + 12 files changed, 854 insertions(+) create mode 100644 MineSwift.xcodeproj/project.pbxproj create mode 100644 MineSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 MineSwift/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 MineSwift/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 MineSwift/Assets.xcassets/Contents.json create mode 100644 MineSwift/ContentView.swift create mode 100644 MineSwift/MineSwift.entitlements create mode 100644 MineSwift/MineSwiftApp.swift create mode 100644 MineSwift/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 MineSwiftTests/MineSwiftTests.swift create mode 100644 MineSwiftUITests/MineSwiftUITests.swift create mode 100644 MineSwiftUITests/MineSwiftUITestsLaunchTests.swift diff --git a/MineSwift.xcodeproj/project.pbxproj b/MineSwift.xcodeproj/project.pbxproj new file mode 100644 index 0000000..52339f2 --- /dev/null +++ b/MineSwift.xcodeproj/project.pbxproj @@ -0,0 +1,596 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + A9AE1FDE2D0639F100200A07 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A9AE1FC42D0639E200200A07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A9AE1FCB2D0639E200200A07; + remoteInfo = MineSwift; + }; + A9AE1FE82D0639F100200A07 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A9AE1FC42D0639E200200A07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A9AE1FCB2D0639E200200A07; + remoteInfo = MineSwift; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + A9AE1FCC2D0639E200200A07 /* MineSwift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MineSwift.app; sourceTree = BUILT_PRODUCTS_DIR; }; + A9AE1FDD2D0639F100200A07 /* MineSwiftTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MineSwiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + A9AE1FE72D0639F100200A07 /* MineSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MineSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + A9AE1FCE2D0639E200200A07 /* MineSwift */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = MineSwift; + sourceTree = ""; + }; + A9AE1FE02D0639F100200A07 /* MineSwiftTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = MineSwiftTests; + sourceTree = ""; + }; + A9AE1FEA2D0639F100200A07 /* MineSwiftUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = MineSwiftUITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + A9AE1FC92D0639E200200A07 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A9AE1FDA2D0639F100200A07 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A9AE1FE42D0639F100200A07 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A9AE1FC32D0639E200200A07 = { + isa = PBXGroup; + children = ( + A9AE1FCE2D0639E200200A07 /* MineSwift */, + A9AE1FE02D0639F100200A07 /* MineSwiftTests */, + A9AE1FEA2D0639F100200A07 /* MineSwiftUITests */, + A9AE1FCD2D0639E200200A07 /* Products */, + ); + sourceTree = ""; + }; + A9AE1FCD2D0639E200200A07 /* Products */ = { + isa = PBXGroup; + children = ( + A9AE1FCC2D0639E200200A07 /* MineSwift.app */, + A9AE1FDD2D0639F100200A07 /* MineSwiftTests.xctest */, + A9AE1FE72D0639F100200A07 /* MineSwiftUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + A9AE1FCB2D0639E200200A07 /* MineSwift */ = { + isa = PBXNativeTarget; + buildConfigurationList = A9AE1FF12D0639F100200A07 /* Build configuration list for PBXNativeTarget "MineSwift" */; + buildPhases = ( + A9AE1FC82D0639E200200A07 /* Sources */, + A9AE1FC92D0639E200200A07 /* Frameworks */, + A9AE1FCA2D0639E200200A07 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + A9AE1FCE2D0639E200200A07 /* MineSwift */, + ); + name = MineSwift; + packageProductDependencies = ( + ); + productName = MineSwift; + productReference = A9AE1FCC2D0639E200200A07 /* MineSwift.app */; + productType = "com.apple.product-type.application"; + }; + A9AE1FDC2D0639F100200A07 /* MineSwiftTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = A9AE1FF42D0639F100200A07 /* Build configuration list for PBXNativeTarget "MineSwiftTests" */; + buildPhases = ( + A9AE1FD92D0639F100200A07 /* Sources */, + A9AE1FDA2D0639F100200A07 /* Frameworks */, + A9AE1FDB2D0639F100200A07 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + A9AE1FDF2D0639F100200A07 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + A9AE1FE02D0639F100200A07 /* MineSwiftTests */, + ); + name = MineSwiftTests; + packageProductDependencies = ( + ); + productName = MineSwiftTests; + productReference = A9AE1FDD2D0639F100200A07 /* MineSwiftTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + A9AE1FE62D0639F100200A07 /* MineSwiftUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = A9AE1FF72D0639F100200A07 /* Build configuration list for PBXNativeTarget "MineSwiftUITests" */; + buildPhases = ( + A9AE1FE32D0639F100200A07 /* Sources */, + A9AE1FE42D0639F100200A07 /* Frameworks */, + A9AE1FE52D0639F100200A07 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + A9AE1FE92D0639F100200A07 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + A9AE1FEA2D0639F100200A07 /* MineSwiftUITests */, + ); + name = MineSwiftUITests; + packageProductDependencies = ( + ); + productName = MineSwiftUITests; + productReference = A9AE1FE72D0639F100200A07 /* MineSwiftUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A9AE1FC42D0639E200200A07 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1610; + LastUpgradeCheck = 1610; + TargetAttributes = { + A9AE1FCB2D0639E200200A07 = { + CreatedOnToolsVersion = 16.1; + }; + A9AE1FDC2D0639F100200A07 = { + CreatedOnToolsVersion = 16.1; + TestTargetID = A9AE1FCB2D0639E200200A07; + }; + A9AE1FE62D0639F100200A07 = { + CreatedOnToolsVersion = 16.1; + TestTargetID = A9AE1FCB2D0639E200200A07; + }; + }; + }; + buildConfigurationList = A9AE1FC72D0639E200200A07 /* Build configuration list for PBXProject "MineSwift" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = A9AE1FC32D0639E200200A07; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = A9AE1FCD2D0639E200200A07 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A9AE1FCB2D0639E200200A07 /* MineSwift */, + A9AE1FDC2D0639F100200A07 /* MineSwiftTests */, + A9AE1FE62D0639F100200A07 /* MineSwiftUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A9AE1FCA2D0639E200200A07 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A9AE1FDB2D0639F100200A07 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A9AE1FE52D0639F100200A07 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A9AE1FC82D0639E200200A07 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A9AE1FD92D0639F100200A07 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A9AE1FE32D0639F100200A07 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + A9AE1FDF2D0639F100200A07 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A9AE1FCB2D0639E200200A07 /* MineSwift */; + targetProxy = A9AE1FDE2D0639F100200A07 /* PBXContainerItemProxy */; + }; + A9AE1FE92D0639F100200A07 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A9AE1FCB2D0639E200200A07 /* MineSwift */; + targetProxy = A9AE1FE82D0639F100200A07 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + A9AE1FEF2D0639F100200A07 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + A9AE1FF02D0639F100200A07 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + A9AE1FF22D0639F100200A07 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = MineSwift/MineSwift.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"MineSwift/Preview Content\""; + DEVELOPMENT_TEAM = 8626DL2GW3; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 18.1; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 15.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.MineSwift; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 2.1; + }; + name = Debug; + }; + A9AE1FF32D0639F100200A07 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = MineSwift/MineSwift.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"MineSwift/Preview Content\""; + DEVELOPMENT_TEAM = 8626DL2GW3; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 18.1; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 15.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.MineSwift; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 2.1; + }; + name = Release; + }; + A9AE1FF52D0639F100200A07 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8626DL2GW3; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.1; + MACOSX_DEPLOYMENT_TARGET = 15.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.MineSwiftTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MineSwift.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/MineSwift"; + XROS_DEPLOYMENT_TARGET = 2.1; + }; + name = Debug; + }; + A9AE1FF62D0639F100200A07 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8626DL2GW3; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.1; + MACOSX_DEPLOYMENT_TARGET = 15.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.MineSwiftTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MineSwift.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/MineSwift"; + XROS_DEPLOYMENT_TARGET = 2.1; + }; + name = Release; + }; + A9AE1FF82D0639F100200A07 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8626DL2GW3; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.1; + MACOSX_DEPLOYMENT_TARGET = 15.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.MineSwiftUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_TARGET_NAME = MineSwift; + XROS_DEPLOYMENT_TARGET = 2.1; + }; + name = Debug; + }; + A9AE1FF92D0639F100200A07 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8626DL2GW3; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.1; + MACOSX_DEPLOYMENT_TARGET = 15.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.MineSwiftUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_TARGET_NAME = MineSwift; + XROS_DEPLOYMENT_TARGET = 2.1; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A9AE1FC72D0639E200200A07 /* Build configuration list for PBXProject "MineSwift" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A9AE1FEF2D0639F100200A07 /* Debug */, + A9AE1FF02D0639F100200A07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A9AE1FF12D0639F100200A07 /* Build configuration list for PBXNativeTarget "MineSwift" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A9AE1FF22D0639F100200A07 /* Debug */, + A9AE1FF32D0639F100200A07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A9AE1FF42D0639F100200A07 /* Build configuration list for PBXNativeTarget "MineSwiftTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A9AE1FF52D0639F100200A07 /* Debug */, + A9AE1FF62D0639F100200A07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A9AE1FF72D0639F100200A07 /* Build configuration list for PBXNativeTarget "MineSwiftUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A9AE1FF82D0639F100200A07 /* Debug */, + A9AE1FF92D0639F100200A07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = A9AE1FC42D0639E200200A07 /* Project object */; +} diff --git a/MineSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MineSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/MineSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MineSwift/Assets.xcassets/AccentColor.colorset/Contents.json b/MineSwift/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/MineSwift/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MineSwift/Assets.xcassets/AppIcon.appiconset/Contents.json b/MineSwift/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..ffdfe15 --- /dev/null +++ b/MineSwift/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,85 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MineSwift/Assets.xcassets/Contents.json b/MineSwift/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/MineSwift/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MineSwift/ContentView.swift b/MineSwift/ContentView.swift new file mode 100644 index 0000000..f83c1a0 --- /dev/null +++ b/MineSwift/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// MineSwift +// +// Created by Nihaal Sharma on 08/12/2024. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundStyle(.tint) + Text("Hello, world!") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/MineSwift/MineSwift.entitlements b/MineSwift/MineSwift.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/MineSwift/MineSwift.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/MineSwift/MineSwiftApp.swift b/MineSwift/MineSwiftApp.swift new file mode 100644 index 0000000..6e25bdd --- /dev/null +++ b/MineSwift/MineSwiftApp.swift @@ -0,0 +1,17 @@ +// +// MineSwiftApp.swift +// MineSwift +// +// Created by Nihaal Sharma on 08/12/2024. +// + +import SwiftUI + +@main +struct MineSwiftApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/MineSwift/Preview Content/Preview Assets.xcassets/Contents.json b/MineSwift/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/MineSwift/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MineSwiftTests/MineSwiftTests.swift b/MineSwiftTests/MineSwiftTests.swift new file mode 100644 index 0000000..e111257 --- /dev/null +++ b/MineSwiftTests/MineSwiftTests.swift @@ -0,0 +1,16 @@ +// +// MineSwiftTests.swift +// MineSwiftTests +// +// Created by Nihaal Sharma on 08/12/2024. +// + +import Testing + +struct MineSwiftTests { + + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + } + +} diff --git a/MineSwiftUITests/MineSwiftUITests.swift b/MineSwiftUITests/MineSwiftUITests.swift new file mode 100644 index 0000000..57544e0 --- /dev/null +++ b/MineSwiftUITests/MineSwiftUITests.swift @@ -0,0 +1,43 @@ +// +// MineSwiftUITests.swift +// MineSwiftUITests +// +// Created by Nihaal Sharma on 08/12/2024. +// + +import XCTest + +final class MineSwiftUITests: 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. + } + + @MainActor + 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. + } + + @MainActor + 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/MineSwiftUITests/MineSwiftUITestsLaunchTests.swift b/MineSwiftUITests/MineSwiftUITestsLaunchTests.swift new file mode 100644 index 0000000..c863ff3 --- /dev/null +++ b/MineSwiftUITests/MineSwiftUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// MineSwiftUITestsLaunchTests.swift +// MineSwiftUITests +// +// Created by Nihaal Sharma on 08/12/2024. +// + +import XCTest + +final class MineSwiftUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + @MainActor + 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) + } +}