diff --git a/HeadsUpper/HeadsUpper.xcodeproj/project.pbxproj b/HeadsUpper/HeadsUpper.xcodeproj/project.pbxproj deleted file mode 100644 index fb900f8..0000000 --- a/HeadsUpper/HeadsUpper.xcodeproj/project.pbxproj +++ /dev/null @@ -1,307 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 8D89695C1C755D0200D32E8A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D89695B1C755D0200D32E8A /* main.m */; }; - 8D89695F1C755D0200D32E8A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D89695E1C755D0200D32E8A /* AppDelegate.m */; }; - 8D8969621C755D0200D32E8A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D8969611C755D0200D32E8A /* ViewController.m */; }; - 8D8969651C755D0200D32E8A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D8969631C755D0200D32E8A /* Main.storyboard */; }; - 8D8969671C755D0200D32E8A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8D8969661C755D0200D32E8A /* Assets.xcassets */; }; - 8D89696A1C755D0200D32E8A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D8969681C755D0200D32E8A /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 8D8969571C755D0200D32E8A /* HeadsUpper.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HeadsUpper.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 8D89695B1C755D0200D32E8A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 8D89695D1C755D0200D32E8A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 8D89695E1C755D0200D32E8A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 8D8969601C755D0200D32E8A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - 8D8969611C755D0200D32E8A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - 8D8969641C755D0200D32E8A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 8D8969661C755D0200D32E8A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 8D8969691C755D0200D32E8A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 8D89696B1C755D0200D32E8A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 8D8969541C755D0200D32E8A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 8D89694E1C755D0200D32E8A = { - isa = PBXGroup; - children = ( - 8D8969591C755D0200D32E8A /* HeadsUpper */, - 8D8969581C755D0200D32E8A /* Products */, - ); - sourceTree = ""; - }; - 8D8969581C755D0200D32E8A /* Products */ = { - isa = PBXGroup; - children = ( - 8D8969571C755D0200D32E8A /* HeadsUpper.app */, - ); - name = Products; - sourceTree = ""; - }; - 8D8969591C755D0200D32E8A /* HeadsUpper */ = { - isa = PBXGroup; - children = ( - 8D89695D1C755D0200D32E8A /* AppDelegate.h */, - 8D89695E1C755D0200D32E8A /* AppDelegate.m */, - 8D8969601C755D0200D32E8A /* ViewController.h */, - 8D8969611C755D0200D32E8A /* ViewController.m */, - 8D8969631C755D0200D32E8A /* Main.storyboard */, - 8D8969661C755D0200D32E8A /* Assets.xcassets */, - 8D8969681C755D0200D32E8A /* LaunchScreen.storyboard */, - 8D89696B1C755D0200D32E8A /* Info.plist */, - 8D89695A1C755D0200D32E8A /* Supporting Files */, - ); - path = HeadsUpper; - sourceTree = ""; - }; - 8D89695A1C755D0200D32E8A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 8D89695B1C755D0200D32E8A /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 8D8969561C755D0200D32E8A /* HeadsUpper */ = { - isa = PBXNativeTarget; - buildConfigurationList = 8D89696E1C755D0200D32E8A /* Build configuration list for PBXNativeTarget "HeadsUpper" */; - buildPhases = ( - 8D8969531C755D0200D32E8A /* Sources */, - 8D8969541C755D0200D32E8A /* Frameworks */, - 8D8969551C755D0200D32E8A /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = HeadsUpper; - productName = HeadsUpper; - productReference = 8D8969571C755D0200D32E8A /* HeadsUpper.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 8D89694F1C755D0200D32E8A /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0720; - ORGANIZATIONNAME = "Michael Kavouras"; - TargetAttributes = { - 8D8969561C755D0200D32E8A = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = 8D8969521C755D0200D32E8A /* Build configuration list for PBXProject "HeadsUpper" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 8D89694E1C755D0200D32E8A; - productRefGroup = 8D8969581C755D0200D32E8A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 8D8969561C755D0200D32E8A /* HeadsUpper */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 8D8969551C755D0200D32E8A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D89696A1C755D0200D32E8A /* LaunchScreen.storyboard in Resources */, - 8D8969671C755D0200D32E8A /* Assets.xcassets in Resources */, - 8D8969651C755D0200D32E8A /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 8D8969531C755D0200D32E8A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D8969621C755D0200D32E8A /* ViewController.m in Sources */, - 8D89695F1C755D0200D32E8A /* AppDelegate.m in Sources */, - 8D89695C1C755D0200D32E8A /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 8D8969631C755D0200D32E8A /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 8D8969641C755D0200D32E8A /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 8D8969681C755D0200D32E8A /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 8D8969691C755D0200D32E8A /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 8D89696C1C755D0200D32E8A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - 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 = 9.2; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - 8D89696D1C755D0200D32E8A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - 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 = 9.2; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 8D89696F1C755D0200D32E8A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = HeadsUpper/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.1; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.mikekavouras.HeadsUpper; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 8D8969701C755D0200D32E8A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = HeadsUpper/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.1; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.mikekavouras.HeadsUpper; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 8D8969521C755D0200D32E8A /* Build configuration list for PBXProject "HeadsUpper" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8D89696C1C755D0200D32E8A /* Debug */, - 8D89696D1C755D0200D32E8A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 8D89696E1C755D0200D32E8A /* Build configuration list for PBXNativeTarget "HeadsUpper" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8D89696F1C755D0200D32E8A /* Debug */, - 8D8969701C755D0200D32E8A /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; -/* End XCConfigurationList section */ - }; - rootObject = 8D89694F1C755D0200D32E8A /* Project object */; -} diff --git a/HeadsUpper/HeadsUpper/Base.lproj/Main.storyboard b/HeadsUpper/HeadsUpper/Base.lproj/Main.storyboard deleted file mode 100644 index f56d2f3..0000000 --- a/HeadsUpper/HeadsUpper/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/HeadsUpper/HeadsUpper/ViewController.h b/HeadsUpper/HeadsUpper/ViewController.h deleted file mode 100644 index 65d6cf5..0000000 --- a/HeadsUpper/HeadsUpper/ViewController.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// ViewController.h -// HeadsUpper -// -// Created by Michael Kavouras on 2/17/16. -// Copyright © 2016 Michael Kavouras. All rights reserved. -// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/HeadsUpper/HeadsUpper/ViewController.m b/HeadsUpper/HeadsUpper/ViewController.m deleted file mode 100644 index 14ce57a..0000000 --- a/HeadsUpper/HeadsUpper/ViewController.m +++ /dev/null @@ -1,27 +0,0 @@ -// -// ViewController.m -// HeadsUpper -// -// Created by Michael Kavouras on 2/17/16. -// Copyright © 2016 Michael Kavouras. All rights reserved. -// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/Part-Two/Part-Two.xcodeproj/project.pbxproj b/Part-Two/Part-Two.xcodeproj/project.pbxproj new file mode 100644 index 0000000..da51372 --- /dev/null +++ b/Part-Two/Part-Two.xcodeproj/project.pbxproj @@ -0,0 +1,547 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 3D1D00041C796C010018E4E9 /* Part_TwoUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1D00031C796C010018E4E9 /* Part_TwoUITests.m */; }; + 3D1D00131C7A18220018E4E9 /* GameManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1D00121C7A18220018E4E9 /* GameManager.m */; }; + 3D1D00161C7A196D0018E4E9 /* Cards.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1D00151C7A196D0018E4E9 /* Cards.m */; }; + 3D1D00191C7A1CE00018E4E9 /* GameTopicsTableVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1D00181C7A1CE00018E4E9 /* GameTopicsTableVC.m */; }; + 3D1DFFE01C796C000018E4E9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1DFFDF1C796C000018E4E9 /* main.m */; }; + 3D1DFFE31C796C000018E4E9 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1DFFE21C796C000018E4E9 /* AppDelegate.m */; }; + 3D1DFFE61C796C010018E4E9 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1DFFE51C796C010018E4E9 /* ViewController.m */; }; + 3D1DFFE91C796C010018E4E9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3D1DFFE71C796C010018E4E9 /* Main.storyboard */; }; + 3D1DFFEB1C796C010018E4E9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3D1DFFEA1C796C010018E4E9 /* Assets.xcassets */; }; + 3D1DFFEE1C796C010018E4E9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3D1DFFEC1C796C010018E4E9 /* LaunchScreen.storyboard */; }; + 3D1DFFF91C796C010018E4E9 /* Part_TwoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1DFFF81C796C010018E4E9 /* Part_TwoTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 3D1D00001C796C010018E4E9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 3D1DFFD31C796C000018E4E9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3D1DFFDA1C796C000018E4E9; + remoteInfo = "Part-Two"; + }; + 3D1DFFF51C796C010018E4E9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 3D1DFFD31C796C000018E4E9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3D1DFFDA1C796C000018E4E9; + remoteInfo = "Part-Two"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 3D1D00031C796C010018E4E9 /* Part_TwoUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Part_TwoUITests.m; sourceTree = ""; }; + 3D1D00051C796C010018E4E9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 3D1D00111C7A18220018E4E9 /* GameManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameManager.h; sourceTree = ""; }; + 3D1D00121C7A18220018E4E9 /* GameManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameManager.m; sourceTree = ""; }; + 3D1D00141C7A196D0018E4E9 /* Cards.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cards.h; sourceTree = ""; }; + 3D1D00151C7A196D0018E4E9 /* Cards.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Cards.m; sourceTree = ""; }; + 3D1D00171C7A1CE00018E4E9 /* GameTopicsTableVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameTopicsTableVC.h; sourceTree = ""; }; + 3D1D00181C7A1CE00018E4E9 /* GameTopicsTableVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameTopicsTableVC.m; sourceTree = ""; }; + 3D1DFFDB1C796C000018E4E9 /* Part-Two.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Part-Two.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3D1DFFDF1C796C000018E4E9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 3D1DFFE11C796C000018E4E9 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 3D1DFFE21C796C000018E4E9 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 3D1DFFE41C796C000018E4E9 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 3D1DFFE51C796C010018E4E9 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 3D1DFFE81C796C010018E4E9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 3D1DFFEA1C796C010018E4E9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3D1DFFED1C796C010018E4E9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 3D1DFFEF1C796C010018E4E9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 3D1DFFF41C796C010018E4E9 /* Part-TwoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Part-TwoTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3D1DFFF81C796C010018E4E9 /* Part_TwoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Part_TwoTests.m; sourceTree = ""; }; + 3D1DFFFA1C796C010018E4E9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 3D1DFFFF1C796C010018E4E9 /* Part-TwoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Part-TwoUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3D1DFFD81C796C000018E4E9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3D1DFFF11C796C010018E4E9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3D1DFFFC1C796C010018E4E9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3D1D00021C796C010018E4E9 /* Part-TwoUITests */ = { + isa = PBXGroup; + children = ( + 3D1D00031C796C010018E4E9 /* Part_TwoUITests.m */, + 3D1D00051C796C010018E4E9 /* Info.plist */, + ); + path = "Part-TwoUITests"; + sourceTree = ""; + }; + 3D1DFFD21C796C000018E4E9 = { + isa = PBXGroup; + children = ( + 3D1DFFDD1C796C000018E4E9 /* Part-Two */, + 3D1DFFF71C796C010018E4E9 /* Part-TwoTests */, + 3D1D00021C796C010018E4E9 /* Part-TwoUITests */, + 3D1DFFDC1C796C000018E4E9 /* Products */, + ); + sourceTree = ""; + }; + 3D1DFFDC1C796C000018E4E9 /* Products */ = { + isa = PBXGroup; + children = ( + 3D1DFFDB1C796C000018E4E9 /* Part-Two.app */, + 3D1DFFF41C796C010018E4E9 /* Part-TwoTests.xctest */, + 3D1DFFFF1C796C010018E4E9 /* Part-TwoUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 3D1DFFDD1C796C000018E4E9 /* Part-Two */ = { + isa = PBXGroup; + children = ( + 3D1D00111C7A18220018E4E9 /* GameManager.h */, + 3D1D00121C7A18220018E4E9 /* GameManager.m */, + 3D1DFFE11C796C000018E4E9 /* AppDelegate.h */, + 3D1DFFE21C796C000018E4E9 /* AppDelegate.m */, + 3D1D00171C7A1CE00018E4E9 /* GameTopicsTableVC.h */, + 3D1D00181C7A1CE00018E4E9 /* GameTopicsTableVC.m */, + 3D1DFFE41C796C000018E4E9 /* ViewController.h */, + 3D1DFFE51C796C010018E4E9 /* ViewController.m */, + 3D1DFFE71C796C010018E4E9 /* Main.storyboard */, + 3D1DFFEA1C796C010018E4E9 /* Assets.xcassets */, + 3D1DFFEC1C796C010018E4E9 /* LaunchScreen.storyboard */, + 3D1DFFEF1C796C010018E4E9 /* Info.plist */, + 3D1DFFDE1C796C000018E4E9 /* Supporting Files */, + 3D1D00141C7A196D0018E4E9 /* Cards.h */, + 3D1D00151C7A196D0018E4E9 /* Cards.m */, + ); + path = "Part-Two"; + sourceTree = ""; + }; + 3D1DFFDE1C796C000018E4E9 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 3D1DFFDF1C796C000018E4E9 /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 3D1DFFF71C796C010018E4E9 /* Part-TwoTests */ = { + isa = PBXGroup; + children = ( + 3D1DFFF81C796C010018E4E9 /* Part_TwoTests.m */, + 3D1DFFFA1C796C010018E4E9 /* Info.plist */, + ); + path = "Part-TwoTests"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3D1DFFDA1C796C000018E4E9 /* Part-Two */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3D1D00081C796C010018E4E9 /* Build configuration list for PBXNativeTarget "Part-Two" */; + buildPhases = ( + 3D1DFFD71C796C000018E4E9 /* Sources */, + 3D1DFFD81C796C000018E4E9 /* Frameworks */, + 3D1DFFD91C796C000018E4E9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Part-Two"; + productName = "Part-Two"; + productReference = 3D1DFFDB1C796C000018E4E9 /* Part-Two.app */; + productType = "com.apple.product-type.application"; + }; + 3D1DFFF31C796C010018E4E9 /* Part-TwoTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3D1D000B1C796C010018E4E9 /* Build configuration list for PBXNativeTarget "Part-TwoTests" */; + buildPhases = ( + 3D1DFFF01C796C010018E4E9 /* Sources */, + 3D1DFFF11C796C010018E4E9 /* Frameworks */, + 3D1DFFF21C796C010018E4E9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 3D1DFFF61C796C010018E4E9 /* PBXTargetDependency */, + ); + name = "Part-TwoTests"; + productName = "Part-TwoTests"; + productReference = 3D1DFFF41C796C010018E4E9 /* Part-TwoTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 3D1DFFFE1C796C010018E4E9 /* Part-TwoUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3D1D000E1C796C010018E4E9 /* Build configuration list for PBXNativeTarget "Part-TwoUITests" */; + buildPhases = ( + 3D1DFFFB1C796C010018E4E9 /* Sources */, + 3D1DFFFC1C796C010018E4E9 /* Frameworks */, + 3D1DFFFD1C796C010018E4E9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 3D1D00011C796C010018E4E9 /* PBXTargetDependency */, + ); + name = "Part-TwoUITests"; + productName = "Part-TwoUITests"; + productReference = 3D1DFFFF1C796C010018E4E9 /* Part-TwoUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3D1DFFD31C796C000018E4E9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = Kaira; + TargetAttributes = { + 3D1DFFDA1C796C000018E4E9 = { + CreatedOnToolsVersion = 7.2; + DevelopmentTeam = 3358H79N3F; + }; + 3D1DFFF31C796C010018E4E9 = { + CreatedOnToolsVersion = 7.2; + TestTargetID = 3D1DFFDA1C796C000018E4E9; + }; + 3D1DFFFE1C796C010018E4E9 = { + CreatedOnToolsVersion = 7.2; + TestTargetID = 3D1DFFDA1C796C000018E4E9; + }; + }; + }; + buildConfigurationList = 3D1DFFD61C796C000018E4E9 /* Build configuration list for PBXProject "Part-Two" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3D1DFFD21C796C000018E4E9; + productRefGroup = 3D1DFFDC1C796C000018E4E9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3D1DFFDA1C796C000018E4E9 /* Part-Two */, + 3D1DFFF31C796C010018E4E9 /* Part-TwoTests */, + 3D1DFFFE1C796C010018E4E9 /* Part-TwoUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3D1DFFD91C796C000018E4E9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3D1DFFEE1C796C010018E4E9 /* LaunchScreen.storyboard in Resources */, + 3D1DFFEB1C796C010018E4E9 /* Assets.xcassets in Resources */, + 3D1DFFE91C796C010018E4E9 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3D1DFFF21C796C010018E4E9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3D1DFFFD1C796C010018E4E9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3D1DFFD71C796C000018E4E9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3D1DFFE61C796C010018E4E9 /* ViewController.m in Sources */, + 3D1D00191C7A1CE00018E4E9 /* GameTopicsTableVC.m in Sources */, + 3D1D00131C7A18220018E4E9 /* GameManager.m in Sources */, + 3D1DFFE31C796C000018E4E9 /* AppDelegate.m in Sources */, + 3D1D00161C7A196D0018E4E9 /* Cards.m in Sources */, + 3D1DFFE01C796C000018E4E9 /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3D1DFFF01C796C010018E4E9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3D1DFFF91C796C010018E4E9 /* Part_TwoTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3D1DFFFB1C796C010018E4E9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3D1D00041C796C010018E4E9 /* Part_TwoUITests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 3D1D00011C796C010018E4E9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 3D1DFFDA1C796C000018E4E9 /* Part-Two */; + targetProxy = 3D1D00001C796C010018E4E9 /* PBXContainerItemProxy */; + }; + 3D1DFFF61C796C010018E4E9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 3D1DFFDA1C796C000018E4E9 /* Part-Two */; + targetProxy = 3D1DFFF51C796C010018E4E9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 3D1DFFE71C796C010018E4E9 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3D1DFFE81C796C010018E4E9 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 3D1DFFEC1C796C010018E4E9 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3D1DFFED1C796C010018E4E9 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 3D1D00061C796C010018E4E9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + 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 = 9.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 3D1D00071C796C010018E4E9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + 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 = 9.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 3D1D00091C796C010018E4E9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + INFOPLIST_FILE = "Part-Two/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "c4q.accesscode.zovfreullia.Part-Two"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + }; + name = Debug; + }; + 3D1D000A1C796C010018E4E9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + INFOPLIST_FILE = "Part-Two/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "c4q.accesscode.zovfreullia.Part-Two"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + }; + name = Release; + }; + 3D1D000C1C796C010018E4E9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = "Part-TwoTests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "c4q.accesscode.zovfreullia.Part-TwoTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Part-Two.app/Part-Two"; + }; + name = Debug; + }; + 3D1D000D1C796C010018E4E9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = "Part-TwoTests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "c4q.accesscode.zovfreullia.Part-TwoTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Part-Two.app/Part-Two"; + }; + name = Release; + }; + 3D1D000F1C796C010018E4E9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Part-TwoUITests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "c4q.accesscode.zovfreullia.Part-TwoUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = "Part-Two"; + USES_XCTRUNNER = YES; + }; + name = Debug; + }; + 3D1D00101C796C010018E4E9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Part-TwoUITests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "c4q.accesscode.zovfreullia.Part-TwoUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = "Part-Two"; + USES_XCTRUNNER = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3D1D00081C796C010018E4E9 /* Build configuration list for PBXNativeTarget "Part-Two" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3D1D00091C796C010018E4E9 /* Debug */, + 3D1D000A1C796C010018E4E9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3D1D000B1C796C010018E4E9 /* Build configuration list for PBXNativeTarget "Part-TwoTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3D1D000C1C796C010018E4E9 /* Debug */, + 3D1D000D1C796C010018E4E9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3D1D000E1C796C010018E4E9 /* Build configuration list for PBXNativeTarget "Part-TwoUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3D1D000F1C796C010018E4E9 /* Debug */, + 3D1D00101C796C010018E4E9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3D1DFFD61C796C000018E4E9 /* Build configuration list for PBXProject "Part-Two" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3D1D00061C796C010018E4E9 /* Debug */, + 3D1D00071C796C010018E4E9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3D1DFFD31C796C000018E4E9 /* Project object */; +} diff --git a/HeadsUpper/HeadsUpper.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Part-Two/Part-Two.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 70% rename from HeadsUpper/HeadsUpper.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Part-Two/Part-Two.xcodeproj/project.xcworkspace/contents.xcworkspacedata index fb75df6..aec49f0 100644 --- a/HeadsUpper/HeadsUpper.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Part-Two/Part-Two.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:Part-Two.xcodeproj"> diff --git a/HeadsUpper/HeadsUpper/AppDelegate.h b/Part-Two/Part-Two/AppDelegate.h similarity index 58% rename from HeadsUpper/HeadsUpper/AppDelegate.h rename to Part-Two/Part-Two/AppDelegate.h index 28b1de3..0536ff9 100644 --- a/HeadsUpper/HeadsUpper/AppDelegate.h +++ b/Part-Two/Part-Two/AppDelegate.h @@ -1,9 +1,9 @@ // // AppDelegate.h -// HeadsUpper +// Part-Two // -// Created by Michael Kavouras on 2/17/16. -// Copyright © 2016 Michael Kavouras. All rights reserved. +// Created by Fatima Zenine Villanueva on 2/20/16. +// Copyright © 2016 Kaira. All rights reserved. // #import diff --git a/HeadsUpper/HeadsUpper/AppDelegate.m b/Part-Two/Part-Two/AppDelegate.m similarity index 94% rename from HeadsUpper/HeadsUpper/AppDelegate.m rename to Part-Two/Part-Two/AppDelegate.m index b8814af..c95b962 100644 --- a/HeadsUpper/HeadsUpper/AppDelegate.m +++ b/Part-Two/Part-Two/AppDelegate.m @@ -1,9 +1,9 @@ // // AppDelegate.m -// HeadsUpper +// Part-Two // -// Created by Michael Kavouras on 2/17/16. -// Copyright © 2016 Michael Kavouras. All rights reserved. +// Created by Fatima Zenine Villanueva on 2/20/16. +// Copyright © 2016 Kaira. All rights reserved. // #import "AppDelegate.h" diff --git a/HeadsUpper/HeadsUpper/Assets.xcassets/AppIcon.appiconset/Contents.json b/Part-Two/Part-Two/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from HeadsUpper/HeadsUpper/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Part-Two/Part-Two/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/HeadsUpper/HeadsUpper/Base.lproj/LaunchScreen.storyboard b/Part-Two/Part-Two/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from HeadsUpper/HeadsUpper/Base.lproj/LaunchScreen.storyboard rename to Part-Two/Part-Two/Base.lproj/LaunchScreen.storyboard diff --git a/Part-Two/Part-Two/Base.lproj/Main.storyboard b/Part-Two/Part-Two/Base.lproj/Main.storyboard new file mode 100644 index 0000000..b3f5459 --- /dev/null +++ b/Part-Two/Part-Two/Base.lproj/Main.storyboard @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Part-Two/Part-Two/Cards.h b/Part-Two/Part-Two/Cards.h new file mode 100644 index 0000000..64a089f --- /dev/null +++ b/Part-Two/Part-Two/Cards.h @@ -0,0 +1,15 @@ +// +// Cards.h +// Part-Two +// +// Created by Fatima Zenine Villanueva on 2/21/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import + +@interface Cards : NSObject + +@property (nonatomic) NSString *answer; + +@end diff --git a/Part-Two/Part-Two/Cards.m b/Part-Two/Part-Two/Cards.m new file mode 100644 index 0000000..3c391b1 --- /dev/null +++ b/Part-Two/Part-Two/Cards.m @@ -0,0 +1,15 @@ +// +// Cards.m +// Part-Two +// +// Created by Fatima Zenine Villanueva on 2/21/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import "Cards.h" + +@implementation Cards + + + +@end diff --git a/Part-Two/Part-Two/GameManager.h b/Part-Two/Part-Two/GameManager.h new file mode 100644 index 0000000..6b5387e --- /dev/null +++ b/Part-Two/Part-Two/GameManager.h @@ -0,0 +1,19 @@ +// +// WorkoutManager.h +// unit-1-final-project +// +// Created by Fatima Zenine Villanueva on 8/22/15. +// Copyright © 2015 apps. All rights reserved. +// + +#import + +@interface GameManager : NSObject + +@property (nonatomic,strong) NSMutableDictionary *gameTopics; + ++ (GameManager *) sharedManager; + + + +@end diff --git a/Part-Two/Part-Two/GameManager.m b/Part-Two/Part-Two/GameManager.m new file mode 100644 index 0000000..2b3a00e --- /dev/null +++ b/Part-Two/Part-Two/GameManager.m @@ -0,0 +1,85 @@ +// +// WorkoutManager.m +// unit-1-final-project +// +// Created by Fatima Zenine Villanueva on 8/22/15. +// Copyright © 2015 apps. All rights reserved. +// + +#import "GameManager.h" +#import "Cards.h" + + +@implementation GameManager + +#pragma mark Singleton Methods + +@synthesize gameTopics; + ++ (GameManager *) sharedManager{ + static GameManager *sharedMyManager = nil; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + sharedMyManager = [[self alloc] init]; + sharedMyManager.gameTopics = [[NSMutableDictionary alloc] init]; + [sharedMyManager preLoadedWorkouts]; + }); + return sharedMyManager; +} + + +- (void)preLoadedWorkouts { + + NSArray *residentEvil = @[@"Jill Valentine", + @"Albert Wesker", + @"Chris Redfield", + @"Leon Kennedy", + @"William Birkin", + @"Ada Wong", + @"Claire Redfield", + @"Jake Muller", + @"Sherry Birkin", + @"Carlos Oliveira", + @"Mikhail Victor", + @"Nicholai Ginovaef"]; + + + [self.gameTopics setObject:residentEvil forKey:@"Resident Evil"]; + + + NSArray *accessCode = @[@"Natalia", + @"Elber", + @"Christella", + @"Charles", + @"Mike", + @"Max", + @"Zouf", + @"Jamaal", + @"Shena", + @"Derek", + @"Mesfin"]; + + + [self.gameTopics setObject:accessCode forKey:@"Access Code"]; + + NSArray *cereal = @[@"Lucky Charms", + @"Frosted Flakes", + @"Cheerios", + @"Special K", + @"Pebbles", + @"Life", + @"Apple Jacks", + @"Cinammon Toast Crunch", + @"Cap n' Crunch", + @"Chex", + @"Cookie Crisp", + @"Honey Graham"]; + + [self.gameTopics setObject:cereal forKey:@"Cereal"]; + +} + + + + +@end diff --git a/Part-Two/Part-Two/GameTopicsTableVC.h b/Part-Two/Part-Two/GameTopicsTableVC.h new file mode 100644 index 0000000..ee01996 --- /dev/null +++ b/Part-Two/Part-Two/GameTopicsTableVC.h @@ -0,0 +1,13 @@ +// +// GameTopicsTableVC.h +// Part-Two +// +// Created by Fatima Zenine Villanueva on 2/21/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import + +@interface GameTopicsTableVC : UITableViewController + +@end diff --git a/Part-Two/Part-Two/GameTopicsTableVC.m b/Part-Two/Part-Two/GameTopicsTableVC.m new file mode 100644 index 0000000..19455a0 --- /dev/null +++ b/Part-Two/Part-Two/GameTopicsTableVC.m @@ -0,0 +1,85 @@ +// +// GameTopicsTableVC.m +// Part-Two +// +// Created by Fatima Zenine Villanueva on 2/21/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import "GameTopicsTableVC.h" +#import "GameManager.h" +#import "ViewController.h" + +@interface GameTopicsTableVC () + +@property (nonatomic) NSMutableDictionary *gameTopics; + +@end + +@implementation GameTopicsTableVC + +- (void)viewDidLoad { + + [super viewDidLoad]; + + self.gameTopics = [GameManager sharedManager].gameTopics; +} + +- (void)didReceiveMemoryWarning { + + [super didReceiveMemoryWarning]; + +} + +#pragma mark - Table view data source + +- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { + + return 1; + +} + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { + + return self.gameTopics.count; + +} + + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"GameTopicID" forIndexPath:indexPath]; + + NSMutableDictionary *gameTopics = [GameManager sharedManager].gameTopics; + NSArray *keys = [gameTopics allKeys]; + NSString *topic = keys[indexPath.row]; + + cell.textLabel.text = topic; + cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; + + + return cell; +} + + +#pragma mark - Navigation + +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { + + if ([segue.identifier isEqualToString:@"OhSayCanYouSee"]) { + + NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow]; + + ViewController *destinationVC = segue.destinationViewController; + + NSMutableDictionary *gameTopics = [GameManager sharedManager].gameTopics; + + NSArray *keys = [gameTopics allKeys]; + + NSString *topic = keys[indexPath.row]; + + destinationVC.topicCards = [self.gameTopics objectForKey:topic]; + } +} + +@end diff --git a/HeadsUpper/HeadsUpper/Info.plist b/Part-Two/Part-Two/Info.plist similarity index 95% rename from HeadsUpper/HeadsUpper/Info.plist rename to Part-Two/Part-Two/Info.plist index 6905cc6..eb18faa 100644 --- a/HeadsUpper/HeadsUpper/Info.plist +++ b/Part-Two/Part-Two/Info.plist @@ -34,7 +34,6 @@ UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight diff --git a/Part-Two/Part-Two/ViewController.h b/Part-Two/Part-Two/ViewController.h new file mode 100644 index 0000000..21f6767 --- /dev/null +++ b/Part-Two/Part-Two/ViewController.h @@ -0,0 +1,16 @@ +// +// ViewController.h +// Part-Two +// +// Created by Fatima Zenine Villanueva on 2/20/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import + +@interface ViewController : UIViewController + +@property (nonatomic) NSArray *topicCards; + +@end + diff --git a/Part-Two/Part-Two/ViewController.m b/Part-Two/Part-Two/ViewController.m new file mode 100644 index 0000000..bc1c903 --- /dev/null +++ b/Part-Two/Part-Two/ViewController.m @@ -0,0 +1,295 @@ +// +// ViewController.m +// Part-Two +// +// Created by Fatima Zenine Villanueva on 2/20/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import "ViewController.h" +#import "GameManager.h" + +typedef struct Direction { + int x; + int y; + int z; +} Direction; + +@interface ViewController () + +@property (nonatomic, assign) struct Direction position; + +@property (weak, nonatomic) IBOutlet UILabel *timerLabel; + +@property (nonatomic) NSDate *initialDate; + +@property (weak, nonatomic) IBOutlet UILabel *answer; + +@property (nonatomic) NSInteger totalGameTime; + +@property (nonatomic) int index; + +@property (nonatomic) int score; + +@property (weak, nonatomic) IBOutlet UILabel *scoreLabel; + +@property (nonatomic) UIView *colorView; + +@property (nonatomic) NSString *color; + +@property (nonatomic) NSString *x; + +@property (nonatomic) NSString *y; + +@property (nonatomic) NSString *z; + +@end + +@implementation ViewController + + + +- (void)createTimer { + + NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:1.0 + target:self + selector:@selector(timerFired:) + userInfo:nil + repeats: YES]; + + [timer fire]; +} + +- (void)timerFired: (NSTimer *)timer { + + + if (!self.initialDate) { + + self.initialDate = [NSDate date]; + } + + NSDate *currentDate = [NSDate date]; + + NSTimeInterval secondsBetween = [currentDate timeIntervalSinceDate:self.initialDate]; + + NSInteger seconds = secondsBetween; + + NSInteger countDown = self.totalGameTime - seconds; + + NSLog(@"%02lu", (long)countDown); + + self.timerLabel.text = [NSString stringWithFormat:@" %02lu ", (long)countDown]; + + if (seconds >= self.totalGameTime || self.score == self.topicCards.count || self.index == self.topicCards.count - 1) { + + [timer invalidate]; + + self.initialDate = nil; + + NSString *totalScore = [NSString stringWithFormat:@"%u / %u correct!", self.score, self.topicCards.count]; + + UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"Guessing Game" + message:totalScore + preferredStyle:UIAlertControllerStyleAlert]; + UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"Done" + style:UIAlertActionStyleDefault + handler:^(UIAlertAction *action) + { + [self.navigationController popToRootViewControllerAnimated:YES]; + }]; + + [alertController addAction:okAction]; + [self presentViewController:alertController animated:YES completion:^{}]; + } + +} + +- (void)setupGestureRecognizer { + + UISwipeGestureRecognizer *leftSwipe = [[UISwipeGestureRecognizer alloc] + initWithTarget: self + action: @selector(handleSwipe :)]; + leftSwipe.direction = UISwipeGestureRecognizerDirectionLeft; + + UISwipeGestureRecognizer *rightSwipe = [[UISwipeGestureRecognizer alloc] + initWithTarget: self + action: @selector(handleSwipe :)]; + rightSwipe.direction = UISwipeGestureRecognizerDirectionRight; + + + [self.view addGestureRecognizer:leftSwipe]; + [self.view addGestureRecognizer:rightSwipe]; + +} + + +- (Direction) directionOfThePhone { + + Direction direction = {0, 0, 0}; + + // GO UP -- right circle + if (direction.x < 1 && direction.x > 0) { + + self.color = @"Red"; + + [self changeBackGroundColor]; + + return direction; + } + + // GO DOWN -- right circle + + if (direction.x > - 1 && direction.x < 0) { + + self.color = @"Green"; + + [self changeBackGroundColor]; + + + + return direction; + } + + return direction; + +} + +- (void)handleSwipe: (UISwipeGestureRecognizer *)gesture { + + switch (gesture.direction) { + + case UISwipeGestureRecognizerDirectionLeft: + + self.color = @"Green"; + + [self changeBackGroundColor]; + + [self answerLabelChange]; + self.score++; + self.scoreLabel.text = [NSString stringWithFormat:@"Score: %u", self.score]; + + break; + + case UISwipeGestureRecognizerDirectionRight: + + self.color = @"Red"; + + [self changeBackGroundColor]; + + [self answerLabelChange]; + + break; + + default: + + break; + } + +} + +- (void)changeBackGroundColor { + + self.colorView = [[UIView alloc]initWithFrame:self.view.frame]; + + if ([self.color isEqualToString:@"Green"]) { + + self.colorView.backgroundColor = [UIColor greenColor]; + + } + + else if ([self.color isEqualToString:@"Red"]) { + + self.colorView.backgroundColor = [UIColor redColor]; + + } + + [self.view addSubview:self.colorView]; + + [UIView animateWithDuration:1 delay:0.3 options:0 animations:^{ + self.colorView.alpha = 0; + } completion:^(BOOL finished) + { + [self.colorView removeFromSuperview]; + }]; + + +} + +- (void)answerLabelChange { + + if (self.index != self.topicCards.count - 1) { + + self.index++; + + self.answer.text = [self.topicCards objectAtIndex: self.index]; + + } + +} + +- (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate: +(UIAcceleration *)acceleration { + + self.x = [NSString stringWithFormat:@"%f", acceleration.x]; + self.y = [NSString stringWithFormat:@"%f", acceleration.y]; + self.z = [NSString stringWithFormat:@"%f", acceleration.z]; + + // GO UP -- right circle + if ((acceleration.x < 0.65 && acceleration.x > 0.35) && + (acceleration.z < -0.6 && acceleration.z > -0.9)){ + + self.color = @"Red"; + + [self changeBackGroundColor]; + + [self answerLabelChange]; + } + + // GO DOWN -- right circle + + else if ((acceleration.x > -0.1 && acceleration.x < 0.5) && + (acceleration.z > 0.8 && acceleration.z < 0.9 )) { + + self.color = @"Green"; + + [self changeBackGroundColor]; + + [self answerLabelChange]; + + self.score++; + + self.scoreLabel.text = [NSString stringWithFormat:@"Score: %u", self.score]; + + } + + NSLog(@"%@ : %@ : %@", self.x, self.y, self.z); + +} + + +- (void)viewDidLoad { + [super viewDidLoad]; + + [[UIAccelerometer sharedAccelerometer]setDelegate:self]; + + self.totalGameTime = 10; + + self.index = 0; + + self.score = 0; + + self.scoreLabel.text = [NSString stringWithFormat:@"Score: %u", self.score]; + + self.answer.text = [self.topicCards objectAtIndex:self.index]; + + [self setupGestureRecognizer]; + + [self createTimer]; + +} + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; +} + +@end diff --git a/HeadsUpper/HeadsUpper/main.m b/Part-Two/Part-Two/main.m similarity index 65% rename from HeadsUpper/HeadsUpper/main.m rename to Part-Two/Part-Two/main.m index 38fff25..c6439e7 100644 --- a/HeadsUpper/HeadsUpper/main.m +++ b/Part-Two/Part-Two/main.m @@ -1,9 +1,9 @@ // // main.m -// HeadsUpper +// Part-Two // -// Created by Michael Kavouras on 2/17/16. -// Copyright © 2016 Michael Kavouras. All rights reserved. +// Created by Fatima Zenine Villanueva on 2/20/16. +// Copyright © 2016 Kaira. All rights reserved. // #import diff --git a/Part-Two/Part-TwoTests/Info.plist b/Part-Two/Part-TwoTests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Part-Two/Part-TwoTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Part-Two/Part-TwoTests/Part_TwoTests.m b/Part-Two/Part-TwoTests/Part_TwoTests.m new file mode 100644 index 0000000..b5852fa --- /dev/null +++ b/Part-Two/Part-TwoTests/Part_TwoTests.m @@ -0,0 +1,39 @@ +// +// Part_TwoTests.m +// Part-TwoTests +// +// Created by Fatima Zenine Villanueva on 2/20/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import + +@interface Part_TwoTests : XCTestCase + +@end + +@implementation Part_TwoTests + +- (void)setUp { + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +- (void)testPerformanceExample { + // This is an example of a performance test case. + [self measureBlock:^{ + // Put the code you want to measure the time of here. + }]; +} + +@end diff --git a/Part-Two/Part-TwoUITests/Info.plist b/Part-Two/Part-TwoUITests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Part-Two/Part-TwoUITests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Part-Two/Part-TwoUITests/Part_TwoUITests.m b/Part-Two/Part-TwoUITests/Part_TwoUITests.m new file mode 100644 index 0000000..8f4eeec --- /dev/null +++ b/Part-Two/Part-TwoUITests/Part_TwoUITests.m @@ -0,0 +1,40 @@ +// +// Part_TwoUITests.m +// Part-TwoUITests +// +// Created by Fatima Zenine Villanueva on 2/20/16. +// Copyright © 2016 Kaira. All rights reserved. +// + +#import + +@interface Part_TwoUITests : XCTestCase + +@end + +@implementation Part_TwoUITests + +- (void)setUp { + [super 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. + self.continueAfterFailure = NO; + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + [[[XCUIApplication alloc] init] launch]; + + // 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. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +@end