From 09c49a9840de9e4ca5761d51bc62abad006a6699 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 29 Nov 2022 14:16:54 +0100 Subject: [PATCH] Initial Commit --- BeReal.xcodeproj/project.pbxproj | 588 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + BeReal/Assets.xcassets/Contents.json | 6 + BeReal/BeRealApp.swift | 17 + BeReal/ContentView.swift | 26 + .../Preview Assets.xcassets/Contents.json | 6 + BeRealTests/BeRealTests.swift | 36 ++ BeRealUITests/BeRealUITests.swift | 41 ++ BeRealUITests/BeRealUITestsLaunchTests.swift | 32 + 13 files changed, 805 insertions(+) create mode 100644 BeReal.xcodeproj/project.pbxproj create mode 100644 BeReal.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 BeReal.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 BeReal.xcodeproj/xcuserdata/logan.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 BeReal/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 BeReal/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 BeReal/Assets.xcassets/Contents.json create mode 100644 BeReal/BeRealApp.swift create mode 100644 BeReal/ContentView.swift create mode 100644 BeReal/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 BeRealTests/BeRealTests.swift create mode 100644 BeRealUITests/BeRealUITests.swift create mode 100644 BeRealUITests/BeRealUITestsLaunchTests.swift diff --git a/BeReal.xcodeproj/project.pbxproj b/BeReal.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0c9a92a --- /dev/null +++ b/BeReal.xcodeproj/project.pbxproj @@ -0,0 +1,588 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 02AE64EF29363DBF005A4AF3 /* BeRealApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02AE64EE29363DBF005A4AF3 /* BeRealApp.swift */; }; + 02AE64F129363DBF005A4AF3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02AE64F029363DBF005A4AF3 /* ContentView.swift */; }; + 02AE64F329363DC1005A4AF3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 02AE64F229363DC1005A4AF3 /* Assets.xcassets */; }; + 02AE64F629363DC1005A4AF3 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 02AE64F529363DC1005A4AF3 /* Preview Assets.xcassets */; }; + 02AE650029363DC1005A4AF3 /* BeRealTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02AE64FF29363DC1005A4AF3 /* BeRealTests.swift */; }; + 02AE650A29363DC1005A4AF3 /* BeRealUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02AE650929363DC1005A4AF3 /* BeRealUITests.swift */; }; + 02AE650C29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02AE650B29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 02AE64FC29363DC1005A4AF3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 02AE64E329363DBF005A4AF3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 02AE64EA29363DBF005A4AF3; + remoteInfo = BeReal; + }; + 02AE650629363DC1005A4AF3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 02AE64E329363DBF005A4AF3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 02AE64EA29363DBF005A4AF3; + remoteInfo = BeReal; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 02AE64EB29363DBF005A4AF3 /* BeReal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BeReal.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 02AE64EE29363DBF005A4AF3 /* BeRealApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BeRealApp.swift; sourceTree = ""; }; + 02AE64F029363DBF005A4AF3 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 02AE64F229363DC1005A4AF3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 02AE64F529363DC1005A4AF3 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 02AE64FB29363DC1005A4AF3 /* BeRealTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BeRealTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 02AE64FF29363DC1005A4AF3 /* BeRealTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BeRealTests.swift; sourceTree = ""; }; + 02AE650529363DC1005A4AF3 /* BeRealUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BeRealUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 02AE650929363DC1005A4AF3 /* BeRealUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BeRealUITests.swift; sourceTree = ""; }; + 02AE650B29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BeRealUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 02AE64E829363DBF005A4AF3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 02AE64F829363DC1005A4AF3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 02AE650229363DC1005A4AF3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 02AE64E229363DBF005A4AF3 = { + isa = PBXGroup; + children = ( + 02AE64ED29363DBF005A4AF3 /* BeReal */, + 02AE64FE29363DC1005A4AF3 /* BeRealTests */, + 02AE650829363DC1005A4AF3 /* BeRealUITests */, + 02AE64EC29363DBF005A4AF3 /* Products */, + ); + sourceTree = ""; + }; + 02AE64EC29363DBF005A4AF3 /* Products */ = { + isa = PBXGroup; + children = ( + 02AE64EB29363DBF005A4AF3 /* BeReal.app */, + 02AE64FB29363DC1005A4AF3 /* BeRealTests.xctest */, + 02AE650529363DC1005A4AF3 /* BeRealUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 02AE64ED29363DBF005A4AF3 /* BeReal */ = { + isa = PBXGroup; + children = ( + 02AE64EE29363DBF005A4AF3 /* BeRealApp.swift */, + 02AE64F029363DBF005A4AF3 /* ContentView.swift */, + 02AE64F229363DC1005A4AF3 /* Assets.xcassets */, + 02AE64F429363DC1005A4AF3 /* Preview Content */, + ); + path = BeReal; + sourceTree = ""; + }; + 02AE64F429363DC1005A4AF3 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 02AE64F529363DC1005A4AF3 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 02AE64FE29363DC1005A4AF3 /* BeRealTests */ = { + isa = PBXGroup; + children = ( + 02AE64FF29363DC1005A4AF3 /* BeRealTests.swift */, + ); + path = BeRealTests; + sourceTree = ""; + }; + 02AE650829363DC1005A4AF3 /* BeRealUITests */ = { + isa = PBXGroup; + children = ( + 02AE650929363DC1005A4AF3 /* BeRealUITests.swift */, + 02AE650B29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift */, + ); + path = BeRealUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 02AE64EA29363DBF005A4AF3 /* BeReal */ = { + isa = PBXNativeTarget; + buildConfigurationList = 02AE650F29363DC1005A4AF3 /* Build configuration list for PBXNativeTarget "BeReal" */; + buildPhases = ( + 02AE64E729363DBF005A4AF3 /* Sources */, + 02AE64E829363DBF005A4AF3 /* Frameworks */, + 02AE64E929363DBF005A4AF3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = BeReal; + productName = BeReal; + productReference = 02AE64EB29363DBF005A4AF3 /* BeReal.app */; + productType = "com.apple.product-type.application"; + }; + 02AE64FA29363DC1005A4AF3 /* BeRealTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 02AE651229363DC1005A4AF3 /* Build configuration list for PBXNativeTarget "BeRealTests" */; + buildPhases = ( + 02AE64F729363DC1005A4AF3 /* Sources */, + 02AE64F829363DC1005A4AF3 /* Frameworks */, + 02AE64F929363DC1005A4AF3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 02AE64FD29363DC1005A4AF3 /* PBXTargetDependency */, + ); + name = BeRealTests; + productName = BeRealTests; + productReference = 02AE64FB29363DC1005A4AF3 /* BeRealTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 02AE650429363DC1005A4AF3 /* BeRealUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 02AE651529363DC1005A4AF3 /* Build configuration list for PBXNativeTarget "BeRealUITests" */; + buildPhases = ( + 02AE650129363DC1005A4AF3 /* Sources */, + 02AE650229363DC1005A4AF3 /* Frameworks */, + 02AE650329363DC1005A4AF3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 02AE650729363DC1005A4AF3 /* PBXTargetDependency */, + ); + name = BeRealUITests; + productName = BeRealUITests; + productReference = 02AE650529363DC1005A4AF3 /* BeRealUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 02AE64E329363DBF005A4AF3 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1410; + LastUpgradeCheck = 1410; + TargetAttributes = { + 02AE64EA29363DBF005A4AF3 = { + CreatedOnToolsVersion = 14.1; + }; + 02AE64FA29363DC1005A4AF3 = { + CreatedOnToolsVersion = 14.1; + TestTargetID = 02AE64EA29363DBF005A4AF3; + }; + 02AE650429363DC1005A4AF3 = { + CreatedOnToolsVersion = 14.1; + TestTargetID = 02AE64EA29363DBF005A4AF3; + }; + }; + }; + buildConfigurationList = 02AE64E629363DBF005A4AF3 /* Build configuration list for PBXProject "BeReal" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 02AE64E229363DBF005A4AF3; + productRefGroup = 02AE64EC29363DBF005A4AF3 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 02AE64EA29363DBF005A4AF3 /* BeReal */, + 02AE64FA29363DC1005A4AF3 /* BeRealTests */, + 02AE650429363DC1005A4AF3 /* BeRealUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 02AE64E929363DBF005A4AF3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 02AE64F629363DC1005A4AF3 /* Preview Assets.xcassets in Resources */, + 02AE64F329363DC1005A4AF3 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 02AE64F929363DC1005A4AF3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 02AE650329363DC1005A4AF3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 02AE64E729363DBF005A4AF3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 02AE64F129363DBF005A4AF3 /* ContentView.swift in Sources */, + 02AE64EF29363DBF005A4AF3 /* BeRealApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 02AE64F729363DC1005A4AF3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 02AE650029363DC1005A4AF3 /* BeRealTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 02AE650129363DC1005A4AF3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 02AE650A29363DC1005A4AF3 /* BeRealUITests.swift in Sources */, + 02AE650C29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 02AE64FD29363DC1005A4AF3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 02AE64EA29363DBF005A4AF3 /* BeReal */; + targetProxy = 02AE64FC29363DC1005A4AF3 /* PBXContainerItemProxy */; + }; + 02AE650729363DC1005A4AF3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 02AE64EA29363DBF005A4AF3 /* BeReal */; + targetProxy = 02AE650629363DC1005A4AF3 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 02AE650D29363DC1005A4AF3 /* 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.1; + 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; + }; + 02AE650E29363DC1005A4AF3 /* 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.1; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 02AE651029363DC1005A4AF3 /* 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 = "\"BeReal/Preview Content\""; + DEVELOPMENT_TEAM = 7FMNM89WKG; + 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 = com.rockncode.app.assignment.BeReal; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 02AE651129363DC1005A4AF3 /* 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 = "\"BeReal/Preview Content\""; + DEVELOPMENT_TEAM = 7FMNM89WKG; + 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 = com.rockncode.app.assignment.BeReal; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 02AE651329363DC1005A4AF3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 7FMNM89WKG; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.rockncode.app.assignment.BeRealTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BeReal.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/BeReal"; + }; + name = Debug; + }; + 02AE651429363DC1005A4AF3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 7FMNM89WKG; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.1; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.rockncode.app.assignment.BeRealTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BeReal.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/BeReal"; + }; + name = Release; + }; + 02AE651629363DC1005A4AF3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 7FMNM89WKG; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.rockncode.app.assignment.BeRealUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = BeReal; + }; + name = Debug; + }; + 02AE651729363DC1005A4AF3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 7FMNM89WKG; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.rockncode.app.assignment.BeRealUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = BeReal; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 02AE64E629363DBF005A4AF3 /* Build configuration list for PBXProject "BeReal" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 02AE650D29363DC1005A4AF3 /* Debug */, + 02AE650E29363DC1005A4AF3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 02AE650F29363DC1005A4AF3 /* Build configuration list for PBXNativeTarget "BeReal" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 02AE651029363DC1005A4AF3 /* Debug */, + 02AE651129363DC1005A4AF3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 02AE651229363DC1005A4AF3 /* Build configuration list for PBXNativeTarget "BeRealTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 02AE651329363DC1005A4AF3 /* Debug */, + 02AE651429363DC1005A4AF3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 02AE651529363DC1005A4AF3 /* Build configuration list for PBXNativeTarget "BeRealUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 02AE651629363DC1005A4AF3 /* Debug */, + 02AE651729363DC1005A4AF3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 02AE64E329363DBF005A4AF3 /* Project object */; +} diff --git a/BeReal.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/BeReal.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/BeReal.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/BeReal.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/BeReal.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/BeReal.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/BeReal.xcodeproj/xcuserdata/logan.xcuserdatad/xcschemes/xcschememanagement.plist b/BeReal.xcodeproj/xcuserdata/logan.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..de91ed2 --- /dev/null +++ b/BeReal.xcodeproj/xcuserdata/logan.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + BeReal.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/BeReal/Assets.xcassets/AccentColor.colorset/Contents.json b/BeReal/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/BeReal/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BeReal/Assets.xcassets/AppIcon.appiconset/Contents.json b/BeReal/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/BeReal/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/BeReal/Assets.xcassets/Contents.json b/BeReal/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/BeReal/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BeReal/BeRealApp.swift b/BeReal/BeRealApp.swift new file mode 100644 index 0000000..a66912a --- /dev/null +++ b/BeReal/BeRealApp.swift @@ -0,0 +1,17 @@ +// +// BeRealApp.swift +// BeReal +// +// Created by Javier Cicchelli on 29/11/2022. +// + +import SwiftUI + +@main +struct BeRealApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/BeReal/ContentView.swift b/BeReal/ContentView.swift new file mode 100644 index 0000000..fee8a30 --- /dev/null +++ b/BeReal/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// BeReal +// +// Created by Javier Cicchelli on 29/11/2022. +// + +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/BeReal/Preview Content/Preview Assets.xcassets/Contents.json b/BeReal/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/BeReal/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BeRealTests/BeRealTests.swift b/BeRealTests/BeRealTests.swift new file mode 100644 index 0000000..accd7a1 --- /dev/null +++ b/BeRealTests/BeRealTests.swift @@ -0,0 +1,36 @@ +// +// BeRealTests.swift +// BeRealTests +// +// Created by Javier Cicchelli on 29/11/2022. +// + +import XCTest +@testable import BeReal + +final class BeRealTests: 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/BeRealUITests/BeRealUITests.swift b/BeRealUITests/BeRealUITests.swift new file mode 100644 index 0000000..cf98a9a --- /dev/null +++ b/BeRealUITests/BeRealUITests.swift @@ -0,0 +1,41 @@ +// +// BeRealUITests.swift +// BeRealUITests +// +// Created by Javier Cicchelli on 29/11/2022. +// + +import XCTest + +final class BeRealUITests: 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/BeRealUITests/BeRealUITestsLaunchTests.swift b/BeRealUITests/BeRealUITestsLaunchTests.swift new file mode 100644 index 0000000..ebec3f3 --- /dev/null +++ b/BeRealUITests/BeRealUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// BeRealUITestsLaunchTests.swift +// BeRealUITests +// +// Created by Javier Cicchelli on 29/11/2022. +// + +import XCTest + +final class BeRealUITestsLaunchTests: 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) + } +}