From b41b7ada62e73bbdef36a11669d4b29af213cfac Mon Sep 17 00:00:00 2001 From: Pablo Perez Date: Tue, 3 Aug 2021 16:10:04 -0400 Subject: [PATCH] gregacion de archivos del primer proyecto en Swift --- NuevoProyecto.xcodeproj/project.pbxproj | 596 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NuevoProyecto.xcodeproj/project.xcworkspace/contents.xcworkspacedata | 7 +++++++ NuevoProyecto.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ NuevoProyecto.xcodeproj/project.xcworkspace/xcuserdata/pabloperez.xcuserdatad/UserInterfaceState.xcuserstate | Bin 0 -> 27578 bytes NuevoProyecto.xcodeproj/xcuserdata/pabloperez.xcuserdatad/xcschemes/xcschememanagement.plist | 14 ++++++++++++++ NuevoProyecto/AppDelegate.swift | 36 ++++++++++++++++++++++++++++++++++++ NuevoProyecto/Assets.xcassets/AccentColor.colorset/Contents.json | 11 +++++++++++ NuevoProyecto/Assets.xcassets/AppIcon.appiconset/Contents.json | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NuevoProyecto/Assets.xcassets/Contents.json | 6 ++++++ NuevoProyecto/Base.lproj/LaunchScreen.storyboard | 25 +++++++++++++++++++++++++ NuevoProyecto/Base.lproj/Main.storyboard | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NuevoProyecto/Info.plist | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NuevoProyecto/SceneDelegate.swift | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ NuevoProyecto/ViewController.swift | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NuevoProyecto/ViewController2.swift | 19 +++++++++++++++++++ NuevoProyectoTests/Info.plist | 22 ++++++++++++++++++++++ NuevoProyectoTests/NuevoProyectoTests.swift | 33 +++++++++++++++++++++++++++++++++ NuevoProyectoUITests/Info.plist | 22 ++++++++++++++++++++++ NuevoProyectoUITests/NuevoProyectoUITests.swift | 42 ++++++++++++++++++++++++++++++++++++++++++ 19 files changed, 1245 insertions(+) create mode 100644 NuevoProyecto.xcodeproj/project.pbxproj create mode 100644 NuevoProyecto.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 NuevoProyecto.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 NuevoProyecto.xcodeproj/project.xcworkspace/xcuserdata/pabloperez.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 NuevoProyecto.xcodeproj/xcuserdata/pabloperez.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 NuevoProyecto/AppDelegate.swift create mode 100644 NuevoProyecto/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 NuevoProyecto/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 NuevoProyecto/Assets.xcassets/Contents.json create mode 100644 NuevoProyecto/Base.lproj/LaunchScreen.storyboard create mode 100644 NuevoProyecto/Base.lproj/Main.storyboard create mode 100644 NuevoProyecto/Info.plist create mode 100644 NuevoProyecto/SceneDelegate.swift create mode 100644 NuevoProyecto/ViewController.swift create mode 100644 NuevoProyecto/ViewController2.swift create mode 100644 NuevoProyectoTests/Info.plist create mode 100644 NuevoProyectoTests/NuevoProyectoTests.swift create mode 100644 NuevoProyectoUITests/Info.plist create mode 100644 NuevoProyectoUITests/NuevoProyectoUITests.swift diff --git a/NuevoProyecto.xcodeproj/project.pbxproj b/NuevoProyecto.xcodeproj/project.pbxproj new file mode 100644 index 0000000..25f7b2e --- /dev/null +++ b/NuevoProyecto.xcodeproj/project.pbxproj @@ -0,0 +1,596 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + DEB78AF826B984E200EBF29F /* ViewController2.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB78AF726B984E200EBF29F /* ViewController2.swift */; }; + DEB9B58626B899300037157B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB9B58526B899300037157B /* AppDelegate.swift */; }; + DEB9B58826B899300037157B /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB9B58726B899300037157B /* SceneDelegate.swift */; }; + DEB9B58A26B899300037157B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB9B58926B899300037157B /* ViewController.swift */; }; + DEB9B58D26B899300037157B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DEB9B58B26B899300037157B /* Main.storyboard */; }; + DEB9B58F26B899330037157B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DEB9B58E26B899330037157B /* Assets.xcassets */; }; + DEB9B59226B899330037157B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DEB9B59026B899330037157B /* LaunchScreen.storyboard */; }; + DEB9B59D26B899330037157B /* NuevoProyectoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB9B59C26B899330037157B /* NuevoProyectoTests.swift */; }; + DEB9B5A826B899330037157B /* NuevoProyectoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB9B5A726B899330037157B /* NuevoProyectoUITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + DEB9B59926B899330037157B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DEB9B57A26B899300037157B /* Project object */; + proxyType = 1; + remoteGlobalIDString = DEB9B58126B899300037157B; + remoteInfo = NuevoProyecto; + }; + DEB9B5A426B899330037157B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DEB9B57A26B899300037157B /* Project object */; + proxyType = 1; + remoteGlobalIDString = DEB9B58126B899300037157B; + remoteInfo = NuevoProyecto; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DEB78AF726B984E200EBF29F /* ViewController2.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController2.swift; sourceTree = ""; }; + DEB9B58226B899300037157B /* NuevoProyecto.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NuevoProyecto.app; sourceTree = BUILT_PRODUCTS_DIR; }; + DEB9B58526B899300037157B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + DEB9B58726B899300037157B /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + DEB9B58926B899300037157B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + DEB9B58C26B899300037157B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + DEB9B58E26B899330037157B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + DEB9B59126B899330037157B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + DEB9B59326B899330037157B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DEB9B59826B899330037157B /* NuevoProyectoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NuevoProyectoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + DEB9B59C26B899330037157B /* NuevoProyectoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NuevoProyectoTests.swift; sourceTree = ""; }; + DEB9B59E26B899330037157B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DEB9B5A326B899330037157B /* NuevoProyectoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NuevoProyectoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + DEB9B5A726B899330037157B /* NuevoProyectoUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NuevoProyectoUITests.swift; sourceTree = ""; }; + DEB9B5A926B899330037157B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DEB9B57F26B899300037157B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DEB9B59526B899330037157B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DEB9B5A026B899330037157B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + DEB9B57926B899300037157B = { + isa = PBXGroup; + children = ( + DEB9B58426B899300037157B /* NuevoProyecto */, + DEB9B59B26B899330037157B /* NuevoProyectoTests */, + DEB9B5A626B899330037157B /* NuevoProyectoUITests */, + DEB9B58326B899300037157B /* Products */, + ); + sourceTree = ""; + }; + DEB9B58326B899300037157B /* Products */ = { + isa = PBXGroup; + children = ( + DEB9B58226B899300037157B /* NuevoProyecto.app */, + DEB9B59826B899330037157B /* NuevoProyectoTests.xctest */, + DEB9B5A326B899330037157B /* NuevoProyectoUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + DEB9B58426B899300037157B /* NuevoProyecto */ = { + isa = PBXGroup; + children = ( + DEB9B58526B899300037157B /* AppDelegate.swift */, + DEB9B58726B899300037157B /* SceneDelegate.swift */, + DEB9B58926B899300037157B /* ViewController.swift */, + DEB9B58B26B899300037157B /* Main.storyboard */, + DEB9B58E26B899330037157B /* Assets.xcassets */, + DEB9B59026B899330037157B /* LaunchScreen.storyboard */, + DEB9B59326B899330037157B /* Info.plist */, + DEB78AF726B984E200EBF29F /* ViewController2.swift */, + ); + path = NuevoProyecto; + sourceTree = ""; + }; + DEB9B59B26B899330037157B /* NuevoProyectoTests */ = { + isa = PBXGroup; + children = ( + DEB9B59C26B899330037157B /* NuevoProyectoTests.swift */, + DEB9B59E26B899330037157B /* Info.plist */, + ); + path = NuevoProyectoTests; + sourceTree = ""; + }; + DEB9B5A626B899330037157B /* NuevoProyectoUITests */ = { + isa = PBXGroup; + children = ( + DEB9B5A726B899330037157B /* NuevoProyectoUITests.swift */, + DEB9B5A926B899330037157B /* Info.plist */, + ); + path = NuevoProyectoUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DEB9B58126B899300037157B /* NuevoProyecto */ = { + isa = PBXNativeTarget; + buildConfigurationList = DEB9B5AC26B899330037157B /* Build configuration list for PBXNativeTarget "NuevoProyecto" */; + buildPhases = ( + DEB9B57E26B899300037157B /* Sources */, + DEB9B57F26B899300037157B /* Frameworks */, + DEB9B58026B899300037157B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = NuevoProyecto; + productName = NuevoProyecto; + productReference = DEB9B58226B899300037157B /* NuevoProyecto.app */; + productType = "com.apple.product-type.application"; + }; + DEB9B59726B899330037157B /* NuevoProyectoTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DEB9B5AF26B899330037157B /* Build configuration list for PBXNativeTarget "NuevoProyectoTests" */; + buildPhases = ( + DEB9B59426B899330037157B /* Sources */, + DEB9B59526B899330037157B /* Frameworks */, + DEB9B59626B899330037157B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DEB9B59A26B899330037157B /* PBXTargetDependency */, + ); + name = NuevoProyectoTests; + productName = NuevoProyectoTests; + productReference = DEB9B59826B899330037157B /* NuevoProyectoTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + DEB9B5A226B899330037157B /* NuevoProyectoUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DEB9B5B226B899330037157B /* Build configuration list for PBXNativeTarget "NuevoProyectoUITests" */; + buildPhases = ( + DEB9B59F26B899330037157B /* Sources */, + DEB9B5A026B899330037157B /* Frameworks */, + DEB9B5A126B899330037157B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DEB9B5A526B899330037157B /* PBXTargetDependency */, + ); + name = NuevoProyectoUITests; + productName = NuevoProyectoUITests; + productReference = DEB9B5A326B899330037157B /* NuevoProyectoUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DEB9B57A26B899300037157B /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1250; + LastUpgradeCheck = 1250; + TargetAttributes = { + DEB9B58126B899300037157B = { + CreatedOnToolsVersion = 12.5; + }; + DEB9B59726B899330037157B = { + CreatedOnToolsVersion = 12.5; + TestTargetID = DEB9B58126B899300037157B; + }; + DEB9B5A226B899330037157B = { + CreatedOnToolsVersion = 12.5; + TestTargetID = DEB9B58126B899300037157B; + }; + }; + }; + buildConfigurationList = DEB9B57D26B899300037157B /* Build configuration list for PBXProject "NuevoProyecto" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DEB9B57926B899300037157B; + productRefGroup = DEB9B58326B899300037157B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DEB9B58126B899300037157B /* NuevoProyecto */, + DEB9B59726B899330037157B /* NuevoProyectoTests */, + DEB9B5A226B899330037157B /* NuevoProyectoUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DEB9B58026B899300037157B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DEB9B59226B899330037157B /* LaunchScreen.storyboard in Resources */, + DEB9B58F26B899330037157B /* Assets.xcassets in Resources */, + DEB9B58D26B899300037157B /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DEB9B59626B899330037157B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DEB9B5A126B899330037157B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DEB9B57E26B899300037157B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DEB9B58A26B899300037157B /* ViewController.swift in Sources */, + DEB78AF826B984E200EBF29F /* ViewController2.swift in Sources */, + DEB9B58626B899300037157B /* AppDelegate.swift in Sources */, + DEB9B58826B899300037157B /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DEB9B59426B899330037157B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DEB9B59D26B899330037157B /* NuevoProyectoTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DEB9B59F26B899330037157B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DEB9B5A826B899330037157B /* NuevoProyectoUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + DEB9B59A26B899330037157B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DEB9B58126B899300037157B /* NuevoProyecto */; + targetProxy = DEB9B59926B899330037157B /* PBXContainerItemProxy */; + }; + DEB9B5A526B899330037157B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DEB9B58126B899300037157B /* NuevoProyecto */; + targetProxy = DEB9B5A426B899330037157B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + DEB9B58B26B899300037157B /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + DEB9B58C26B899300037157B /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + DEB9B59026B899330037157B /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + DEB9B59126B899330037157B /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + DEB9B5AA26B899330037157B /* 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.5; + 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; + }; + DEB9B5AB26B899330037157B /* 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.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + DEB9B5AD26B899330037157B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = NuevoProyecto/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = plperez.NuevoProyecto; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + DEB9B5AE26B899330037157B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = NuevoProyecto/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = plperez.NuevoProyecto; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + DEB9B5B026B899330037157B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = NuevoProyectoTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = plperez.NuevoProyectoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NuevoProyecto.app/NuevoProyecto"; + }; + name = Debug; + }; + DEB9B5B126B899330037157B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = NuevoProyectoTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = plperez.NuevoProyectoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NuevoProyecto.app/NuevoProyecto"; + }; + name = Release; + }; + DEB9B5B326B899330037157B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = NuevoProyectoUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = plperez.NuevoProyectoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = NuevoProyecto; + }; + name = Debug; + }; + DEB9B5B426B899330037157B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = NuevoProyectoUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = plperez.NuevoProyectoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = NuevoProyecto; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DEB9B57D26B899300037157B /* Build configuration list for PBXProject "NuevoProyecto" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DEB9B5AA26B899330037157B /* Debug */, + DEB9B5AB26B899330037157B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DEB9B5AC26B899330037157B /* Build configuration list for PBXNativeTarget "NuevoProyecto" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DEB9B5AD26B899330037157B /* Debug */, + DEB9B5AE26B899330037157B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DEB9B5AF26B899330037157B /* Build configuration list for PBXNativeTarget "NuevoProyectoTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DEB9B5B026B899330037157B /* Debug */, + DEB9B5B126B899330037157B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DEB9B5B226B899330037157B /* Build configuration list for PBXNativeTarget "NuevoProyectoUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DEB9B5B326B899330037157B /* Debug */, + DEB9B5B426B899330037157B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DEB9B57A26B899300037157B /* Project object */; +} diff --git a/NuevoProyecto.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/NuevoProyecto.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/NuevoProyecto.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/NuevoProyecto.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/NuevoProyecto.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/NuevoProyecto.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/NuevoProyecto.xcodeproj/project.xcworkspace/xcuserdata/pabloperez.xcuserdatad/UserInterfaceState.xcuserstate b/NuevoProyecto.xcodeproj/project.xcworkspace/xcuserdata/pabloperez.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..09397b3 Binary files /dev/null and b/NuevoProyecto.xcodeproj/project.xcworkspace/xcuserdata/pabloperez.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/NuevoProyecto.xcodeproj/xcuserdata/pabloperez.xcuserdatad/xcschemes/xcschememanagement.plist b/NuevoProyecto.xcodeproj/xcuserdata/pabloperez.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b5f31b1 --- /dev/null +++ b/NuevoProyecto.xcodeproj/xcuserdata/pabloperez.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + NuevoProyecto.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/NuevoProyecto/AppDelegate.swift b/NuevoProyecto/AppDelegate.swift new file mode 100644 index 0000000..ea0c556 --- /dev/null +++ b/NuevoProyecto/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// NuevoProyecto +// +// Created by Pablo Perez on 2021-08-02. +// + +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/NuevoProyecto/Assets.xcassets/AccentColor.colorset/Contents.json b/NuevoProyecto/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/NuevoProyecto/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/NuevoProyecto/Assets.xcassets/AppIcon.appiconset/Contents.json b/NuevoProyecto/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/NuevoProyecto/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/NuevoProyecto/Assets.xcassets/Contents.json b/NuevoProyecto/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/NuevoProyecto/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/NuevoProyecto/Base.lproj/LaunchScreen.storyboard b/NuevoProyecto/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/NuevoProyecto/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NuevoProyecto/Base.lproj/Main.storyboard b/NuevoProyecto/Base.lproj/Main.storyboard new file mode 100644 index 0000000..5684d8c --- /dev/null +++ b/NuevoProyecto/Base.lproj/Main.storyboard @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NuevoProyecto/Info.plist b/NuevoProyecto/Info.plist new file mode 100644 index 0000000..5b531f7 --- /dev/null +++ b/NuevoProyecto/Info.plist @@ -0,0 +1,66 @@ + + + + + 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 + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/NuevoProyecto/SceneDelegate.swift b/NuevoProyecto/SceneDelegate.swift new file mode 100644 index 0000000..3982bb4 --- /dev/null +++ b/NuevoProyecto/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// NuevoProyecto +// +// Created by Pablo Perez on 2021-08-02. +// + +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/NuevoProyecto/ViewController.swift b/NuevoProyecto/ViewController.swift new file mode 100644 index 0000000..e916cff --- /dev/null +++ b/NuevoProyecto/ViewController.swift @@ -0,0 +1,62 @@ +// +// ViewController.swift +// NuevoProyecto +// +// Created by Pablo Perez on 2021-08-02. +// + +import UIKit + +class ViewController: UIViewController { + + @IBOutlet weak var boton: UIButton! + @IBOutlet weak var tiempo: UILabel! + @IBOutlet weak var veces: UILabel! + var cont = 0 + + @IBAction func botonAction(_ sender: Any) { + cont = cont + 1 + veces.text = String (cont) + } + + var timer = Timer() + var requestTimer = 10 + + @objc func timeMethod(){ + requestTimer -= 1 + tiempo.text = String (requestTimer) + if requestTimer == 5 { + timer.invalidate() + let alert = UIAlertController(title: "Juego Terminado", message: "Total de puntos: \(String(describing: veces.text!))", preferredStyle: .alert) + alert.addAction(UIAlertAction(title: "Aceptar", style: .default, handler: { + (alert:UIAlertAction!) in self.startGame() + })) + self.present(alert, animated: true) + cont = 0 + veces.text = String (cont) + } + } + + override func viewDidLoad() { + super.viewDidLoad() + startGame() + +// boton.center.x = view.frame.width / 2 +// boton.center.y = view.frame.height / 4 +// boton.addTarget(self, action: #selector(aleatorio), for: .touchUpInside) + } + + func startGame(){ + requestTimer = 10 + tiempo.text = String (requestTimer) + timer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(timeMethod), userInfo :nil, repeats: true) + } + +// @objc func aleatorio(){ +// boton.center.x = boton.frame.width / 2 +// boton.center.y = boton.frame.height / 2 +// } + +} + + diff --git a/NuevoProyecto/ViewController2.swift b/NuevoProyecto/ViewController2.swift new file mode 100644 index 0000000..2ee3cab --- /dev/null +++ b/NuevoProyecto/ViewController2.swift @@ -0,0 +1,19 @@ +// +// ViewController2.swift +// NuevoProyecto +// +// Created by Pablo Perez on 2021-08-03. +// + +import UIKit + +class ViewController2: UIViewController { + + @IBOutlet weak var VISTA2: UILabel! + override func viewDidLoad() { + super.viewDidLoad() + VISTA2.text = "plp" + // Do any additional setup after loading the view. + } + +} diff --git a/NuevoProyectoTests/Info.plist b/NuevoProyectoTests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/NuevoProyectoTests/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/NuevoProyectoTests/NuevoProyectoTests.swift b/NuevoProyectoTests/NuevoProyectoTests.swift new file mode 100644 index 0000000..6534fef --- /dev/null +++ b/NuevoProyectoTests/NuevoProyectoTests.swift @@ -0,0 +1,33 @@ +// +// NuevoProyectoTests.swift +// NuevoProyectoTests +// +// Created by Pablo Perez on 2021-08-02. +// + +import XCTest +@testable import NuevoProyecto + +class NuevoProyectoTests: 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/NuevoProyectoUITests/Info.plist b/NuevoProyectoUITests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/NuevoProyectoUITests/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/NuevoProyectoUITests/NuevoProyectoUITests.swift b/NuevoProyectoUITests/NuevoProyectoUITests.swift new file mode 100644 index 0000000..b61543b --- /dev/null +++ b/NuevoProyectoUITests/NuevoProyectoUITests.swift @@ -0,0 +1,42 @@ +// +// NuevoProyectoUITests.swift +// NuevoProyectoUITests +// +// Created by Pablo Perez on 2021-08-02. +// + +import XCTest + +class NuevoProyectoUITests: 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() + } + } + } +} -- libgit2 0.26.0