From 39eaed8532271d0a46c66d57da368cf207bbf177 Mon Sep 17 00:00:00 2001 From: User Date: Thu, 7 Mar 2024 15:29:05 +0300 Subject: [PATCH] Ui Autorization --- SwUI.xcodeproj/project.pbxproj | 587 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../UserInterfaceState.xcuserstate | Bin 0 -> 20947 bytes .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + SwUI/Assets.xcassets/Contents.json | 6 + SwUI/ContentView.swift | 137 ++++ .../Preview Assets.xcassets/Contents.json | 6 + SwUI/SwUIApp.swift | 17 + SwUITests/SwUITests.swift | 36 ++ SwUIUITests/SwUIUITests.swift | 41 ++ SwUIUITests/SwUIUITestsLaunchTests.swift | 32 + 14 files changed, 915 insertions(+) create mode 100644 SwUI.xcodeproj/project.pbxproj create mode 100644 SwUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 SwUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 SwUI.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 SwUI.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 SwUI/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 SwUI/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 SwUI/Assets.xcassets/Contents.json create mode 100644 SwUI/ContentView.swift create mode 100644 SwUI/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 SwUI/SwUIApp.swift create mode 100644 SwUITests/SwUITests.swift create mode 100644 SwUIUITests/SwUIUITests.swift create mode 100644 SwUIUITests/SwUIUITestsLaunchTests.swift diff --git a/SwUI.xcodeproj/project.pbxproj b/SwUI.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3dcd50b --- /dev/null +++ b/SwUI.xcodeproj/project.pbxproj @@ -0,0 +1,587 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + CE9164EF2B99C2130058EE5F /* SwUIApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE9164EE2B99C2130058EE5F /* SwUIApp.swift */; }; + CE9164F12B99C2130058EE5F /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE9164F02B99C2130058EE5F /* ContentView.swift */; }; + CE9164F32B99C21A0058EE5F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CE9164F22B99C21A0058EE5F /* Assets.xcassets */; }; + CE9164F62B99C21A0058EE5F /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CE9164F52B99C21A0058EE5F /* Preview Assets.xcassets */; }; + CE9165002B99C21B0058EE5F /* SwUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE9164FF2B99C21B0058EE5F /* SwUITests.swift */; }; + CE91650A2B99C21B0058EE5F /* SwUIUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE9165092B99C21B0058EE5F /* SwUIUITests.swift */; }; + CE91650C2B99C21B0058EE5F /* SwUIUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE91650B2B99C21B0058EE5F /* SwUIUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + CE9164FC2B99C21B0058EE5F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = CE9164E32B99C2130058EE5F /* Project object */; + proxyType = 1; + remoteGlobalIDString = CE9164EA2B99C2130058EE5F; + remoteInfo = SwUI; + }; + CE9165062B99C21B0058EE5F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = CE9164E32B99C2130058EE5F /* Project object */; + proxyType = 1; + remoteGlobalIDString = CE9164EA2B99C2130058EE5F; + remoteInfo = SwUI; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + CE9164EB2B99C2130058EE5F /* SwUI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwUI.app; sourceTree = BUILT_PRODUCTS_DIR; }; + CE9164EE2B99C2130058EE5F /* SwUIApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwUIApp.swift; sourceTree = ""; }; + CE9164F02B99C2130058EE5F /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + CE9164F22B99C21A0058EE5F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + CE9164F52B99C21A0058EE5F /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + CE9164FB2B99C21B0058EE5F /* SwUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + CE9164FF2B99C21B0058EE5F /* SwUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwUITests.swift; sourceTree = ""; }; + CE9165052B99C21B0058EE5F /* SwUIUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwUIUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + CE9165092B99C21B0058EE5F /* SwUIUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwUIUITests.swift; sourceTree = ""; }; + CE91650B2B99C21B0058EE5F /* SwUIUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwUIUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + CE9164E82B99C2130058EE5F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE9164F82B99C21B0058EE5F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE9165022B99C21B0058EE5F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CE9164E22B99C2130058EE5F = { + isa = PBXGroup; + children = ( + CE9164ED2B99C2130058EE5F /* SwUI */, + CE9164FE2B99C21B0058EE5F /* SwUITests */, + CE9165082B99C21B0058EE5F /* SwUIUITests */, + CE9164EC2B99C2130058EE5F /* Products */, + ); + sourceTree = ""; + }; + CE9164EC2B99C2130058EE5F /* Products */ = { + isa = PBXGroup; + children = ( + CE9164EB2B99C2130058EE5F /* SwUI.app */, + CE9164FB2B99C21B0058EE5F /* SwUITests.xctest */, + CE9165052B99C21B0058EE5F /* SwUIUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + CE9164ED2B99C2130058EE5F /* SwUI */ = { + isa = PBXGroup; + children = ( + CE9164EE2B99C2130058EE5F /* SwUIApp.swift */, + CE9164F02B99C2130058EE5F /* ContentView.swift */, + CE9164F22B99C21A0058EE5F /* Assets.xcassets */, + CE9164F42B99C21A0058EE5F /* Preview Content */, + ); + path = SwUI; + sourceTree = ""; + }; + CE9164F42B99C21A0058EE5F /* Preview Content */ = { + isa = PBXGroup; + children = ( + CE9164F52B99C21A0058EE5F /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + CE9164FE2B99C21B0058EE5F /* SwUITests */ = { + isa = PBXGroup; + children = ( + CE9164FF2B99C21B0058EE5F /* SwUITests.swift */, + ); + path = SwUITests; + sourceTree = ""; + }; + CE9165082B99C21B0058EE5F /* SwUIUITests */ = { + isa = PBXGroup; + children = ( + CE9165092B99C21B0058EE5F /* SwUIUITests.swift */, + CE91650B2B99C21B0058EE5F /* SwUIUITestsLaunchTests.swift */, + ); + path = SwUIUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CE9164EA2B99C2130058EE5F /* SwUI */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE91650F2B99C21B0058EE5F /* Build configuration list for PBXNativeTarget "SwUI" */; + buildPhases = ( + CE9164E72B99C2130058EE5F /* Sources */, + CE9164E82B99C2130058EE5F /* Frameworks */, + CE9164E92B99C2130058EE5F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SwUI; + productName = SwUI; + productReference = CE9164EB2B99C2130058EE5F /* SwUI.app */; + productType = "com.apple.product-type.application"; + }; + CE9164FA2B99C21B0058EE5F /* SwUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE9165122B99C21B0058EE5F /* Build configuration list for PBXNativeTarget "SwUITests" */; + buildPhases = ( + CE9164F72B99C21B0058EE5F /* Sources */, + CE9164F82B99C21B0058EE5F /* Frameworks */, + CE9164F92B99C21B0058EE5F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + CE9164FD2B99C21B0058EE5F /* PBXTargetDependency */, + ); + name = SwUITests; + productName = SwUITests; + productReference = CE9164FB2B99C21B0058EE5F /* SwUITests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + CE9165042B99C21B0058EE5F /* SwUIUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE9165152B99C21B0058EE5F /* Build configuration list for PBXNativeTarget "SwUIUITests" */; + buildPhases = ( + CE9165012B99C21B0058EE5F /* Sources */, + CE9165022B99C21B0058EE5F /* Frameworks */, + CE9165032B99C21B0058EE5F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + CE9165072B99C21B0058EE5F /* PBXTargetDependency */, + ); + name = SwUIUITests; + productName = SwUIUITests; + productReference = CE9165052B99C21B0058EE5F /* SwUIUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CE9164E32B99C2130058EE5F /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1520; + LastUpgradeCheck = 1520; + TargetAttributes = { + CE9164EA2B99C2130058EE5F = { + CreatedOnToolsVersion = 15.2; + }; + CE9164FA2B99C21B0058EE5F = { + CreatedOnToolsVersion = 15.2; + TestTargetID = CE9164EA2B99C2130058EE5F; + }; + CE9165042B99C21B0058EE5F = { + CreatedOnToolsVersion = 15.2; + TestTargetID = CE9164EA2B99C2130058EE5F; + }; + }; + }; + buildConfigurationList = CE9164E62B99C2130058EE5F /* Build configuration list for PBXProject "SwUI" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = CE9164E22B99C2130058EE5F; + productRefGroup = CE9164EC2B99C2130058EE5F /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CE9164EA2B99C2130058EE5F /* SwUI */, + CE9164FA2B99C21B0058EE5F /* SwUITests */, + CE9165042B99C21B0058EE5F /* SwUIUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CE9164E92B99C2130058EE5F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE9164F62B99C21A0058EE5F /* Preview Assets.xcassets in Resources */, + CE9164F32B99C21A0058EE5F /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE9164F92B99C21B0058EE5F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE9165032B99C21B0058EE5F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CE9164E72B99C2130058EE5F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE9164F12B99C2130058EE5F /* ContentView.swift in Sources */, + CE9164EF2B99C2130058EE5F /* SwUIApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE9164F72B99C21B0058EE5F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE9165002B99C21B0058EE5F /* SwUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE9165012B99C21B0058EE5F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE91650C2B99C21B0058EE5F /* SwUIUITestsLaunchTests.swift in Sources */, + CE91650A2B99C21B0058EE5F /* SwUIUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + CE9164FD2B99C21B0058EE5F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = CE9164EA2B99C2130058EE5F /* SwUI */; + targetProxy = CE9164FC2B99C21B0058EE5F /* PBXContainerItemProxy */; + }; + CE9165072B99C21B0058EE5F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = CE9164EA2B99C2130058EE5F /* SwUI */; + targetProxy = CE9165062B99C21B0058EE5F /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + CE91650D2B99C21B0058EE5F /* 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 = 17.2; + 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; + }; + CE91650E2B99C21B0058EE5F /* 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 = 17.2; + 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; + }; + CE9165102B99C21B0058EE5F /* 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 = "\"SwUI/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = homewrk.SwUI; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + CE9165112B99C21B0058EE5F /* 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 = "\"SwUI/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = homewrk.SwUI; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + CE9165132B99C21B0058EE5F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = homewrk.SwUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwUI.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/SwUI"; + }; + name = Debug; + }; + CE9165142B99C21B0058EE5F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = homewrk.SwUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwUI.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/SwUI"; + }; + name = Release; + }; + CE9165162B99C21B0058EE5F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = homewrk.SwUIUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SwUI; + }; + name = Debug; + }; + CE9165172B99C21B0058EE5F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = homewrk.SwUIUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SwUI; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CE9164E62B99C2130058EE5F /* Build configuration list for PBXProject "SwUI" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE91650D2B99C21B0058EE5F /* Debug */, + CE91650E2B99C21B0058EE5F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE91650F2B99C21B0058EE5F /* Build configuration list for PBXNativeTarget "SwUI" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE9165102B99C21B0058EE5F /* Debug */, + CE9165112B99C21B0058EE5F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE9165122B99C21B0058EE5F /* Build configuration list for PBXNativeTarget "SwUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE9165132B99C21B0058EE5F /* Debug */, + CE9165142B99C21B0058EE5F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE9165152B99C21B0058EE5F /* Build configuration list for PBXNativeTarget "SwUIUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE9165162B99C21B0058EE5F /* Debug */, + CE9165172B99C21B0058EE5F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = CE9164E32B99C2130058EE5F /* Project object */; +} diff --git a/SwUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SwUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/SwUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/SwUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SwUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/SwUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/SwUI.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate b/SwUI.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..84d5e7821bc2cbd933b2bae7a33668331e0c4bd1 GIT binary patch literal 20947 zcmeHv2Yi#&yZ<@wNJ|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)`yHo$hfZLqD_R%$D^xojTW6x%f0blXhZeA^P+BeutEPuf=4R@qkD z*4Z}LUbF48ov@v?U9|mT``z}Z9ovKLA@ + + + + SchemeUserState + + SwUI.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/SwUI/Assets.xcassets/AccentColor.colorset/Contents.json b/SwUI/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/SwUI/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SwUI/Assets.xcassets/AppIcon.appiconset/Contents.json b/SwUI/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/SwUI/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/SwUI/Assets.xcassets/Contents.json b/SwUI/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SwUI/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SwUI/ContentView.swift b/SwUI/ContentView.swift new file mode 100644 index 0000000..e3bb160 --- /dev/null +++ b/SwUI/ContentView.swift @@ -0,0 +1,137 @@ +import SwiftUI + +struct ContentView: View { + @State private var login: String = "" + @State private var password: String = "" + @State private var isRegistrationVisible: Bool = false + + var body: some View { + VStack(alignment: .leading, spacing: 10) { + Text("Добро пожаловать!") + .font(.title) + .padding(.top, 20) + .padding(.leading, 10) + + HStack(spacing: -20) { + Button(action: { + // Действие для кнопки "Вход" + isRegistrationVisible = false + }) { + Text("Вход") + .padding() + .frame(minWidth: 0, maxWidth: .infinity) + .background(isRegistrationVisible ? Color.gray.opacity(0.2) : Color.blue) + .foregroundColor(.white) + .cornerRadius(20) + } + + Button(action: { + // Действие для кнопки "Регистрация" + isRegistrationVisible = true + }) { + Text("Регистрация") + .padding() + .frame(minWidth: 0, maxWidth: .infinity) + .background(isRegistrationVisible ? Color.blue : Color.gray.opacity(0.2)) + .foregroundColor(.white) + .cornerRadius(20) + } + } + .padding(.top, 10) + .padding(.horizontal, 10) + + Color.clear + .frame(height: 15) + + if isRegistrationVisible { + RegistrationView() + } else { + TextField("Телефон, почта или ник", text: $login) + .padding() + .background(Color.gray.opacity(0.1)) + .cornerRadius(10) + .padding(.horizontal, 10) + .frame(height: 60) + + TextField("Пароль", text: $password) + .padding() + .background(Color.gray.opacity(0.1)) + .cornerRadius(10) + .padding(.horizontal, 10) + .frame(height: 60) + } + + Button(action: { + // Действие для кнопки "Забыли пароль?" + }) { + Text("Забыли пароль?") + .foregroundColor(.blue) + .padding(.top, 10) + .padding(.horizontal, 10) + } + + Spacer() + + Button(action: { + // Действие для кнопки "Продолжить" + }) { + Text("Продолжить") + .padding() + .frame(minWidth: 0, maxWidth: .infinity) + .background(Color.gray.opacity(0.2)) + .foregroundColor(.black) + .cornerRadius(20) + } + .padding(.bottom, 20) // Добавляем отступ снизу + } + .padding(.horizontal, 10) + .frame(maxWidth: .infinity, maxHeight: .infinity) + .padding(.bottom, 10) // Добавляем отступ снизу для контейнера + } +} + +struct RegistrationView: View { + @State private var name: String = "" + @State private var surname: String = "" + @State private var email: String = "" + @State private var password: String = "" + + var body: some View { + VStack(alignment: .leading, spacing: 10) { + TextField("Имя", text: $name) + .padding() + .background(Color.gray.opacity(0.1)) + .cornerRadius(10) + .padding(.horizontal, 10) + .frame(height: 60) + + TextField("Фамилия", text: $surname) + .padding() + .background(Color.gray.opacity(0.1)) + .cornerRadius(10) + .padding(.horizontal, 10) + .frame(height: 60) + + TextField("Email", text: $email) + .padding() + .background(Color.gray.opacity(0.1)) + .cornerRadius(10) + .padding(.horizontal, 10) + .frame(height: 60) + + TextField("Пароль", text: $password) + .padding() + .background(Color.gray.opacity(0.1)) + .cornerRadius(10) + .padding(.horizontal, 10) + .frame(height: 60) + } + .padding(.horizontal, 10) + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/SwUI/Preview Content/Preview Assets.xcassets/Contents.json b/SwUI/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SwUI/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SwUI/SwUIApp.swift b/SwUI/SwUIApp.swift new file mode 100644 index 0000000..47a61da --- /dev/null +++ b/SwUI/SwUIApp.swift @@ -0,0 +1,17 @@ +// +// SwUIApp.swift +// SwUI +// +// Created by User on 07.03.2024. +// + +import SwiftUI + +@main +struct SwUIApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/SwUITests/SwUITests.swift b/SwUITests/SwUITests.swift new file mode 100644 index 0000000..1bffbe0 --- /dev/null +++ b/SwUITests/SwUITests.swift @@ -0,0 +1,36 @@ +// +// SwUITests.swift +// SwUITests +// +// Created by User on 07.03.2024. +// + +import XCTest +@testable import SwUI + +final class SwUITests: 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/SwUIUITests/SwUIUITests.swift b/SwUIUITests/SwUIUITests.swift new file mode 100644 index 0000000..67d29b1 --- /dev/null +++ b/SwUIUITests/SwUIUITests.swift @@ -0,0 +1,41 @@ +// +// SwUIUITests.swift +// SwUIUITests +// +// Created by User on 07.03.2024. +// + +import XCTest + +final class SwUIUITests: 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/SwUIUITests/SwUIUITestsLaunchTests.swift b/SwUIUITests/SwUIUITestsLaunchTests.swift new file mode 100644 index 0000000..8dc0a0a --- /dev/null +++ b/SwUIUITests/SwUIUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// SwUIUITestsLaunchTests.swift +// SwUIUITests +// +// Created by User on 07.03.2024. +// + +import XCTest + +final class SwUIUITestsLaunchTests: 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) + } +}