From 12af9f498760780fefbb90b42bf4d590c919aec2 Mon Sep 17 00:00:00 2001 From: Kenny O Payes Galeano Date: Sat, 8 Feb 2020 18:08:10 -0500 Subject: [PATCH] CSE4095_kpayes_Lab2 Leb 2 for CSE 4095 --- kpayesLab2.xcodeproj/project.pbxproj | 593 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + kpayesLab2/AppDelegate.swift | 37 ++ .../AppIcon.appiconset/Contents.json | 98 +++ kpayesLab2/Assets.xcassets/Contents.json | 6 + .../pause.imageset/Contents.json | 21 + .../Assets.xcassets/pause.imageset/pause.png | Bin 0 -> 5390 bytes .../play.imageset/Contents.json | 21 + .../Assets.xcassets/play.imageset/play.png | Bin 0 -> 2157 bytes kpayesLab2/Base.lproj/LaunchScreen.storyboard | 25 + kpayesLab2/Base.lproj/Main.storyboard | 155 +++++ kpayesLab2/Info.plist | 69 ++ kpayesLab2/SceneDelegate.swift | 53 ++ kpayesLab2/SecondViewController.swift | 44 ++ kpayesLab2/ViewController.swift | 84 +++ kpayesLab2Tests/Info.plist | 22 + kpayesLab2Tests/kpayesLab2Tests.swift | 34 + kpayesLab2UITests/Info.plist | 22 + kpayesLab2UITests/kpayesLab2UITests.swift | 43 ++ 21 files changed, 1356 insertions(+) create mode 100644 kpayesLab2.xcodeproj/project.pbxproj create mode 100644 kpayesLab2.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 kpayesLab2.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 kpayesLab2.xcodeproj/xcuserdata/kenny.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 kpayesLab2/AppDelegate.swift create mode 100644 kpayesLab2/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 kpayesLab2/Assets.xcassets/Contents.json create mode 100644 kpayesLab2/Assets.xcassets/pause.imageset/Contents.json create mode 100644 kpayesLab2/Assets.xcassets/pause.imageset/pause.png create mode 100644 kpayesLab2/Assets.xcassets/play.imageset/Contents.json create mode 100644 kpayesLab2/Assets.xcassets/play.imageset/play.png create mode 100644 kpayesLab2/Base.lproj/LaunchScreen.storyboard create mode 100644 kpayesLab2/Base.lproj/Main.storyboard create mode 100644 kpayesLab2/Info.plist create mode 100644 kpayesLab2/SceneDelegate.swift create mode 100644 kpayesLab2/SecondViewController.swift create mode 100644 kpayesLab2/ViewController.swift create mode 100644 kpayesLab2Tests/Info.plist create mode 100644 kpayesLab2Tests/kpayesLab2Tests.swift create mode 100644 kpayesLab2UITests/Info.plist create mode 100644 kpayesLab2UITests/kpayesLab2UITests.swift 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 0000000000000000000000000000000000000000..26a44276ffd3e87c4fca726c5eb69b5715cca666 GIT binary patch literal 5390 zcmeG=`9Bok(~DfYb|Z_dh+Mmbl`D6yWzkwUQSGXgJ7pC)qP3{V#*#btQHXUPiA7}< zmdaHuMY*MNB>8UdAMk$O-{0@^%RJ9KGxN+dpPBj0%v~(T5)6a^0RR9PZDsBN0C2Fk z8~{EpHt?@T3_p!E47VP7H*MBYW|I-2skM$+kKmSW~z&HXpIJpjS^YHTV13>~{ z$YDXDBf?M-QL&@qFo|Q5QpcrbPRPp1D=5MdO3EiyRMn8`r!+LRv~^DF>ggL88X2E4 zF*P%{Kv`O$t!-@2V(hT?4vtRFF0O9w=R7>mU$}_#x^$V~eZ|Mu&p#kA=xXq_>mkI@ z8#lwkZ$(5#Mc~w;`9TWhVQLyRJ>yYkR(4KqUjE~P!lL4m(z5c3 z$|p~&s%xIr*3s%48k?G1THD$?o_D_J>ZbSf_Pu=dx}P!d=I!9nFmq(|-TMz?;}erp zA3sgcux95zf01x-679e96@#LT^L9Vn;E&GJ+q&px)AZ7RhhR-&>{?c;ST`c1Lm3+<;?)5&FW z%S@OQsU>u3ut)05=(TxOVB#2S-@s2PJ2CCRnyYs)+wVgw=&Z>kDP7alv%y!hMd|{R z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F6C-%4ZU8qM+W{^?W(;nM1{*=csPemk#VwWX_=*{DmUXbJGvuTL;_U%>f@x zsE64?GFDLhA#y3*F=@bjy+tn_w{5p6))wpa%+C5|hczkII3xU1%M7TJ+RSIX9q>)U|zMt8I@cWl~%P4Ei zyB-)V;4EEq<*ggNRpo@NHnb&IvlJPgpFDR43r%%Oa!*H#A;so`|Is^r6YpaA z&Qbc=ij1Z4>Y)LHL*nW~ho^A*EXBXvCNA;qIRrjGgdI)kUT(EyZS~l79@nJzJuj{Dh}#ov+pzPMWQQl6@2KLQLM=$}5!wf!8lWPh`6B_St*d zTX&qS*>lZLKOoUd3@Hq5L8}PM72Wxahr>~^p;H+b3iP;sI`b!Bi;KJRljxnw((=_( pI#;)zL%3-{QRl&bjG7q}h%89jW~>emcF2Dhaj + + + + + + + + + + + + + + + + + + + + + + + + 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() + } + } + } +}