diff --git a/CSE4095Lab4.xcodeproj/project.pbxproj b/CSE4095Lab4.xcodeproj/project.pbxproj new file mode 100644 index 0000000..2f06e58 --- /dev/null +++ b/CSE4095Lab4.xcodeproj/project.pbxproj @@ -0,0 +1,593 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + B94D97CE2401E8CC00B87CAF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94D97CD2401E8CC00B87CAF /* AppDelegate.swift */; }; + B94D97D02401E8CC00B87CAF /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94D97CF2401E8CC00B87CAF /* SceneDelegate.swift */; }; + B94D97D22401E8CC00B87CAF /* FirstViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94D97D12401E8CC00B87CAF /* FirstViewController.swift */; }; + B94D97D42401E8CC00B87CAF /* SecondViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94D97D32401E8CC00B87CAF /* SecondViewController.swift */; }; + B94D97D72401E8CC00B87CAF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B94D97D52401E8CC00B87CAF /* Main.storyboard */; }; + B94D97D92401E8CD00B87CAF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B94D97D82401E8CD00B87CAF /* Assets.xcassets */; }; + B94D97DC2401E8CD00B87CAF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B94D97DA2401E8CD00B87CAF /* LaunchScreen.storyboard */; }; + B94D97E72401E8CE00B87CAF /* CSE4095Lab4Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94D97E62401E8CE00B87CAF /* CSE4095Lab4Tests.swift */; }; + B94D97F22401E8CE00B87CAF /* CSE4095Lab4UITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94D97F12401E8CE00B87CAF /* CSE4095Lab4UITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + B94D97E32401E8CE00B87CAF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B94D97C22401E8CB00B87CAF /* Project object */; + proxyType = 1; + remoteGlobalIDString = B94D97C92401E8CB00B87CAF; + remoteInfo = CSE4095Lab4; + }; + B94D97EE2401E8CE00B87CAF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B94D97C22401E8CB00B87CAF /* Project object */; + proxyType = 1; + remoteGlobalIDString = B94D97C92401E8CB00B87CAF; + remoteInfo = CSE4095Lab4; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + B94D97CA2401E8CB00B87CAF /* CSE4095Lab4.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CSE4095Lab4.app; sourceTree = BUILT_PRODUCTS_DIR; }; + B94D97CD2401E8CC00B87CAF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + B94D97CF2401E8CC00B87CAF /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + B94D97D12401E8CC00B87CAF /* FirstViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirstViewController.swift; sourceTree = ""; }; + B94D97D32401E8CC00B87CAF /* SecondViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecondViewController.swift; sourceTree = ""; }; + B94D97D62401E8CC00B87CAF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + B94D97D82401E8CD00B87CAF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + B94D97DB2401E8CD00B87CAF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + B94D97DD2401E8CD00B87CAF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B94D97E22401E8CE00B87CAF /* CSE4095Lab4Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CSE4095Lab4Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + B94D97E62401E8CE00B87CAF /* CSE4095Lab4Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSE4095Lab4Tests.swift; sourceTree = ""; }; + B94D97E82401E8CE00B87CAF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B94D97ED2401E8CE00B87CAF /* CSE4095Lab4UITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CSE4095Lab4UITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + B94D97F12401E8CE00B87CAF /* CSE4095Lab4UITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSE4095Lab4UITests.swift; sourceTree = ""; }; + B94D97F32401E8CE00B87CAF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + B94D97C72401E8CB00B87CAF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B94D97DF2401E8CE00B87CAF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B94D97EA2401E8CE00B87CAF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + B94D97C12401E8CB00B87CAF = { + isa = PBXGroup; + children = ( + B94D97CC2401E8CC00B87CAF /* CSE4095Lab4 */, + B94D97E52401E8CE00B87CAF /* CSE4095Lab4Tests */, + B94D97F02401E8CE00B87CAF /* CSE4095Lab4UITests */, + B94D97CB2401E8CB00B87CAF /* Products */, + ); + sourceTree = ""; + }; + B94D97CB2401E8CB00B87CAF /* Products */ = { + isa = PBXGroup; + children = ( + B94D97CA2401E8CB00B87CAF /* CSE4095Lab4.app */, + B94D97E22401E8CE00B87CAF /* CSE4095Lab4Tests.xctest */, + B94D97ED2401E8CE00B87CAF /* CSE4095Lab4UITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + B94D97CC2401E8CC00B87CAF /* CSE4095Lab4 */ = { + isa = PBXGroup; + children = ( + B94D97CD2401E8CC00B87CAF /* AppDelegate.swift */, + B94D97CF2401E8CC00B87CAF /* SceneDelegate.swift */, + B94D97D12401E8CC00B87CAF /* FirstViewController.swift */, + B94D97D32401E8CC00B87CAF /* SecondViewController.swift */, + B94D97D52401E8CC00B87CAF /* Main.storyboard */, + B94D97D82401E8CD00B87CAF /* Assets.xcassets */, + B94D97DA2401E8CD00B87CAF /* LaunchScreen.storyboard */, + B94D97DD2401E8CD00B87CAF /* Info.plist */, + ); + path = CSE4095Lab4; + sourceTree = ""; + }; + B94D97E52401E8CE00B87CAF /* CSE4095Lab4Tests */ = { + isa = PBXGroup; + children = ( + B94D97E62401E8CE00B87CAF /* CSE4095Lab4Tests.swift */, + B94D97E82401E8CE00B87CAF /* Info.plist */, + ); + path = CSE4095Lab4Tests; + sourceTree = ""; + }; + B94D97F02401E8CE00B87CAF /* CSE4095Lab4UITests */ = { + isa = PBXGroup; + children = ( + B94D97F12401E8CE00B87CAF /* CSE4095Lab4UITests.swift */, + B94D97F32401E8CE00B87CAF /* Info.plist */, + ); + path = CSE4095Lab4UITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + B94D97C92401E8CB00B87CAF /* CSE4095Lab4 */ = { + isa = PBXNativeTarget; + buildConfigurationList = B94D97F62401E8CE00B87CAF /* Build configuration list for PBXNativeTarget "CSE4095Lab4" */; + buildPhases = ( + B94D97C62401E8CB00B87CAF /* Sources */, + B94D97C72401E8CB00B87CAF /* Frameworks */, + B94D97C82401E8CB00B87CAF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = CSE4095Lab4; + productName = CSE4095Lab4; + productReference = B94D97CA2401E8CB00B87CAF /* CSE4095Lab4.app */; + productType = "com.apple.product-type.application"; + }; + B94D97E12401E8CE00B87CAF /* CSE4095Lab4Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B94D97F92401E8CE00B87CAF /* Build configuration list for PBXNativeTarget "CSE4095Lab4Tests" */; + buildPhases = ( + B94D97DE2401E8CE00B87CAF /* Sources */, + B94D97DF2401E8CE00B87CAF /* Frameworks */, + B94D97E02401E8CE00B87CAF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B94D97E42401E8CE00B87CAF /* PBXTargetDependency */, + ); + name = CSE4095Lab4Tests; + productName = CSE4095Lab4Tests; + productReference = B94D97E22401E8CE00B87CAF /* CSE4095Lab4Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + B94D97EC2401E8CE00B87CAF /* CSE4095Lab4UITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B94D97FC2401E8CE00B87CAF /* Build configuration list for PBXNativeTarget "CSE4095Lab4UITests" */; + buildPhases = ( + B94D97E92401E8CE00B87CAF /* Sources */, + B94D97EA2401E8CE00B87CAF /* Frameworks */, + B94D97EB2401E8CE00B87CAF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B94D97EF2401E8CE00B87CAF /* PBXTargetDependency */, + ); + name = CSE4095Lab4UITests; + productName = CSE4095Lab4UITests; + productReference = B94D97ED2401E8CE00B87CAF /* CSE4095Lab4UITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + B94D97C22401E8CB00B87CAF /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1130; + LastUpgradeCheck = 1130; + ORGANIZATIONNAME = "Kenny Payes"; + TargetAttributes = { + B94D97C92401E8CB00B87CAF = { + CreatedOnToolsVersion = 11.3.1; + }; + B94D97E12401E8CE00B87CAF = { + CreatedOnToolsVersion = 11.3.1; + TestTargetID = B94D97C92401E8CB00B87CAF; + }; + B94D97EC2401E8CE00B87CAF = { + CreatedOnToolsVersion = 11.3.1; + TestTargetID = B94D97C92401E8CB00B87CAF; + }; + }; + }; + buildConfigurationList = B94D97C52401E8CB00B87CAF /* Build configuration list for PBXProject "CSE4095Lab4" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = B94D97C12401E8CB00B87CAF; + productRefGroup = B94D97CB2401E8CB00B87CAF /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B94D97C92401E8CB00B87CAF /* CSE4095Lab4 */, + B94D97E12401E8CE00B87CAF /* CSE4095Lab4Tests */, + B94D97EC2401E8CE00B87CAF /* CSE4095Lab4UITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + B94D97C82401E8CB00B87CAF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B94D97DC2401E8CD00B87CAF /* LaunchScreen.storyboard in Resources */, + B94D97D92401E8CD00B87CAF /* Assets.xcassets in Resources */, + B94D97D72401E8CC00B87CAF /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B94D97E02401E8CE00B87CAF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B94D97EB2401E8CE00B87CAF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + B94D97C62401E8CB00B87CAF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B94D97D42401E8CC00B87CAF /* SecondViewController.swift in Sources */, + B94D97D22401E8CC00B87CAF /* FirstViewController.swift in Sources */, + B94D97CE2401E8CC00B87CAF /* AppDelegate.swift in Sources */, + B94D97D02401E8CC00B87CAF /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B94D97DE2401E8CE00B87CAF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B94D97E72401E8CE00B87CAF /* CSE4095Lab4Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B94D97E92401E8CE00B87CAF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B94D97F22401E8CE00B87CAF /* CSE4095Lab4UITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + B94D97E42401E8CE00B87CAF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B94D97C92401E8CB00B87CAF /* CSE4095Lab4 */; + targetProxy = B94D97E32401E8CE00B87CAF /* PBXContainerItemProxy */; + }; + B94D97EF2401E8CE00B87CAF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B94D97C92401E8CB00B87CAF /* CSE4095Lab4 */; + targetProxy = B94D97EE2401E8CE00B87CAF /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + B94D97D52401E8CC00B87CAF /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + B94D97D62401E8CC00B87CAF /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + B94D97DA2401E8CD00B87CAF /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + B94D97DB2401E8CD00B87CAF /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + B94D97F42401E8CE00B87CAF /* 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; + }; + B94D97F52401E8CE00B87CAF /* 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; + }; + B94D97F72401E8CE00B87CAF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = CSE4095Lab4/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.CSE4095Lab4; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B94D97F82401E8CE00B87CAF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = CSE4095Lab4/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.CSE4095Lab4; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + B94D97FA2401E8CE00B87CAF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = CSE4095Lab4Tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.CSE4095Lab4Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CSE4095Lab4.app/CSE4095Lab4"; + }; + name = Debug; + }; + B94D97FB2401E8CE00B87CAF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = CSE4095Lab4Tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.CSE4095Lab4Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CSE4095Lab4.app/CSE4095Lab4"; + }; + name = Release; + }; + B94D97FD2401E8CE00B87CAF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = CSE4095Lab4UITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.CSE4095Lab4UITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = CSE4095Lab4; + }; + name = Debug; + }; + B94D97FE2401E8CE00B87CAF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = CSE4095Lab4UITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = UCONN.CSE4095Lab4UITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = CSE4095Lab4; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + B94D97C52401E8CB00B87CAF /* Build configuration list for PBXProject "CSE4095Lab4" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B94D97F42401E8CE00B87CAF /* Debug */, + B94D97F52401E8CE00B87CAF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B94D97F62401E8CE00B87CAF /* Build configuration list for PBXNativeTarget "CSE4095Lab4" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B94D97F72401E8CE00B87CAF /* Debug */, + B94D97F82401E8CE00B87CAF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B94D97F92401E8CE00B87CAF /* Build configuration list for PBXNativeTarget "CSE4095Lab4Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B94D97FA2401E8CE00B87CAF /* Debug */, + B94D97FB2401E8CE00B87CAF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B94D97FC2401E8CE00B87CAF /* Build configuration list for PBXNativeTarget "CSE4095Lab4UITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B94D97FD2401E8CE00B87CAF /* Debug */, + B94D97FE2401E8CE00B87CAF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = B94D97C22401E8CB00B87CAF /* Project object */; +} diff --git a/CSE4095Lab4.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/CSE4095Lab4.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..a409a02 --- /dev/null +++ b/CSE4095Lab4.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/CSE4095Lab4.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/CSE4095Lab4.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/CSE4095Lab4.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/CSE4095Lab4.xcodeproj/xcuserdata/kenny.xcuserdatad/xcschemes/xcschememanagement.plist b/CSE4095Lab4.xcodeproj/xcuserdata/kenny.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..10a86f8 --- /dev/null +++ b/CSE4095Lab4.xcodeproj/xcuserdata/kenny.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + CSE4095Lab4.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/CSE4095Lab4/AppDelegate.swift b/CSE4095Lab4/AppDelegate.swift new file mode 100644 index 0000000..f3b5e2a --- /dev/null +++ b/CSE4095Lab4/AppDelegate.swift @@ -0,0 +1,37 @@ +// +// AppDelegate.swift +// CSE4095Lab4 +// +// Created by Kenny Payes on 2/22/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/CSE4095Lab4/Assets.xcassets/AppIcon.appiconset/Contents.json b/CSE4095Lab4/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/CSE4095Lab4/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/CSE4095Lab4/Assets.xcassets/Contents.json b/CSE4095Lab4/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/CSE4095Lab4/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CSE4095Lab4/Assets.xcassets/first.imageset/Contents.json b/CSE4095Lab4/Assets.xcassets/first.imageset/Contents.json new file mode 100644 index 0000000..33a7451 --- /dev/null +++ b/CSE4095Lab4/Assets.xcassets/first.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "first.pdf" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CSE4095Lab4/Assets.xcassets/first.imageset/first.pdf b/CSE4095Lab4/Assets.xcassets/first.imageset/first.pdf new file mode 100644 index 0000000..47d911d Binary files /dev/null and b/CSE4095Lab4/Assets.xcassets/first.imageset/first.pdf differ diff --git a/CSE4095Lab4/Assets.xcassets/second.imageset/Contents.json b/CSE4095Lab4/Assets.xcassets/second.imageset/Contents.json new file mode 100644 index 0000000..03bd9c9 --- /dev/null +++ b/CSE4095Lab4/Assets.xcassets/second.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "second.pdf" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CSE4095Lab4/Assets.xcassets/second.imageset/second.pdf b/CSE4095Lab4/Assets.xcassets/second.imageset/second.pdf new file mode 100644 index 0000000..401614e Binary files /dev/null and b/CSE4095Lab4/Assets.xcassets/second.imageset/second.pdf differ diff --git a/CSE4095Lab4/Base.lproj/LaunchScreen.storyboard b/CSE4095Lab4/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/CSE4095Lab4/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CSE4095Lab4/Base.lproj/Main.storyboard b/CSE4095Lab4/Base.lproj/Main.storyboard new file mode 100644 index 0000000..7a85710 --- /dev/null +++ b/CSE4095Lab4/Base.lproj/Main.storyboard @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CSE4095Lab4/FirstViewController.swift b/CSE4095Lab4/FirstViewController.swift new file mode 100644 index 0000000..dea71d1 --- /dev/null +++ b/CSE4095Lab4/FirstViewController.swift @@ -0,0 +1,20 @@ +// +// FirstViewController.swift +// CSE4095Lab4 +// +// Created by Kenny Payes on 2/22/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import UIKit + +class FirstViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} + diff --git a/CSE4095Lab4/Info.plist b/CSE4095Lab4/Info.plist new file mode 100644 index 0000000..e7f6f58 --- /dev/null +++ b/CSE4095Lab4/Info.plist @@ -0,0 +1,74 @@ + + + + + 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 + + UIStatusBarTintParameters + + UINavigationBar + + Style + UIBarStyleDefault + Translucent + + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/CSE4095Lab4/SceneDelegate.swift b/CSE4095Lab4/SceneDelegate.swift new file mode 100644 index 0000000..364670f --- /dev/null +++ b/CSE4095Lab4/SceneDelegate.swift @@ -0,0 +1,53 @@ +// +// SceneDelegate.swift +// CSE4095Lab4 +// +// Created by Kenny Payes on 2/22/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/CSE4095Lab4/SecondViewController.swift b/CSE4095Lab4/SecondViewController.swift new file mode 100644 index 0000000..50cccf8 --- /dev/null +++ b/CSE4095Lab4/SecondViewController.swift @@ -0,0 +1,20 @@ +// +// SecondViewController.swift +// CSE4095Lab4 +// +// Created by Kenny Payes on 2/22/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import UIKit + +class SecondViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} + diff --git a/CSE4095Lab4Tests/CSE4095Lab4Tests.swift b/CSE4095Lab4Tests/CSE4095Lab4Tests.swift new file mode 100644 index 0000000..d10d32a --- /dev/null +++ b/CSE4095Lab4Tests/CSE4095Lab4Tests.swift @@ -0,0 +1,34 @@ +// +// CSE4095Lab4Tests.swift +// CSE4095Lab4Tests +// +// Created by Kenny Payes on 2/22/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import XCTest +@testable import CSE4095Lab4 + +class CSE4095Lab4Tests: 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/CSE4095Lab4Tests/Info.plist b/CSE4095Lab4Tests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/CSE4095Lab4Tests/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/CSE4095Lab4UITests/CSE4095Lab4UITests.swift b/CSE4095Lab4UITests/CSE4095Lab4UITests.swift new file mode 100644 index 0000000..44ff872 --- /dev/null +++ b/CSE4095Lab4UITests/CSE4095Lab4UITests.swift @@ -0,0 +1,43 @@ +// +// CSE4095Lab4UITests.swift +// CSE4095Lab4UITests +// +// Created by Kenny Payes on 2/22/20. +// Copyright © 2020 Kenny Payes. All rights reserved. +// + +import XCTest + +class CSE4095Lab4UITests: 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() + } + } + } +} diff --git a/CSE4095Lab4UITests/Info.plist b/CSE4095Lab4UITests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/CSE4095Lab4UITests/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 + +