From c51a16c093b269cae05ea13d8d17bd916d661975 Mon Sep 17 00:00:00 2001 From: AntonAsmirko Date: Thu, 4 Mar 2021 00:50:05 +0300 Subject: [PATCH] Initial Commit --- HelloWorld.xcodeproj/project.pbxproj | 579 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 98 +++ HelloWorld/Assets.xcassets/Contents.json | 6 + HelloWorld/ContentView.swift | 21 + HelloWorld/HelloWorldApp.swift | 17 + HelloWorld/Info.plist | 50 ++ .../Preview Assets.xcassets/Contents.json | 6 + HelloWorldTests/HelloWorldTests.swift | 33 + HelloWorldTests/Info.plist | 22 + HelloWorldUITests/HelloWorldUITests.swift | 42 ++ HelloWorldUITests/Info.plist | 22 + 15 files changed, 936 insertions(+) create mode 100644 HelloWorld.xcodeproj/project.pbxproj create mode 100644 HelloWorld.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 HelloWorld.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 HelloWorld.xcodeproj/xcuserdata/antonasmirko.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 HelloWorld/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 HelloWorld/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 HelloWorld/Assets.xcassets/Contents.json create mode 100644 HelloWorld/ContentView.swift create mode 100644 HelloWorld/HelloWorldApp.swift create mode 100644 HelloWorld/Info.plist create mode 100644 HelloWorld/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 HelloWorldTests/HelloWorldTests.swift create mode 100644 HelloWorldTests/Info.plist create mode 100644 HelloWorldUITests/HelloWorldUITests.swift create mode 100644 HelloWorldUITests/Info.plist diff --git a/HelloWorld.xcodeproj/project.pbxproj b/HelloWorld.xcodeproj/project.pbxproj new file mode 100644 index 0000000..535dfa5 --- /dev/null +++ b/HelloWorld.xcodeproj/project.pbxproj @@ -0,0 +1,579 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + DB36C1D725F03C0800D550F4 /* HelloWorldApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = DB36C1D625F03C0800D550F4 /* HelloWorldApp.swift */; }; + DB36C1D925F03C0800D550F4 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DB36C1D825F03C0800D550F4 /* ContentView.swift */; }; + DB36C1DB25F03C0900D550F4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DB36C1DA25F03C0900D550F4 /* Assets.xcassets */; }; + DB36C1DE25F03C0900D550F4 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DB36C1DD25F03C0900D550F4 /* Preview Assets.xcassets */; }; + DB36C1E925F03C0900D550F4 /* HelloWorldTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DB36C1E825F03C0900D550F4 /* HelloWorldTests.swift */; }; + DB36C1F425F03C0900D550F4 /* HelloWorldUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DB36C1F325F03C0900D550F4 /* HelloWorldUITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + DB36C1E525F03C0900D550F4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DB36C1CB25F03C0800D550F4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DB36C1D225F03C0800D550F4; + remoteInfo = HelloWorld; + }; + DB36C1F025F03C0900D550F4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DB36C1CB25F03C0800D550F4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DB36C1D225F03C0800D550F4; + remoteInfo = HelloWorld; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DB36C1D325F03C0800D550F4 /* HelloWorld.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloWorld.app; sourceTree = BUILT_PRODUCTS_DIR; }; + DB36C1D625F03C0800D550F4 /* HelloWorldApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelloWorldApp.swift; sourceTree = ""; }; + DB36C1D825F03C0800D550F4 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + DB36C1DA25F03C0900D550F4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + DB36C1DD25F03C0900D550F4 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + DB36C1DF25F03C0900D550F4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DB36C1E425F03C0900D550F4 /* HelloWorldTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HelloWorldTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + DB36C1E825F03C0900D550F4 /* HelloWorldTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelloWorldTests.swift; sourceTree = ""; }; + DB36C1EA25F03C0900D550F4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DB36C1EF25F03C0900D550F4 /* HelloWorldUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HelloWorldUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + DB36C1F325F03C0900D550F4 /* HelloWorldUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelloWorldUITests.swift; sourceTree = ""; }; + DB36C1F525F03C0900D550F4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DB36C1D025F03C0800D550F4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB36C1E125F03C0900D550F4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB36C1EC25F03C0900D550F4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + DB36C1CA25F03C0800D550F4 = { + isa = PBXGroup; + children = ( + DB36C1D525F03C0800D550F4 /* HelloWorld */, + DB36C1E725F03C0900D550F4 /* HelloWorldTests */, + DB36C1F225F03C0900D550F4 /* HelloWorldUITests */, + DB36C1D425F03C0800D550F4 /* Products */, + ); + sourceTree = ""; + }; + DB36C1D425F03C0800D550F4 /* Products */ = { + isa = PBXGroup; + children = ( + DB36C1D325F03C0800D550F4 /* HelloWorld.app */, + DB36C1E425F03C0900D550F4 /* HelloWorldTests.xctest */, + DB36C1EF25F03C0900D550F4 /* HelloWorldUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + DB36C1D525F03C0800D550F4 /* HelloWorld */ = { + isa = PBXGroup; + children = ( + DB36C1D625F03C0800D550F4 /* HelloWorldApp.swift */, + DB36C1D825F03C0800D550F4 /* ContentView.swift */, + DB36C1DA25F03C0900D550F4 /* Assets.xcassets */, + DB36C1DF25F03C0900D550F4 /* Info.plist */, + DB36C1DC25F03C0900D550F4 /* Preview Content */, + ); + path = HelloWorld; + sourceTree = ""; + }; + DB36C1DC25F03C0900D550F4 /* Preview Content */ = { + isa = PBXGroup; + children = ( + DB36C1DD25F03C0900D550F4 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + DB36C1E725F03C0900D550F4 /* HelloWorldTests */ = { + isa = PBXGroup; + children = ( + DB36C1E825F03C0900D550F4 /* HelloWorldTests.swift */, + DB36C1EA25F03C0900D550F4 /* Info.plist */, + ); + path = HelloWorldTests; + sourceTree = ""; + }; + DB36C1F225F03C0900D550F4 /* HelloWorldUITests */ = { + isa = PBXGroup; + children = ( + DB36C1F325F03C0900D550F4 /* HelloWorldUITests.swift */, + DB36C1F525F03C0900D550F4 /* Info.plist */, + ); + path = HelloWorldUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DB36C1D225F03C0800D550F4 /* HelloWorld */ = { + isa = PBXNativeTarget; + buildConfigurationList = DB36C1F825F03C0900D550F4 /* Build configuration list for PBXNativeTarget "HelloWorld" */; + buildPhases = ( + DB36C1CF25F03C0800D550F4 /* Sources */, + DB36C1D025F03C0800D550F4 /* Frameworks */, + DB36C1D125F03C0800D550F4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = HelloWorld; + productName = HelloWorld; + productReference = DB36C1D325F03C0800D550F4 /* HelloWorld.app */; + productType = "com.apple.product-type.application"; + }; + DB36C1E325F03C0900D550F4 /* HelloWorldTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DB36C1FB25F03C0900D550F4 /* Build configuration list for PBXNativeTarget "HelloWorldTests" */; + buildPhases = ( + DB36C1E025F03C0900D550F4 /* Sources */, + DB36C1E125F03C0900D550F4 /* Frameworks */, + DB36C1E225F03C0900D550F4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DB36C1E625F03C0900D550F4 /* PBXTargetDependency */, + ); + name = HelloWorldTests; + productName = HelloWorldTests; + productReference = DB36C1E425F03C0900D550F4 /* HelloWorldTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + DB36C1EE25F03C0900D550F4 /* HelloWorldUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DB36C1FE25F03C0900D550F4 /* Build configuration list for PBXNativeTarget "HelloWorldUITests" */; + buildPhases = ( + DB36C1EB25F03C0900D550F4 /* Sources */, + DB36C1EC25F03C0900D550F4 /* Frameworks */, + DB36C1ED25F03C0900D550F4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DB36C1F125F03C0900D550F4 /* PBXTargetDependency */, + ); + name = HelloWorldUITests; + productName = HelloWorldUITests; + productReference = DB36C1EF25F03C0900D550F4 /* HelloWorldUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DB36C1CB25F03C0800D550F4 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1240; + LastUpgradeCheck = 1240; + TargetAttributes = { + DB36C1D225F03C0800D550F4 = { + CreatedOnToolsVersion = 12.4; + }; + DB36C1E325F03C0900D550F4 = { + CreatedOnToolsVersion = 12.4; + TestTargetID = DB36C1D225F03C0800D550F4; + }; + DB36C1EE25F03C0900D550F4 = { + CreatedOnToolsVersion = 12.4; + TestTargetID = DB36C1D225F03C0800D550F4; + }; + }; + }; + buildConfigurationList = DB36C1CE25F03C0800D550F4 /* Build configuration list for PBXProject "HelloWorld" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DB36C1CA25F03C0800D550F4; + productRefGroup = DB36C1D425F03C0800D550F4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DB36C1D225F03C0800D550F4 /* HelloWorld */, + DB36C1E325F03C0900D550F4 /* HelloWorldTests */, + DB36C1EE25F03C0900D550F4 /* HelloWorldUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DB36C1D125F03C0800D550F4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DB36C1DE25F03C0900D550F4 /* Preview Assets.xcassets in Resources */, + DB36C1DB25F03C0900D550F4 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB36C1E225F03C0900D550F4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB36C1ED25F03C0900D550F4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DB36C1CF25F03C0800D550F4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DB36C1D925F03C0800D550F4 /* ContentView.swift in Sources */, + DB36C1D725F03C0800D550F4 /* HelloWorldApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB36C1E025F03C0900D550F4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DB36C1E925F03C0900D550F4 /* HelloWorldTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB36C1EB25F03C0900D550F4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DB36C1F425F03C0900D550F4 /* HelloWorldUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + DB36C1E625F03C0900D550F4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DB36C1D225F03C0800D550F4 /* HelloWorld */; + targetProxy = DB36C1E525F03C0900D550F4 /* PBXContainerItemProxy */; + }; + DB36C1F125F03C0900D550F4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DB36C1D225F03C0800D550F4 /* HelloWorld */; + targetProxy = DB36C1F025F03C0900D550F4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DB36C1F625F03C0900D550F4 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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 = 14.4; + 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; + }; + DB36C1F725F03C0900D550F4 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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 = 14.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + DB36C1F925F03C0900D550F4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_ASSET_PATHS = "\"HelloWorld/Preview Content\""; + ENABLE_PREVIEWS = YES; + INFOPLIST_FILE = HelloWorld/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.antonasmirko.HelloWorld; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + DB36C1FA25F03C0900D550F4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_ASSET_PATHS = "\"HelloWorld/Preview Content\""; + ENABLE_PREVIEWS = YES; + INFOPLIST_FILE = HelloWorld/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.antonasmirko.HelloWorld; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + DB36C1FC25F03C0900D550F4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = HelloWorldTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.antonasmirko.HelloWorldTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HelloWorld.app/HelloWorld"; + }; + name = Debug; + }; + DB36C1FD25F03C0900D550F4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = HelloWorldTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.antonasmirko.HelloWorldTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HelloWorld.app/HelloWorld"; + }; + name = Release; + }; + DB36C1FF25F03C0900D550F4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = HelloWorldUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.antonasmirko.HelloWorldUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = HelloWorld; + }; + name = Debug; + }; + DB36C20025F03C0900D550F4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = HelloWorldUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.antonasmirko.HelloWorldUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = HelloWorld; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DB36C1CE25F03C0800D550F4 /* Build configuration list for PBXProject "HelloWorld" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DB36C1F625F03C0900D550F4 /* Debug */, + DB36C1F725F03C0900D550F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DB36C1F825F03C0900D550F4 /* Build configuration list for PBXNativeTarget "HelloWorld" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DB36C1F925F03C0900D550F4 /* Debug */, + DB36C1FA25F03C0900D550F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DB36C1FB25F03C0900D550F4 /* Build configuration list for PBXNativeTarget "HelloWorldTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DB36C1FC25F03C0900D550F4 /* Debug */, + DB36C1FD25F03C0900D550F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DB36C1FE25F03C0900D550F4 /* Build configuration list for PBXNativeTarget "HelloWorldUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DB36C1FF25F03C0900D550F4 /* Debug */, + DB36C20025F03C0900D550F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DB36C1CB25F03C0800D550F4 /* Project object */; +} diff --git a/HelloWorld.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/HelloWorld.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/HelloWorld.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/HelloWorld.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/HelloWorld.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/HelloWorld.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/HelloWorld.xcodeproj/xcuserdata/antonasmirko.xcuserdatad/xcschemes/xcschememanagement.plist b/HelloWorld.xcodeproj/xcuserdata/antonasmirko.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..5089a62 --- /dev/null +++ b/HelloWorld.xcodeproj/xcuserdata/antonasmirko.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + HelloWorld.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/HelloWorld/Assets.xcassets/AccentColor.colorset/Contents.json b/HelloWorld/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/HelloWorld/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/HelloWorld/Assets.xcassets/AppIcon.appiconset/Contents.json b/HelloWorld/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/HelloWorld/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/HelloWorld/Assets.xcassets/Contents.json b/HelloWorld/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/HelloWorld/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/HelloWorld/ContentView.swift b/HelloWorld/ContentView.swift new file mode 100644 index 0000000..2de49ca --- /dev/null +++ b/HelloWorld/ContentView.swift @@ -0,0 +1,21 @@ +// +// ContentView.swift +// HelloWorld +// +// Created by Антон Асмирко on 04.03.2021. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + Text("Hello, world!") + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/HelloWorld/HelloWorldApp.swift b/HelloWorld/HelloWorldApp.swift new file mode 100644 index 0000000..e58c173 --- /dev/null +++ b/HelloWorld/HelloWorldApp.swift @@ -0,0 +1,17 @@ +// +// HelloWorldApp.swift +// HelloWorld +// +// Created by Антон Асмирко on 04.03.2021. +// + +import SwiftUI + +@main +struct HelloWorldApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/HelloWorld/Info.plist b/HelloWorld/Info.plist new file mode 100644 index 0000000..efc211a --- /dev/null +++ b/HelloWorld/Info.plist @@ -0,0 +1,50 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + + UIApplicationSupportsIndirectInputEvents + + UILaunchScreen + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/HelloWorld/Preview Content/Preview Assets.xcassets/Contents.json b/HelloWorld/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/HelloWorld/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/HelloWorldTests/HelloWorldTests.swift b/HelloWorldTests/HelloWorldTests.swift new file mode 100644 index 0000000..f490374 --- /dev/null +++ b/HelloWorldTests/HelloWorldTests.swift @@ -0,0 +1,33 @@ +// +// HelloWorldTests.swift +// HelloWorldTests +// +// Created by Антон Асмирко on 04.03.2021. +// + +import XCTest +@testable import HelloWorld + +class HelloWorldTests: 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. + } + + 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/HelloWorldTests/Info.plist b/HelloWorldTests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/HelloWorldTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/HelloWorldUITests/HelloWorldUITests.swift b/HelloWorldUITests/HelloWorldUITests.swift new file mode 100644 index 0000000..3e31556 --- /dev/null +++ b/HelloWorldUITests/HelloWorldUITests.swift @@ -0,0 +1,42 @@ +// +// HelloWorldUITests.swift +// HelloWorldUITests +// +// Created by Антон Асмирко on 04.03.2021. +// + +import XCTest + +class HelloWorldUITests: 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 recording to get started writing UI tests. + // 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, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/HelloWorldUITests/Info.plist b/HelloWorldUITests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/HelloWorldUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + +