From 1698e3ce159fe48713deb8005aa956b434fd8357 Mon Sep 17 00:00:00 2001 From: dave-enterprise Date: Sun, 26 Apr 2026 10:15:16 -0700 Subject: [PATCH] Initial Commit --- MoonWatch.xcodeproj/project.pbxproj | 575 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 35 ++ MoonWatch/Assets.xcassets/Contents.json | 6 + MoonWatch/ContentView.swift | 24 + MoonWatch/MoonWatchApp.swift | 17 + MoonWatchTests/MoonWatchTests.swift | 19 + MoonWatchUITests/MoonWatchUITests.swift | 43 ++ .../MoonWatchUITestsLaunchTests.swift | 35 ++ 11 files changed, 786 insertions(+) create mode 100644 MoonWatch.xcodeproj/project.pbxproj create mode 100644 MoonWatch.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 MoonWatch.xcodeproj/xcuserdata/oceans2alaska.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 MoonWatch/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 MoonWatch/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 MoonWatch/Assets.xcassets/Contents.json create mode 100644 MoonWatch/ContentView.swift create mode 100644 MoonWatch/MoonWatchApp.swift create mode 100644 MoonWatchTests/MoonWatchTests.swift create mode 100644 MoonWatchUITests/MoonWatchUITests.swift create mode 100644 MoonWatchUITests/MoonWatchUITestsLaunchTests.swift diff --git a/MoonWatch.xcodeproj/project.pbxproj b/MoonWatch.xcodeproj/project.pbxproj new file mode 100644 index 0000000..578714c --- /dev/null +++ b/MoonWatch.xcodeproj/project.pbxproj @@ -0,0 +1,575 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + EBC899932F9E7FA300246C26 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EBC8997D2F9E7FA200246C26 /* Project object */; + proxyType = 1; + remoteGlobalIDString = EBC899842F9E7FA200246C26; + remoteInfo = MoonWatch; + }; + EBC8999D2F9E7FA300246C26 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EBC8997D2F9E7FA200246C26 /* Project object */; + proxyType = 1; + remoteGlobalIDString = EBC899842F9E7FA200246C26; + remoteInfo = MoonWatch; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + EBC899852F9E7FA200246C26 /* MoonWatch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MoonWatch.app; sourceTree = BUILT_PRODUCTS_DIR; }; + EBC899922F9E7FA300246C26 /* MoonWatchTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MoonWatchTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EBC8999C2F9E7FA300246C26 /* MoonWatchUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MoonWatchUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + EBC899872F9E7FA200246C26 /* MoonWatch */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = MoonWatch; + sourceTree = ""; + }; + EBC899952F9E7FA300246C26 /* MoonWatchTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = MoonWatchTests; + sourceTree = ""; + }; + EBC8999F2F9E7FA300246C26 /* MoonWatchUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = MoonWatchUITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + EBC899822F9E7FA200246C26 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBC8998F2F9E7FA300246C26 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBC899992F9E7FA300246C26 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EBC8997C2F9E7FA200246C26 = { + isa = PBXGroup; + children = ( + EBC899872F9E7FA200246C26 /* MoonWatch */, + EBC899952F9E7FA300246C26 /* MoonWatchTests */, + EBC8999F2F9E7FA300246C26 /* MoonWatchUITests */, + EBC899862F9E7FA200246C26 /* Products */, + ); + sourceTree = ""; + }; + EBC899862F9E7FA200246C26 /* Products */ = { + isa = PBXGroup; + children = ( + EBC899852F9E7FA200246C26 /* MoonWatch.app */, + EBC899922F9E7FA300246C26 /* MoonWatchTests.xctest */, + EBC8999C2F9E7FA300246C26 /* MoonWatchUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EBC899842F9E7FA200246C26 /* MoonWatch */ = { + isa = PBXNativeTarget; + buildConfigurationList = EBC899A62F9E7FA300246C26 /* Build configuration list for PBXNativeTarget "MoonWatch" */; + buildPhases = ( + EBC899812F9E7FA200246C26 /* Sources */, + EBC899822F9E7FA200246C26 /* Frameworks */, + EBC899832F9E7FA200246C26 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + EBC899872F9E7FA200246C26 /* MoonWatch */, + ); + name = MoonWatch; + packageProductDependencies = ( + ); + productName = MoonWatch; + productReference = EBC899852F9E7FA200246C26 /* MoonWatch.app */; + productType = "com.apple.product-type.application"; + }; + EBC899912F9E7FA300246C26 /* MoonWatchTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EBC899A92F9E7FA300246C26 /* Build configuration list for PBXNativeTarget "MoonWatchTests" */; + buildPhases = ( + EBC8998E2F9E7FA300246C26 /* Sources */, + EBC8998F2F9E7FA300246C26 /* Frameworks */, + EBC899902F9E7FA300246C26 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EBC899942F9E7FA300246C26 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + EBC899952F9E7FA300246C26 /* MoonWatchTests */, + ); + name = MoonWatchTests; + packageProductDependencies = ( + ); + productName = MoonWatchTests; + productReference = EBC899922F9E7FA300246C26 /* MoonWatchTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + EBC8999B2F9E7FA300246C26 /* MoonWatchUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EBC899AC2F9E7FA300246C26 /* Build configuration list for PBXNativeTarget "MoonWatchUITests" */; + buildPhases = ( + EBC899982F9E7FA300246C26 /* Sources */, + EBC899992F9E7FA300246C26 /* Frameworks */, + EBC8999A2F9E7FA300246C26 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EBC8999E2F9E7FA300246C26 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + EBC8999F2F9E7FA300246C26 /* MoonWatchUITests */, + ); + name = MoonWatchUITests; + packageProductDependencies = ( + ); + productName = MoonWatchUITests; + productReference = EBC8999C2F9E7FA300246C26 /* MoonWatchUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EBC8997D2F9E7FA200246C26 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 2640; + LastUpgradeCheck = 2640; + TargetAttributes = { + EBC899842F9E7FA200246C26 = { + CreatedOnToolsVersion = 26.4.1; + }; + EBC899912F9E7FA300246C26 = { + CreatedOnToolsVersion = 26.4.1; + TestTargetID = EBC899842F9E7FA200246C26; + }; + EBC8999B2F9E7FA300246C26 = { + CreatedOnToolsVersion = 26.4.1; + TestTargetID = EBC899842F9E7FA200246C26; + }; + }; + }; + buildConfigurationList = EBC899802F9E7FA200246C26 /* Build configuration list for PBXProject "MoonWatch" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EBC8997C2F9E7FA200246C26; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = EBC899862F9E7FA200246C26 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EBC899842F9E7FA200246C26 /* MoonWatch */, + EBC899912F9E7FA300246C26 /* MoonWatchTests */, + EBC8999B2F9E7FA300246C26 /* MoonWatchUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EBC899832F9E7FA200246C26 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBC899902F9E7FA300246C26 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBC8999A2F9E7FA300246C26 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EBC899812F9E7FA200246C26 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBC8998E2F9E7FA300246C26 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EBC899982F9E7FA300246C26 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + EBC899942F9E7FA300246C26 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EBC899842F9E7FA200246C26 /* MoonWatch */; + targetProxy = EBC899932F9E7FA300246C26 /* PBXContainerItemProxy */; + }; + EBC8999E2F9E7FA300246C26 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EBC899842F9E7FA200246C26 /* MoonWatch */; + targetProxy = EBC8999D2F9E7FA300246C26 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + EBC899A42F9E7FA300246C26 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 26.4; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EBC899A52F9E7FA300246C26 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 26.4; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EBC899A72F9E7FA300246C26 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + 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 = "dave-enterprise.MoonWatch"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EBC899A82F9E7FA300246C26 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + 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 = "dave-enterprise.MoonWatch"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + EBC899AA2F9E7FA300246C26 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 26.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dave-enterprise.MoonWatchTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MoonWatch.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/MoonWatch"; + }; + name = Debug; + }; + EBC899AB2F9E7FA300246C26 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 26.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dave-enterprise.MoonWatchTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MoonWatch.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/MoonWatch"; + }; + name = Release; + }; + EBC899AD2F9E7FA300246C26 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dave-enterprise.MoonWatchUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = MoonWatch; + }; + name = Debug; + }; + EBC899AE2F9E7FA300246C26 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dave-enterprise.MoonWatchUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = MoonWatch; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EBC899802F9E7FA200246C26 /* Build configuration list for PBXProject "MoonWatch" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EBC899A42F9E7FA300246C26 /* Debug */, + EBC899A52F9E7FA300246C26 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EBC899A62F9E7FA300246C26 /* Build configuration list for PBXNativeTarget "MoonWatch" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EBC899A72F9E7FA300246C26 /* Debug */, + EBC899A82F9E7FA300246C26 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EBC899A92F9E7FA300246C26 /* Build configuration list for PBXNativeTarget "MoonWatchTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EBC899AA2F9E7FA300246C26 /* Debug */, + EBC899AB2F9E7FA300246C26 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EBC899AC2F9E7FA300246C26 /* Build configuration list for PBXNativeTarget "MoonWatchUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EBC899AD2F9E7FA300246C26 /* Debug */, + EBC899AE2F9E7FA300246C26 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EBC8997D2F9E7FA200246C26 /* Project object */; +} diff --git a/MoonWatch.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MoonWatch.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/MoonWatch.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MoonWatch.xcodeproj/xcuserdata/oceans2alaska.xcuserdatad/xcschemes/xcschememanagement.plist b/MoonWatch.xcodeproj/xcuserdata/oceans2alaska.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..76d3a94 --- /dev/null +++ b/MoonWatch.xcodeproj/xcuserdata/oceans2alaska.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + MoonWatch.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/MoonWatch/Assets.xcassets/AccentColor.colorset/Contents.json b/MoonWatch/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/MoonWatch/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MoonWatch/Assets.xcassets/AppIcon.appiconset/Contents.json b/MoonWatch/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2305880 --- /dev/null +++ b/MoonWatch/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,35 @@ +{ + "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" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MoonWatch/Assets.xcassets/Contents.json b/MoonWatch/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/MoonWatch/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MoonWatch/ContentView.swift b/MoonWatch/ContentView.swift new file mode 100644 index 0000000..930f3c3 --- /dev/null +++ b/MoonWatch/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// MoonWatch +// +// Created by david on 4/26/26. +// + +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/MoonWatch/MoonWatchApp.swift b/MoonWatch/MoonWatchApp.swift new file mode 100644 index 0000000..a92a28c --- /dev/null +++ b/MoonWatch/MoonWatchApp.swift @@ -0,0 +1,17 @@ +// +// MoonWatchApp.swift +// MoonWatch +// +// Created by david on 4/26/26. +// + +import SwiftUI + +@main +struct MoonWatchApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/MoonWatchTests/MoonWatchTests.swift b/MoonWatchTests/MoonWatchTests.swift new file mode 100644 index 0000000..4db4baa --- /dev/null +++ b/MoonWatchTests/MoonWatchTests.swift @@ -0,0 +1,19 @@ +// +// MoonWatchTests.swift +// MoonWatchTests +// +// Created by david on 4/26/26. +// + +import Testing +@testable import MoonWatch + +struct MoonWatchTests { + + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + // Swift Testing Documentation + // https://developer.apple.com/documentation/testing + } + +} diff --git a/MoonWatchUITests/MoonWatchUITests.swift b/MoonWatchUITests/MoonWatchUITests.swift new file mode 100644 index 0000000..4d05b6a --- /dev/null +++ b/MoonWatchUITests/MoonWatchUITests.swift @@ -0,0 +1,43 @@ +// +// MoonWatchUITests.swift +// MoonWatchUITests +// +// Created by david on 4/26/26. +// + +import XCTest + +final class MoonWatchUITests: 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. + // XCUIAutomation Documentation + // https://developer.apple.com/documentation/xcuiautomation + } + + @MainActor + func testLaunchPerformance() throws { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } +} diff --git a/MoonWatchUITests/MoonWatchUITestsLaunchTests.swift b/MoonWatchUITests/MoonWatchUITestsLaunchTests.swift new file mode 100644 index 0000000..6b36482 --- /dev/null +++ b/MoonWatchUITests/MoonWatchUITestsLaunchTests.swift @@ -0,0 +1,35 @@ +// +// MoonWatchUITestsLaunchTests.swift +// MoonWatchUITests +// +// Created by david on 4/26/26. +// + +import XCTest + +final class MoonWatchUITestsLaunchTests: 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 + // XCUIAutomation Documentation + // https://developer.apple.com/documentation/xcuiautomation + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +}