diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..82b44dd Binary files /dev/null and b/.DS_Store differ diff --git a/FirstApp/.DS_Store b/FirstApp/.DS_Store new file mode 100644 index 0000000..e6f2db8 Binary files /dev/null and b/FirstApp/.DS_Store differ diff --git a/FirstApp/FirstApp.xcodeproj/project.pbxproj b/FirstApp/FirstApp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..154233e --- /dev/null +++ b/FirstApp/FirstApp.xcodeproj/project.pbxproj @@ -0,0 +1,623 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + FAA169752709C95900BBE281 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA169742709C95900BBE281 /* AppDelegate.swift */; }; + FAA169772709C95900BBE281 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA169762709C95900BBE281 /* SceneDelegate.swift */; }; + FAA169792709C95900BBE281 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA169782709C95900BBE281 /* ViewController.swift */; }; + FAA1697C2709C95900BBE281 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FAA1697A2709C95900BBE281 /* Main.storyboard */; }; + FAA1697E2709C95B00BBE281 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FAA1697D2709C95B00BBE281 /* Assets.xcassets */; }; + FAA169812709C95B00BBE281 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FAA1697F2709C95B00BBE281 /* LaunchScreen.storyboard */; }; + FAA1698C2709C95B00BBE281 /* FirstAppTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA1698B2709C95B00BBE281 /* FirstAppTests.swift */; }; + FAA169962709C95C00BBE281 /* FirstAppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA169952709C95C00BBE281 /* FirstAppUITests.swift */; }; + FAA169982709C95C00BBE281 /* FirstAppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA169972709C95C00BBE281 /* FirstAppUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + FAA169882709C95B00BBE281 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FAA169692709C95800BBE281 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FAA169702709C95800BBE281; + remoteInfo = FirstApp; + }; + FAA169922709C95B00BBE281 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FAA169692709C95800BBE281 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FAA169702709C95800BBE281; + remoteInfo = FirstApp; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + FAA169712709C95800BBE281 /* FirstApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FirstApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; + FAA169742709C95900BBE281 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + FAA169762709C95900BBE281 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + FAA169782709C95900BBE281 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + FAA1697B2709C95900BBE281 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + FAA1697D2709C95B00BBE281 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + FAA169802709C95B00BBE281 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + FAA169822709C95B00BBE281 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FAA169872709C95B00BBE281 /* FirstAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FirstAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FAA1698B2709C95B00BBE281 /* FirstAppTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirstAppTests.swift; sourceTree = ""; }; + FAA169912709C95B00BBE281 /* FirstAppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FirstAppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FAA169952709C95C00BBE281 /* FirstAppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirstAppUITests.swift; sourceTree = ""; }; + FAA169972709C95C00BBE281 /* FirstAppUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirstAppUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + FAA1696E2709C95800BBE281 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA169842709C95B00BBE281 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA1698E2709C95B00BBE281 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + FAA169682709C95800BBE281 = { + isa = PBXGroup; + children = ( + FAA169732709C95800BBE281 /* FirstApp */, + FAA1698A2709C95B00BBE281 /* FirstAppTests */, + FAA169942709C95C00BBE281 /* FirstAppUITests */, + FAA169722709C95800BBE281 /* Products */, + ); + sourceTree = ""; + }; + FAA169722709C95800BBE281 /* Products */ = { + isa = PBXGroup; + children = ( + FAA169712709C95800BBE281 /* FirstApp.app */, + FAA169872709C95B00BBE281 /* FirstAppTests.xctest */, + FAA169912709C95B00BBE281 /* FirstAppUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + FAA169732709C95800BBE281 /* FirstApp */ = { + isa = PBXGroup; + children = ( + FAA169742709C95900BBE281 /* AppDelegate.swift */, + FAA169762709C95900BBE281 /* SceneDelegate.swift */, + FAA169782709C95900BBE281 /* ViewController.swift */, + FAA1697A2709C95900BBE281 /* Main.storyboard */, + FAA1697D2709C95B00BBE281 /* Assets.xcassets */, + FAA1697F2709C95B00BBE281 /* LaunchScreen.storyboard */, + FAA169822709C95B00BBE281 /* Info.plist */, + ); + path = FirstApp; + sourceTree = ""; + }; + FAA1698A2709C95B00BBE281 /* FirstAppTests */ = { + isa = PBXGroup; + children = ( + FAA1698B2709C95B00BBE281 /* FirstAppTests.swift */, + ); + path = FirstAppTests; + sourceTree = ""; + }; + FAA169942709C95C00BBE281 /* FirstAppUITests */ = { + isa = PBXGroup; + children = ( + FAA169952709C95C00BBE281 /* FirstAppUITests.swift */, + FAA169972709C95C00BBE281 /* FirstAppUITestsLaunchTests.swift */, + ); + path = FirstAppUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + FAA169702709C95800BBE281 /* FirstApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = FAA1699B2709C95C00BBE281 /* Build configuration list for PBXNativeTarget "FirstApp" */; + buildPhases = ( + FAA1696D2709C95800BBE281 /* Sources */, + FAA1696E2709C95800BBE281 /* Frameworks */, + FAA1696F2709C95800BBE281 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FirstApp; + productName = FirstApp; + productReference = FAA169712709C95800BBE281 /* FirstApp.app */; + productType = "com.apple.product-type.application"; + }; + FAA169862709C95B00BBE281 /* FirstAppTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FAA1699E2709C95C00BBE281 /* Build configuration list for PBXNativeTarget "FirstAppTests" */; + buildPhases = ( + FAA169832709C95B00BBE281 /* Sources */, + FAA169842709C95B00BBE281 /* Frameworks */, + FAA169852709C95B00BBE281 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + FAA169892709C95B00BBE281 /* PBXTargetDependency */, + ); + name = FirstAppTests; + productName = FirstAppTests; + productReference = FAA169872709C95B00BBE281 /* FirstAppTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + FAA169902709C95B00BBE281 /* FirstAppUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FAA169A12709C95C00BBE281 /* Build configuration list for PBXNativeTarget "FirstAppUITests" */; + buildPhases = ( + FAA1698D2709C95B00BBE281 /* Sources */, + FAA1698E2709C95B00BBE281 /* Frameworks */, + FAA1698F2709C95B00BBE281 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + FAA169932709C95B00BBE281 /* PBXTargetDependency */, + ); + name = FirstAppUITests; + productName = FirstAppUITests; + productReference = FAA169912709C95B00BBE281 /* FirstAppUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + FAA169692709C95800BBE281 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1300; + LastUpgradeCheck = 1300; + TargetAttributes = { + FAA169702709C95800BBE281 = { + CreatedOnToolsVersion = 13.0; + }; + FAA169862709C95B00BBE281 = { + CreatedOnToolsVersion = 13.0; + TestTargetID = FAA169702709C95800BBE281; + }; + FAA169902709C95B00BBE281 = { + CreatedOnToolsVersion = 13.0; + TestTargetID = FAA169702709C95800BBE281; + }; + }; + }; + buildConfigurationList = FAA1696C2709C95800BBE281 /* Build configuration list for PBXProject "FirstApp" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = FAA169682709C95800BBE281; + productRefGroup = FAA169722709C95800BBE281 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + FAA169702709C95800BBE281 /* FirstApp */, + FAA169862709C95B00BBE281 /* FirstAppTests */, + FAA169902709C95B00BBE281 /* FirstAppUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + FAA1696F2709C95800BBE281 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FAA169812709C95B00BBE281 /* LaunchScreen.storyboard in Resources */, + FAA1697E2709C95B00BBE281 /* Assets.xcassets in Resources */, + FAA1697C2709C95900BBE281 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA169852709C95B00BBE281 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA1698F2709C95B00BBE281 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + FAA1696D2709C95800BBE281 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FAA169792709C95900BBE281 /* ViewController.swift in Sources */, + FAA169752709C95900BBE281 /* AppDelegate.swift in Sources */, + FAA169772709C95900BBE281 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA169832709C95B00BBE281 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FAA1698C2709C95B00BBE281 /* FirstAppTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA1698D2709C95B00BBE281 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FAA169982709C95C00BBE281 /* FirstAppUITestsLaunchTests.swift in Sources */, + FAA169962709C95C00BBE281 /* FirstAppUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + FAA169892709C95B00BBE281 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FAA169702709C95800BBE281 /* FirstApp */; + targetProxy = FAA169882709C95B00BBE281 /* PBXContainerItemProxy */; + }; + FAA169932709C95B00BBE281 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FAA169702709C95800BBE281 /* FirstApp */; + targetProxy = FAA169922709C95B00BBE281 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + FAA1697A2709C95900BBE281 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + FAA1697B2709C95900BBE281 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + FAA1697F2709C95B00BBE281 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + FAA169802709C95B00BBE281 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + FAA169992709C95C00BBE281 /* 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++17"; + 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 = 15.0; + 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; + }; + FAA1699A2709C95C00BBE281 /* 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++17"; + 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 = 15.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + FAA1699C2709C95C00BBE281 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = FirstApp/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + 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 = l.FirstApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + FAA1699D2709C95C00BBE281 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = FirstApp/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + 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 = l.FirstApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + FAA1699F2709C95C00BBE281 /* 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 = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = l.FirstAppTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FirstApp.app/FirstApp"; + }; + name = Debug; + }; + FAA169A02709C95C00BBE281 /* 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 = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = l.FirstAppTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FirstApp.app/FirstApp"; + }; + name = Release; + }; + FAA169A22709C95C00BBE281 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = l.FirstAppUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = FirstApp; + }; + name = Debug; + }; + FAA169A32709C95C00BBE281 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = l.FirstAppUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = FirstApp; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + FAA1696C2709C95800BBE281 /* Build configuration list for PBXProject "FirstApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FAA169992709C95C00BBE281 /* Debug */, + FAA1699A2709C95C00BBE281 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FAA1699B2709C95C00BBE281 /* Build configuration list for PBXNativeTarget "FirstApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FAA1699C2709C95C00BBE281 /* Debug */, + FAA1699D2709C95C00BBE281 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FAA1699E2709C95C00BBE281 /* Build configuration list for PBXNativeTarget "FirstAppTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FAA1699F2709C95C00BBE281 /* Debug */, + FAA169A02709C95C00BBE281 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FAA169A12709C95C00BBE281 /* Build configuration list for PBXNativeTarget "FirstAppUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FAA169A22709C95C00BBE281 /* Debug */, + FAA169A32709C95C00BBE281 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = FAA169692709C95800BBE281 /* Project object */; +} diff --git a/FirstApp/FirstApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/FirstApp/FirstApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/FirstApp/FirstApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/FirstApp/FirstApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/FirstApp/FirstApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/FirstApp/FirstApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/FirstApp/FirstApp.xcodeproj/project.xcworkspace/xcuserdata/macbook.xcuserdatad/UserInterfaceState.xcuserstate b/FirstApp/FirstApp.xcodeproj/project.xcworkspace/xcuserdata/macbook.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..4d3f30e Binary files /dev/null and b/FirstApp/FirstApp.xcodeproj/project.xcworkspace/xcuserdata/macbook.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/FirstApp/FirstApp.xcodeproj/xcshareddata/xcschemes/FirstApp.xcscheme b/FirstApp/FirstApp.xcodeproj/xcshareddata/xcschemes/FirstApp.xcscheme new file mode 100644 index 0000000..c0ae732 --- /dev/null +++ b/FirstApp/FirstApp.xcodeproj/xcshareddata/xcschemes/FirstApp.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FirstApp/FirstApp.xcodeproj/xcuserdata/macbook.xcuserdatad/xcschemes/xcschememanagement.plist b/FirstApp/FirstApp.xcodeproj/xcuserdata/macbook.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..310009e --- /dev/null +++ b/FirstApp/FirstApp.xcodeproj/xcuserdata/macbook.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + FirstApp.xcscheme_^#shared#^_ + + orderHint + 0 + + + SuppressBuildableAutocreation + + FAA169702709C95800BBE281 + + primary + + + FAA169862709C95B00BBE281 + + primary + + + FAA169902709C95B00BBE281 + + primary + + + + + diff --git a/FirstApp/FirstApp/AppDelegate.swift b/FirstApp/FirstApp/AppDelegate.swift new file mode 100644 index 0000000..d407c4d --- /dev/null +++ b/FirstApp/FirstApp/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// FirstApp +// +// Created by MacBook on 26/02/1443 AH. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + // MARK: UISceneSession Lifecycle + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + + func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + } + + +} + diff --git a/FirstApp/FirstApp/Assets.xcassets/AccentColor.colorset/Contents.json b/FirstApp/FirstApp/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/FirstApp/FirstApp/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/FirstApp/FirstApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/FirstApp/FirstApp/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/FirstApp/FirstApp/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/FirstApp/FirstApp/Assets.xcassets/Contents.json b/FirstApp/FirstApp/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/FirstApp/FirstApp/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/FirstApp/FirstApp/Assets.xcassets/Image-1.imageset/Contents.json b/FirstApp/FirstApp/Assets.xcassets/Image-1.imageset/Contents.json new file mode 100644 index 0000000..6c47d49 --- /dev/null +++ b/FirstApp/FirstApp/Assets.xcassets/Image-1.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "cci 12.27.18 PM.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/FirstApp/FirstApp/Assets.xcassets/Image-1.imageset/cci 12.27.18 PM.png b/FirstApp/FirstApp/Assets.xcassets/Image-1.imageset/cci 12.27.18 PM.png new file mode 100644 index 0000000..eb8c499 Binary files /dev/null and b/FirstApp/FirstApp/Assets.xcassets/Image-1.imageset/cci 12.27.18 PM.png differ diff --git a/FirstApp/FirstApp/Assets.xcassets/Image-2.imageset/Contents.json b/FirstApp/FirstApp/Assets.xcassets/Image-2.imageset/Contents.json new file mode 100644 index 0000000..d818012 --- /dev/null +++ b/FirstApp/FirstApp/Assets.xcassets/Image-2.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "circle.fill@2x.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/FirstApp/FirstApp/Assets.xcassets/Image-2.imageset/circle.fill@2x.png b/FirstApp/FirstApp/Assets.xcassets/Image-2.imageset/circle.fill@2x.png new file mode 100644 index 0000000..1318061 Binary files /dev/null and b/FirstApp/FirstApp/Assets.xcassets/Image-2.imageset/circle.fill@2x.png differ diff --git a/FirstApp/FirstApp/Assets.xcassets/Image-3.imageset/Contents.json b/FirstApp/FirstApp/Assets.xcassets/Image-3.imageset/Contents.json new file mode 100644 index 0000000..33486bf --- /dev/null +++ b/FirstApp/FirstApp/Assets.xcassets/Image-3.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "cirimage.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/FirstApp/FirstApp/Assets.xcassets/Image-3.imageset/cirimage.png b/FirstApp/FirstApp/Assets.xcassets/Image-3.imageset/cirimage.png new file mode 100644 index 0000000..1b61a19 Binary files /dev/null and b/FirstApp/FirstApp/Assets.xcassets/Image-3.imageset/cirimage.png differ diff --git a/FirstApp/FirstApp/Assets.xcassets/Image.imageset/Contents.json b/FirstApp/FirstApp/Assets.xcassets/Image.imageset/Contents.json new file mode 100644 index 0000000..628b8d1 --- /dev/null +++ b/FirstApp/FirstApp/Assets.xcassets/Image.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "imgur_com.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/FirstApp/FirstApp/Assets.xcassets/Image.imageset/imgur_com.jpg b/FirstApp/FirstApp/Assets.xcassets/Image.imageset/imgur_com.jpg new file mode 100644 index 0000000..bc16eb1 Binary files /dev/null and b/FirstApp/FirstApp/Assets.xcassets/Image.imageset/imgur_com.jpg differ diff --git a/FirstApp/FirstApp/Base.lproj/LaunchScreen.storyboard b/FirstApp/FirstApp/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/FirstApp/FirstApp/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FirstApp/FirstApp/Base.lproj/Main.storyboard b/FirstApp/FirstApp/Base.lproj/Main.storyboard new file mode 100644 index 0000000..884dd15 --- /dev/null +++ b/FirstApp/FirstApp/Base.lproj/Main.storyboard @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FirstApp/FirstApp/Info.plist b/FirstApp/FirstApp/Info.plist new file mode 100644 index 0000000..dd3c9af --- /dev/null +++ b/FirstApp/FirstApp/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/FirstApp/FirstApp/SceneDelegate.swift b/FirstApp/FirstApp/SceneDelegate.swift new file mode 100644 index 0000000..f925819 --- /dev/null +++ b/FirstApp/FirstApp/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// FirstApp +// +// Created by MacBook on 26/02/1443 AH. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/FirstApp/FirstApp/ViewController.swift b/FirstApp/FirstApp/ViewController.swift new file mode 100644 index 0000000..095500f --- /dev/null +++ b/FirstApp/FirstApp/ViewController.swift @@ -0,0 +1,38 @@ +// +// ViewController.swift +// FirstApp +// +// Created by MacBook on 26/02/1443 AH. +// + +import UIKit + +class ViewController: UIViewController { + + @IBOutlet weak var Labell: UILabel! + + var currentcount = 0 + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + func reset(){ + currentcount = 0 + } + + @IBAction func ButtonReset(_ sender: Any) { + reset() + Labell.text = "0" + } + func count(){ + currentcount += 1 + + } + + @IBAction func ButtonCount(_ sender: Any) { + count() + Labell.text = "\(currentcount)" + } + +} + diff --git a/FirstApp/FirstApp/en.lproj/Main.strings b/FirstApp/FirstApp/en.lproj/Main.strings new file mode 100644 index 0000000..55e0781 --- /dev/null +++ b/FirstApp/FirstApp/en.lproj/Main.strings @@ -0,0 +1,27 @@ + +/* Class = "UIButton"; configuration.title = "عد"; ObjectID = "0fx-Cs-L39"; */ +"0fx-Cs-L39.configuration.title" = "عد"; + +/* Class = "UIButton"; normalTitle = "Button"; ObjectID = "0fx-Cs-L39"; */ +"0fx-Cs-L39.normalTitle" = "Button"; + +/* Class = "UILabel"; text = "0"; ObjectID = "2FT-Rl-PoR"; */ +"2FT-Rl-PoR.text" = "0"; + +/* Class = "UILabel"; text = "Label"; ObjectID = "2gT-ox-NbC"; */ +"2gT-ox-NbC.text" = "Label"; + +/* Class = "UILabel"; text = "﴿ وَسَبِّحْ بِحَمْدِ رَبِّكَ ﴾"; ObjectID = "3rQ-ak-eNW"; */ +"3rQ-ak-eNW.text" = "﴿ وَسَبِّحْ بِحَمْدِ رَبِّكَ ﴾"; + +/* Class = "UILabel"; text = "مره"; ObjectID = "cUW-Yg-Ago"; */ +"cUW-Yg-Ago.text" = "مره"; + +/* Class = "UILabel"; text = "استغفرت"; ObjectID = "l3s-Ol-wgz"; */ +"l3s-Ol-wgz.text" = "استغفرت"; + +/* Class = "UIButton"; configuration.title = "مسح"; ObjectID = "mhL-Hh-XJR"; */ +"mhL-Hh-XJR.configuration.title" = "مسح"; + +/* Class = "UIButton"; normalTitle = "Button"; ObjectID = "mhL-Hh-XJR"; */ +"mhL-Hh-XJR.normalTitle" = "Button"; diff --git a/FirstApp/FirstAppTests/FirstAppTests.swift b/FirstApp/FirstAppTests/FirstAppTests.swift new file mode 100644 index 0000000..0b488ca --- /dev/null +++ b/FirstApp/FirstAppTests/FirstAppTests.swift @@ -0,0 +1,33 @@ +// +// FirstAppTests.swift +// FirstAppTests +// +// Created by MacBook on 26/02/1443 AH. +// + +import XCTest +@testable import FirstApp + +class FirstAppTests: 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/FirstApp/FirstAppUITests/FirstAppUITests.swift b/FirstApp/FirstAppUITests/FirstAppUITests.swift new file mode 100644 index 0000000..5bd9fa7 --- /dev/null +++ b/FirstApp/FirstAppUITests/FirstAppUITests.swift @@ -0,0 +1,42 @@ +// +// FirstAppUITests.swift +// FirstAppUITests +// +// Created by MacBook on 26/02/1443 AH. +// + +import XCTest + +class FirstAppUITests: 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, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/FirstApp/FirstAppUITests/FirstAppUITestsLaunchTests.swift b/FirstApp/FirstAppUITests/FirstAppUITestsLaunchTests.swift new file mode 100644 index 0000000..191daa2 --- /dev/null +++ b/FirstApp/FirstAppUITests/FirstAppUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// FirstAppUITestsLaunchTests.swift +// FirstAppUITests +// +// Created by MacBook on 26/02/1443 AH. +// + +import XCTest + +class FirstAppUITestsLaunchTests: 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) + } +}