From 85daea17702f716d61704223c978e7e75a3993a6 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Wed, 31 Dec 2025 19:35:12 +0000 Subject: [PATCH] Initial Commit --- Scream.xcodeproj/project.pbxproj | 580 +++++++++++++++ .../contents.xcworkspacedata | 7 + Scream/AppDelegate.swift | 30 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 58 ++ Scream/Assets.xcassets/Contents.json | 6 + Scream/Base.lproj/MainMenu.xib | 698 ++++++++++++++++++ ScreamTests/ScreamTests.swift | 17 + ScreamUITests/ScreamUITests.swift | 41 + ScreamUITests/ScreamUITestsLaunchTests.swift | 33 + 10 files changed, 1481 insertions(+) create mode 100644 Scream.xcodeproj/project.pbxproj create mode 100644 Scream.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Scream/AppDelegate.swift create mode 100644 Scream/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 Scream/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Scream/Assets.xcassets/Contents.json create mode 100644 Scream/Base.lproj/MainMenu.xib create mode 100644 ScreamTests/ScreamTests.swift create mode 100644 ScreamUITests/ScreamUITests.swift create mode 100644 ScreamUITests/ScreamUITestsLaunchTests.swift diff --git a/Scream.xcodeproj/project.pbxproj b/Scream.xcodeproj/project.pbxproj new file mode 100644 index 0000000..84b59df --- /dev/null +++ b/Scream.xcodeproj/project.pbxproj @@ -0,0 +1,580 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + A98E8BCF2F05B26D006D4458 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A98E8BB82F05B26B006D4458 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A98E8BBF2F05B26B006D4458; + remoteInfo = Scream; + }; + A98E8BD92F05B26D006D4458 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A98E8BB82F05B26B006D4458 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A98E8BBF2F05B26B006D4458; + remoteInfo = Scream; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + A98E8BC02F05B26B006D4458 /* Scream.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Scream.app; sourceTree = BUILT_PRODUCTS_DIR; }; + A98E8BCE2F05B26D006D4458 /* ScreamTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ScreamTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + A98E8BD82F05B26D006D4458 /* ScreamUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ScreamUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + A98E8BC22F05B26B006D4458 /* Scream */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = Scream; + sourceTree = ""; + }; + A98E8BD12F05B26D006D4458 /* ScreamTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = ScreamTests; + sourceTree = ""; + }; + A98E8BDB2F05B26D006D4458 /* ScreamUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = ScreamUITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + A98E8BBD2F05B26B006D4458 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A98E8BCB2F05B26D006D4458 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A98E8BD52F05B26D006D4458 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A98E8BB72F05B26B006D4458 = { + isa = PBXGroup; + children = ( + A98E8BC22F05B26B006D4458 /* Scream */, + A98E8BD12F05B26D006D4458 /* ScreamTests */, + A98E8BDB2F05B26D006D4458 /* ScreamUITests */, + A98E8BC12F05B26B006D4458 /* Products */, + ); + sourceTree = ""; + }; + A98E8BC12F05B26B006D4458 /* Products */ = { + isa = PBXGroup; + children = ( + A98E8BC02F05B26B006D4458 /* Scream.app */, + A98E8BCE2F05B26D006D4458 /* ScreamTests.xctest */, + A98E8BD82F05B26D006D4458 /* ScreamUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + A98E8BBF2F05B26B006D4458 /* Scream */ = { + isa = PBXNativeTarget; + buildConfigurationList = A98E8BE22F05B26D006D4458 /* Build configuration list for PBXNativeTarget "Scream" */; + buildPhases = ( + A98E8BBC2F05B26B006D4458 /* Sources */, + A98E8BBD2F05B26B006D4458 /* Frameworks */, + A98E8BBE2F05B26B006D4458 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + A98E8BC22F05B26B006D4458 /* Scream */, + ); + name = Scream; + packageProductDependencies = ( + ); + productName = Scream; + productReference = A98E8BC02F05B26B006D4458 /* Scream.app */; + productType = "com.apple.product-type.application"; + }; + A98E8BCD2F05B26D006D4458 /* ScreamTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = A98E8BE52F05B26D006D4458 /* Build configuration list for PBXNativeTarget "ScreamTests" */; + buildPhases = ( + A98E8BCA2F05B26D006D4458 /* Sources */, + A98E8BCB2F05B26D006D4458 /* Frameworks */, + A98E8BCC2F05B26D006D4458 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + A98E8BD02F05B26D006D4458 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + A98E8BD12F05B26D006D4458 /* ScreamTests */, + ); + name = ScreamTests; + packageProductDependencies = ( + ); + productName = ScreamTests; + productReference = A98E8BCE2F05B26D006D4458 /* ScreamTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + A98E8BD72F05B26D006D4458 /* ScreamUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = A98E8BE82F05B26D006D4458 /* Build configuration list for PBXNativeTarget "ScreamUITests" */; + buildPhases = ( + A98E8BD42F05B26D006D4458 /* Sources */, + A98E8BD52F05B26D006D4458 /* Frameworks */, + A98E8BD62F05B26D006D4458 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + A98E8BDA2F05B26D006D4458 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + A98E8BDB2F05B26D006D4458 /* ScreamUITests */, + ); + name = ScreamUITests; + packageProductDependencies = ( + ); + productName = ScreamUITests; + productReference = A98E8BD82F05B26D006D4458 /* ScreamUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A98E8BB82F05B26B006D4458 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 2620; + LastUpgradeCheck = 2620; + TargetAttributes = { + A98E8BBF2F05B26B006D4458 = { + CreatedOnToolsVersion = 26.2; + }; + A98E8BCD2F05B26D006D4458 = { + CreatedOnToolsVersion = 26.2; + TestTargetID = A98E8BBF2F05B26B006D4458; + }; + A98E8BD72F05B26D006D4458 = { + CreatedOnToolsVersion = 26.2; + TestTargetID = A98E8BBF2F05B26B006D4458; + }; + }; + }; + buildConfigurationList = A98E8BBB2F05B26B006D4458 /* Build configuration list for PBXProject "Scream" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = A98E8BB72F05B26B006D4458; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = A98E8BC12F05B26B006D4458 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A98E8BBF2F05B26B006D4458 /* Scream */, + A98E8BCD2F05B26D006D4458 /* ScreamTests */, + A98E8BD72F05B26D006D4458 /* ScreamUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A98E8BBE2F05B26B006D4458 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A98E8BCC2F05B26D006D4458 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A98E8BD62F05B26D006D4458 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A98E8BBC2F05B26B006D4458 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A98E8BCA2F05B26D006D4458 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A98E8BD42F05B26D006D4458 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + A98E8BD02F05B26D006D4458 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A98E8BBF2F05B26B006D4458 /* Scream */; + targetProxy = A98E8BCF2F05B26D006D4458 /* PBXContainerItemProxy */; + }; + A98E8BDA2F05B26D006D4458 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A98E8BBF2F05B26B006D4458 /* Scream */; + targetProxy = A98E8BD92F05B26D006D4458 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + A98E8BE02F05B26D006D4458 /* 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; + DEVELOPMENT_TEAM = 8JGND254B7; + 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; + MACOSX_DEPLOYMENT_TARGET = 15.7; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + A98E8BE12F05B26D006D4458 /* 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"; + DEVELOPMENT_TEAM = 8JGND254B7; + 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; + MACOSX_DEPLOYMENT_TARGET = 15.7; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + A98E8BE32F05B26D006D4458 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8JGND254B7; + ENABLE_APP_SANDBOX = YES; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_USER_SELECTED_FILES = readonly; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INFOPLIST_KEY_NSMainNibFile = MainMenu; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.Scream; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + 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; + }; + name = Debug; + }; + A98E8BE42F05B26D006D4458 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8JGND254B7; + ENABLE_APP_SANDBOX = YES; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_USER_SELECTED_FILES = readonly; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INFOPLIST_KEY_NSMainNibFile = MainMenu; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.Scream; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + 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; + }; + name = Release; + }; + A98E8BE62F05B26D006D4458 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8JGND254B7; + GENERATE_INFOPLIST_FILE = YES; + MACOSX_DEPLOYMENT_TARGET = 15.7; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.ScreamTests; + 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; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Scream.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Scream"; + }; + name = Debug; + }; + A98E8BE72F05B26D006D4458 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8JGND254B7; + GENERATE_INFOPLIST_FILE = YES; + MACOSX_DEPLOYMENT_TARGET = 15.7; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.ScreamTests; + 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; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Scream.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Scream"; + }; + name = Release; + }; + A98E8BE92F05B26D006D4458 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8JGND254B7; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.ScreamUITests; + 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; + TEST_TARGET_NAME = Scream; + }; + name = Debug; + }; + A98E8BEA2F05B26D006D4458 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8JGND254B7; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.neon443.ScreamUITests; + 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; + TEST_TARGET_NAME = Scream; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A98E8BBB2F05B26B006D4458 /* Build configuration list for PBXProject "Scream" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A98E8BE02F05B26D006D4458 /* Debug */, + A98E8BE12F05B26D006D4458 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A98E8BE22F05B26D006D4458 /* Build configuration list for PBXNativeTarget "Scream" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A98E8BE32F05B26D006D4458 /* Debug */, + A98E8BE42F05B26D006D4458 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A98E8BE52F05B26D006D4458 /* Build configuration list for PBXNativeTarget "ScreamTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A98E8BE62F05B26D006D4458 /* Debug */, + A98E8BE72F05B26D006D4458 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A98E8BE82F05B26D006D4458 /* Build configuration list for PBXNativeTarget "ScreamUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A98E8BE92F05B26D006D4458 /* Debug */, + A98E8BEA2F05B26D006D4458 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = A98E8BB82F05B26B006D4458 /* Project object */; +} diff --git a/Scream.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Scream.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Scream.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Scream/AppDelegate.swift b/Scream/AppDelegate.swift new file mode 100644 index 0000000..3018e7a --- /dev/null +++ b/Scream/AppDelegate.swift @@ -0,0 +1,30 @@ +// +// AppDelegate.swift +// Scream +// +// Created by neon443 on 31/12/2025. +// + +import Cocoa + +@main +class AppDelegate: NSObject, NSApplicationDelegate { + + @IBOutlet var window: NSWindow! + + + func applicationDidFinishLaunching(_ aNotification: Notification) { + // Insert code here to initialize your application + } + + func applicationWillTerminate(_ aNotification: Notification) { + // Insert code here to tear down your application + } + + func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { + return true + } + + +} + diff --git a/Scream/Assets.xcassets/AccentColor.colorset/Contents.json b/Scream/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Scream/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Scream/Assets.xcassets/AppIcon.appiconset/Contents.json b/Scream/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/Scream/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "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/Scream/Assets.xcassets/Contents.json b/Scream/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Scream/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Scream/Base.lproj/MainMenu.xib b/Scream/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..6958f4c --- /dev/null +++ b/Scream/Base.lproj/MainMenu.xib @@ -0,0 +1,698 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ScreamTests/ScreamTests.swift b/ScreamTests/ScreamTests.swift new file mode 100644 index 0000000..3903a32 --- /dev/null +++ b/ScreamTests/ScreamTests.swift @@ -0,0 +1,17 @@ +// +// ScreamTests.swift +// ScreamTests +// +// Created by neon443 on 31/12/2025. +// + +import Testing +@testable import Scream + +struct ScreamTests { + + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + } + +} diff --git a/ScreamUITests/ScreamUITests.swift b/ScreamUITests/ScreamUITests.swift new file mode 100644 index 0000000..3728bd3 --- /dev/null +++ b/ScreamUITests/ScreamUITests.swift @@ -0,0 +1,41 @@ +// +// ScreamUITests.swift +// ScreamUITests +// +// Created by neon443 on 31/12/2025. +// + +import XCTest + +final class ScreamUITests: 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 { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } +} diff --git a/ScreamUITests/ScreamUITestsLaunchTests.swift b/ScreamUITests/ScreamUITestsLaunchTests.swift new file mode 100644 index 0000000..72b4d60 --- /dev/null +++ b/ScreamUITests/ScreamUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// ScreamUITestsLaunchTests.swift +// ScreamUITests +// +// Created by neon443 on 31/12/2025. +// + +import XCTest + +final class ScreamUITestsLaunchTests: 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) + } +}