diff --git a/kpayesLab2.xcodeproj/project.pbxproj b/kpayesLab2.xcodeproj/project.pbxproj new file mode 100644 index 0000000..862e37a --- /dev/null +++ b/kpayesLab2.xcodeproj/project.pbxproj @@ -0,0 +1,593 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + B9D0C8D523EF55D600155720 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D0C8D423EF55D600155720 /* AppDelegate.swift */; }; + B9D0C8D723EF55D600155720 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D0C8D623EF55D600155720 /* SceneDelegate.swift */; }; + B9D0C8D923EF55D600155720 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D0C8D823EF55D600155720 /* ViewController.swift */; }; + B9D0C8DC23EF55D600155720 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B9D0C8DA23EF55D600155720 /* Main.storyboard */; }; + B9D0C8DE23EF55E000155720 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B9D0C8DD23EF55E000155720 /* Assets.xcassets */; }; + B9D0C8E123EF55E000155720 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B9D0C8DF23EF55E000155720 /* LaunchScreen.storyboard */; }; + B9D0C8EC23EF55E100155720 /* kpayesLab2Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D0C8EB23EF55E100155720 /* kpayesLab2Tests.swift */; }; + B9D0C8F723EF55E100155720 /* kpayesLab2UITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D0C8F623EF55E100155720 /* kpayesLab2UITests.swift */; }; + B9D0C90523EF5DC800155720 /* SecondViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D0C90423EF5DC800155720 /* SecondViewController.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + B9D0C8E823EF55E100155720 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B9D0C8C923EF55D600155720 /* Project object */; + proxyType = 1; + remoteGlobalIDString = B9D0C8D023EF55D600155720; + remoteInfo = kpayesLab2; + }; + B9D0C8F323EF55E100155720 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B9D0C8C923EF55D600155720 /* Project object */; + proxyType = 1; + remoteGlobalIDString = B9D0C8D023EF55D600155720; + remoteInfo = kpayesLab2; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + B9D0C8D123EF55D600155720 /* kpayesLab2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = kpayesLab2.app; sourceTree = BUILT_PRODUCTS_DIR; }; + B9D0C8D423EF55D600155720 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + B9D0C8D623EF55D600155720 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + B9D0C8D823EF55D600155720 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + B9D0C8DB23EF55D600155720 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + B9D0C8DD23EF55E000155720 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + B9D0C8E023EF55E000155720 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + B9D0C8E223EF55E000155720 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B9D0C8E723EF55E100155720 /* kpayesLab2Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = kpayesLab2Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + B9D0C8EB23EF55E100155720 /* kpayesLab2Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = kpayesLab2Tests.swift; sourceTree = ""; }; + B9D0C8ED23EF55E100155720 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B9D0C8F223EF55E100155720 /* kpayesLab2UITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = kpayesLab2UITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + B9D0C8F623EF55E100155720 /* kpayesLab2UITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = kpayesLab2UITests.swift; sourceTree = ""; }; + B9D0C8F823EF55E100155720 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B9D0C90423EF5DC800155720 /* SecondViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecondViewController.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + B9D0C8CE23EF55D600155720 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9D0C8E423EF55E100155720 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9D0C8EF23EF55E100155720 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + B9D0C8C823EF55D600155720 = { + isa = PBXGroup; + children = ( + B9D0C8D323EF55D600155720 /* kpayesLab2 */, + B9D0C8EA23EF55E100155720 /* kpayesLab2Tests */, + B9D0C8F523EF55E100155720 /* kpayesLab2UITests */, + B9D0C8D223EF55D600155720 /* Products */, + ); + sourceTree = ""; + }; + B9D0C8D223EF55D600155720 /* Products */ = { + isa = PBXGroup; + children = ( + B9D0C8D123EF55D600155720 /* kpayesLab2.app */, + B9D0C8E723EF55E100155720 /* kpayesLab2Tests.xctest */, + B9D0C8F223EF55E100155720 /* kpayesLab2UITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + B9D0C8D323EF55D600155720 /* kpayesLab2 */ = { + isa = PBXGroup; + children = ( + B9D0C8D423EF55D600155720 /* AppDelegate.swift */, + B9D0C8D623EF55D600155720 /* SceneDelegate.swift */, + B9D0C8D823EF55D600155720 /* ViewController.swift */, + B9D0C90423EF5DC800155720 /* SecondViewController.swift */, + B9D0C8DA23EF55D600155720 /* Main.storyboard */, + B9D0C8DD23EF55E000155720 /* Assets.xcassets */, + B9D0C8DF23EF55E000155720 /* LaunchScreen.storyboard */, + B9D0C8E223EF55E000155720 /* Info.plist */, + ); + path = kpayesLab2; + sourceTree = ""; + }; + B9D0C8EA23EF55E100155720 /* kpayesLab2Tests */ = { + isa = PBXGroup; + children = ( + B9D0C8EB23EF55E100155720 /* kpayesLab2Tests.swift */, + B9D0C8ED23EF55E100155720 /* Info.plist */, + ); + path = kpayesLab2Tests; + sourceTree = ""; + }; + B9D0C8F523EF55E100155720 /* kpayesLab2UITests */ = { + isa = PBXGroup; + children = ( + B9D0C8F623EF55E100155720 /* kpayesLab2UITests.swift */, + B9D0C8F823EF55E100155720 /* Info.plist */, + ); + path = kpayesLab2UITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + B9D0C8D023EF55D600155720 /* kpayesLab2 */ = { + isa = PBXNativeTarget; + buildConfigurationList = B9D0C8FB23EF55E100155720 /* Build configuration list for PBXNativeTarget "kpayesLab2" */; + buildPhases = ( + B9D0C8CD23EF55D600155720 /* Sources */, + B9D0C8CE23EF55D600155720 /* Frameworks */, + B9D0C8CF23EF55D600155720 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = kpayesLab2; + productName = kpayesLab2; + productReference = B9D0C8D123EF55D600155720 /* kpayesLab2.app */; + productType = "com.apple.product-type.application"; + }; + B9D0C8E623EF55E100155720 /* kpayesLab2Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B9D0C8FE23EF55E100155720 /* Build configuration list for PBXNativeTarget "kpayesLab2Tests" */; + buildPhases = ( + B9D0C8E323EF55E100155720 /* Sources */, + B9D0C8E423EF55E100155720 /* Frameworks */, + B9D0C8E523EF55E100155720 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B9D0C8E923EF55E100155720 /* PBXTargetDependency */, + ); + name = kpayesLab2Tests; + productName = kpayesLab2Tests; + productReference = B9D0C8E723EF55E100155720 /* kpayesLab2Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + B9D0C8F123EF55E100155720 /* kpayesLab2UITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B9D0C90123EF55E100155720 /* Build configuration list for PBXNativeTarget "kpayesLab2UITests" */; + buildPhases = ( + B9D0C8EE23EF55E100155720 /* Sources */, + B9D0C8EF23EF55E100155720 /* Frameworks */, + B9D0C8F023EF55E100155720 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B9D0C8F423EF55E100155720 /* PBXTargetDependency */, + ); + name = kpayesLab2UITests; + productName = kpayesLab2UITests; + productReference = B9D0C8F223EF55E100155720 /* kpayesLab2UITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + B9D0C8C923EF55D600155720 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1130; + LastUpgradeCheck = 1130; + ORGANIZATIONNAME = "Kenny Payes"; + TargetAttributes = { + B9D0C8D023EF55D600155720 = { + CreatedOnToolsVersion = 11.3.1; + }; + B9D0C8E623EF55E100155720 = { + CreatedOnToolsVersion = 11.3.1; + TestTargetID = B9D0C8D023EF55D600155720; + }; + B9D0C8F123EF55E100155720 = { + CreatedOnToolsVersion = 11.3.1; + TestTargetID = B9D0C8D023EF55D600155720; + }; + }; + }; + buildConfigurationList = B9D0C8CC23EF55D600155720 /* Build configuration list for PBXProject "kpayesLab2" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = B9D0C8C823EF55D600155720; + productRefGroup = B9D0C8D223EF55D600155720 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B9D0C8D023EF55D600155720 /* kpayesLab2 */, + B9D0C8E623EF55E100155720 /* kpayesLab2Tests */, + B9D0C8F123EF55E100155720 /* kpayesLab2UITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + B9D0C8CF23EF55D600155720 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9D0C8E123EF55E000155720 /* LaunchScreen.storyboard in Resources */, + B9D0C8DE23EF55E000155720 /* Assets.xcassets in Resources */, + B9D0C8DC23EF55D600155720 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9D0C8E523EF55E100155720 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9D0C8F023EF55E100155720 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + B9D0C8CD23EF55D600155720 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9D0C90523EF5DC800155720 /* SecondViewController.swift in Sources */, + B9D0C8D923EF55D600155720 /* ViewController.swift in Sources */, + B9D0C8D523EF55D600155720 /* AppDelegate.swift in Sources */, + B9D0C8D723EF55D600155720 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9D0C8E323EF55E100155720 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9D0C8EC23EF55E100155720 /* kpayesLab2Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9D0C8EE23EF55E100155720 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9D0C8F723EF55E100155720 /* kpayesLab2UITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + B9D0C8E923EF55E100155720 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B9D0C8D023EF55D600155720 /* kpayesLab2 */; + targetProxy = B9D0C8E823EF55E100155720 /* PBXContainerItemProxy */; + }; + B9D0C8F423EF55E100155720 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B9D0C8D023EF55D600155720 /* kpayesLab2 */; + targetProxy = B9D0C8F323EF55E100155720 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + B9D0C8DA23EF55D600155720 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + B9D0C8DB23EF55D600155720 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + B9D0C8DF23EF55E000155720 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + B9D0C8E023EF55E000155720 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + B9D0C8F923EF55E100155720 /* 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_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 = 13.2; + 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; + }; + B9D0C8FA23EF55E100155720 /* 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_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 = 13.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + B9D0C8FC23EF55E100155720 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = kpayesLab2/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.kpayesLab2; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B9D0C8FD23EF55E100155720 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = kpayesLab2/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.kpayesLab2; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + B9D0C8FF23EF55E100155720 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = kpayesLab2Tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.kpayesLab2Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/kpayesLab2.app/kpayesLab2"; + }; + name = Debug; + }; + B9D0C90023EF55E100155720 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = kpayesLab2Tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.kpayesLab2Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/kpayesLab2.app/kpayesLab2"; + }; + name = Release; + }; + B9D0C90223EF55E100155720 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = kpayesLab2UITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.kpayesLab2UITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = kpayesLab2; + }; + name = Debug; + }; + B9D0C90323EF55E100155720 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = kpayesLab2UITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.kpayesLab2UITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = kpayesLab2; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + B9D0C8CC23EF55D600155720 /* Build configuration list for PBXProject "kpayesLab2" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9D0C8F923EF55E100155720 /* Debug */, + B9D0C8FA23EF55E100155720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B9D0C8FB23EF55E100155720 /* Build configuration list for PBXNativeTarget "kpayesLab2" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9D0C8FC23EF55E100155720 /* Debug */, + B9D0C8FD23EF55E100155720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B9D0C8FE23EF55E100155720 /* Build configuration list for PBXNativeTarget "kpayesLab2Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9D0C8FF23EF55E100155720 /* Debug */, + B9D0C90023EF55E100155720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B9D0C90123EF55E100155720 /* Build configuration list for PBXNativeTarget "kpayesLab2UITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9D0C90223EF55E100155720 /* Debug */, + B9D0C90323EF55E100155720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = B9D0C8C923EF55D600155720 /* Project object */; +} diff --git a/kpayesLab2.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/kpayesLab2.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..d286afb --- /dev/null +++ b/kpayesLab2.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/kpayesLab2.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/kpayesLab2.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/kpayesLab2.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/kpayesLab2.xcodeproj/xcuserdata/kenny.xcuserdatad/xcschemes/xcschememanagement.plist b/kpayesLab2.xcodeproj/xcuserdata/kenny.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b9bad72 --- /dev/null +++ b/kpayesLab2.xcodeproj/xcuserdata/kenny.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + kpayesLab2.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/kpayesLab2/AppDelegate.swift b/kpayesLab2/AppDelegate.swift new file mode 100644 index 0000000..b3cebd2 --- /dev/null +++ b/kpayesLab2/AppDelegate.swift @@ -0,0 +1,37 @@ +// +// AppDelegate.swift +// kpayesLab2 +// +// Created by Kenny Payes on 2/8/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import UIKit + +@UIApplicationMain +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/kpayesLab2/Assets.xcassets/AppIcon.appiconset/Contents.json b/kpayesLab2/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/kpayesLab2/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/kpayesLab2/Assets.xcassets/Contents.json b/kpayesLab2/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/kpayesLab2/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/kpayesLab2/Assets.xcassets/pause.imageset/Contents.json b/kpayesLab2/Assets.xcassets/pause.imageset/Contents.json new file mode 100644 index 0000000..6aa82cf --- /dev/null +++ b/kpayesLab2/Assets.xcassets/pause.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "pause.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/kpayesLab2/Assets.xcassets/pause.imageset/pause.png b/kpayesLab2/Assets.xcassets/pause.imageset/pause.png new file mode 100644 index 0000000..26a4427 Binary files /dev/null and b/kpayesLab2/Assets.xcassets/pause.imageset/pause.png differ diff --git a/kpayesLab2/Assets.xcassets/play.imageset/Contents.json b/kpayesLab2/Assets.xcassets/play.imageset/Contents.json new file mode 100644 index 0000000..5f85e05 --- /dev/null +++ b/kpayesLab2/Assets.xcassets/play.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "play.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/kpayesLab2/Assets.xcassets/play.imageset/play.png b/kpayesLab2/Assets.xcassets/play.imageset/play.png new file mode 100644 index 0000000..7cc766a Binary files /dev/null and b/kpayesLab2/Assets.xcassets/play.imageset/play.png differ diff --git a/kpayesLab2/Base.lproj/LaunchScreen.storyboard b/kpayesLab2/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/kpayesLab2/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kpayesLab2/Base.lproj/Main.storyboard b/kpayesLab2/Base.lproj/Main.storyboard new file mode 100644 index 0000000..008448f --- /dev/null +++ b/kpayesLab2/Base.lproj/Main.storyboard @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kpayesLab2/Info.plist b/kpayesLab2/Info.plist new file mode 100644 index 0000000..ecd0ce3 --- /dev/null +++ b/kpayesLab2/Info.plist @@ -0,0 +1,69 @@ + + + + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + 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 + + + + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/kpayesLab2/SceneDelegate.swift b/kpayesLab2/SceneDelegate.swift new file mode 100644 index 0000000..e6d31ee --- /dev/null +++ b/kpayesLab2/SceneDelegate.swift @@ -0,0 +1,53 @@ +// +// SceneDelegate.swift +// kpayesLab2 +// +// Created by Kenny Payes on 2/8/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +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 neccessarily 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/kpayesLab2/SecondViewController.swift b/kpayesLab2/SecondViewController.swift new file mode 100644 index 0000000..fe35e0e --- /dev/null +++ b/kpayesLab2/SecondViewController.swift @@ -0,0 +1,44 @@ +// +// SecondViewController.swift +// kpayesLab2 +// +// Created by Kenny Payes on 2/8/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import UIKit + +class SecondViewController: UIViewController { + + @IBOutlet weak var gobackButton: UIButton! + @IBOutlet weak var receivedMessage: UILabel! + + var tempHolder: String? + + override func viewDidLoad() { + super.viewDidLoad() + + receivedMessage.text = tempHolder + } + + @IBAction func gobackPressed(_ sender: Any) { + self.performSegue(withIdentifier: "toMain", sender: self) + } + override func viewWillAppear(_ animated: Bool) { + super.viewWillAppear(animated) + print("SecondViewController viewWillAppear \n") + } + + override func viewDidAppear(_ animated: Bool) { + super.viewDidAppear(animated) + print("SecondViewController viewDidAppear \n") + } + override func viewWillDisappear(_ animated: Bool) { + super.viewWillAppear(animated) + print("SecondViewController viewWillDisappear") + } + override func viewDidDisappear(_ animated: Bool) { + super.viewDidAppear(animated) + print("SecondViewController viewDidDisappear") + } +} diff --git a/kpayesLab2/ViewController.swift b/kpayesLab2/ViewController.swift new file mode 100644 index 0000000..c6c1ea6 --- /dev/null +++ b/kpayesLab2/ViewController.swift @@ -0,0 +1,84 @@ +// +// ViewController.swift +// kpayesLab2 +// +// Created by Kenny Payes on 2/8/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import UIKit +import AVFoundation + +class ViewController: UIViewController, UITextFieldDelegate { + + @IBOutlet weak var power: UIButton! + @IBOutlet weak var picture: UIImageView! + @IBOutlet weak var message: UITextField! + + var radioOn: Bool? + var radioURL: URL? + var radio: AVPlayer? + var sentMessage = " " + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + radioURL = URL(string: "http://chromaradio.com:8040/listen.pls") + radio = AVPlayer(url:radioURL!) + radioOn = false + picture.image = UIImage(named: "pause") + message.delegate = self + print("MainView Controller ViewDidLoad \n") + } + override func viewWillAppear(_ animated: Bool) { + super.viewWillAppear(animated) + print("MainViewController viewWillAppear \n") + } + + override func viewDidAppear(_ animated: Bool) { + super.viewDidAppear(animated) + print("MainViewController viewDidAppear \n") + } + override func viewWillDisappear(_ animated: Bool) { + super.viewWillAppear(animated) + print("MainViewController viewWillDisappear") + } + override func viewDidDisappear(_ animated: Bool) { + super.viewDidAppear(animated) + print("MainViewController viewDidDisappear") + } + + + @IBAction func powerPresed(_ sender: Any) { + if radioOn!{ + radioOn = false + radio!.pause() + picture.image = UIImage(named: "pause") + } + else { + radioOn = true + radio!.play() + picture.image = UIImage(named: "play") + } + } + + @IBAction func nextPressed(_ sender: Any) { + self.sentMessage = message.text! + + self.performSegue(withIdentifier: "toSecond", sender: self) + } + + override func prepare(for segue: UIStoryboardSegue, sender: Any?) { + if segue.destination is SecondViewController{ + let vc = segue.destination as? SecondViewController + vc?.tempHolder = self.sentMessage + } + } + + func textFieldShouldReturn(_ textField: UITextField) -> Bool { + message.resignFirstResponder() + print("return presses") + return true + } +} + diff --git a/kpayesLab2Tests/Info.plist b/kpayesLab2Tests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/kpayesLab2Tests/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/kpayesLab2Tests/kpayesLab2Tests.swift b/kpayesLab2Tests/kpayesLab2Tests.swift new file mode 100644 index 0000000..c896e2d --- /dev/null +++ b/kpayesLab2Tests/kpayesLab2Tests.swift @@ -0,0 +1,34 @@ +// +// kpayesLab2Tests.swift +// kpayesLab2Tests +// +// Created by Kenny Payes on 2/8/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import XCTest +@testable import kpayesLab2 + +class kpayesLab2Tests: XCTestCase { + + override func setUp() { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // 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/kpayesLab2UITests/Info.plist b/kpayesLab2UITests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/kpayesLab2UITests/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/kpayesLab2UITests/kpayesLab2UITests.swift b/kpayesLab2UITests/kpayesLab2UITests.swift new file mode 100644 index 0000000..5abbe96 --- /dev/null +++ b/kpayesLab2UITests/kpayesLab2UITests.swift @@ -0,0 +1,43 @@ +// +// kpayesLab2UITests.swift +// kpayesLab2UITests +// +// Created by Kenny Payes on 2/8/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import XCTest + +class kpayesLab2UITests: XCTestCase { + + override func setUp() { + // 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 tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() { + // 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() { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTOSSignpostMetric.applicationLaunch]) { + XCUIApplication().launch() + } + } + } +}