commit 58b30d59e92b1e291663eafad9d58616eb4b1bc4 Author: Tom Hicks Date: Wed Sep 2 16:13:17 2020 -0700 Initial Commit diff --git a/MonsterCards.xcodeproj/project.pbxproj b/MonsterCards.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0c3b440 --- /dev/null +++ b/MonsterCards.xcodeproj/project.pbxproj @@ -0,0 +1,613 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + E2F7247525005E89007D87ED /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E2F7247425005E89007D87ED /* AppDelegate.m */; }; + E2F7247825005E89007D87ED /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E2F7247725005E89007D87ED /* SceneDelegate.m */; }; + E2F7247B25005E89007D87ED /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2F7247A25005E89007D87ED /* FirstViewController.m */; }; + E2F7247E25005E89007D87ED /* SecondViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2F7247D25005E89007D87ED /* SecondViewController.m */; }; + E2F7248125005E89007D87ED /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E2F7247F25005E89007D87ED /* Main.storyboard */; }; + E2F7248425005E89007D87ED /* MonsterCards.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = E2F7248225005E89007D87ED /* MonsterCards.xcdatamodeld */; }; + E2F7248625005E8A007D87ED /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E2F7248525005E8A007D87ED /* Assets.xcassets */; }; + E2F7248925005E8A007D87ED /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E2F7248725005E8A007D87ED /* LaunchScreen.storyboard */; }; + E2F7248C25005E8A007D87ED /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E2F7248B25005E8A007D87ED /* main.m */; }; + E2F7249625005E8A007D87ED /* MonsterCardsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E2F7249525005E8A007D87ED /* MonsterCardsTests.m */; }; + E2F724A125005E8A007D87ED /* MonsterCardsUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = E2F724A025005E8A007D87ED /* MonsterCardsUITests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + E2F7249225005E8A007D87ED /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E2F7246825005E89007D87ED /* Project object */; + proxyType = 1; + remoteGlobalIDString = E2F7246F25005E89007D87ED; + remoteInfo = MonsterCards; + }; + E2F7249D25005E8A007D87ED /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E2F7246825005E89007D87ED /* Project object */; + proxyType = 1; + remoteGlobalIDString = E2F7246F25005E89007D87ED; + remoteInfo = MonsterCards; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + E2F7247025005E89007D87ED /* MonsterCards.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MonsterCards.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E2F7247325005E89007D87ED /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + E2F7247425005E89007D87ED /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + E2F7247625005E89007D87ED /* SceneDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SceneDelegate.h; sourceTree = ""; }; + E2F7247725005E89007D87ED /* SceneDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SceneDelegate.m; sourceTree = ""; }; + E2F7247925005E89007D87ED /* FirstViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = ""; }; + E2F7247A25005E89007D87ED /* FirstViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = ""; }; + E2F7247C25005E89007D87ED /* SecondViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SecondViewController.h; sourceTree = ""; }; + E2F7247D25005E89007D87ED /* SecondViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SecondViewController.m; sourceTree = ""; }; + E2F7248025005E89007D87ED /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + E2F7248325005E89007D87ED /* MonsterCards.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = MonsterCards.xcdatamodel; sourceTree = ""; }; + E2F7248525005E8A007D87ED /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + E2F7248825005E8A007D87ED /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + E2F7248A25005E8A007D87ED /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E2F7248B25005E8A007D87ED /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + E2F7249125005E8A007D87ED /* MonsterCardsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MonsterCardsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E2F7249525005E8A007D87ED /* MonsterCardsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MonsterCardsTests.m; sourceTree = ""; }; + E2F7249725005E8A007D87ED /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E2F7249C25005E8A007D87ED /* MonsterCardsUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MonsterCardsUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E2F724A025005E8A007D87ED /* MonsterCardsUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MonsterCardsUITests.m; sourceTree = ""; }; + E2F724A225005E8A007D87ED /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E2F7246D25005E89007D87ED /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E2F7248E25005E8A007D87ED /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E2F7249925005E8A007D87ED /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + E2F7246725005E89007D87ED = { + isa = PBXGroup; + children = ( + E2F7247225005E89007D87ED /* MonsterCards */, + E2F7249425005E8A007D87ED /* MonsterCardsTests */, + E2F7249F25005E8A007D87ED /* MonsterCardsUITests */, + E2F7247125005E89007D87ED /* Products */, + ); + sourceTree = ""; + }; + E2F7247125005E89007D87ED /* Products */ = { + isa = PBXGroup; + children = ( + E2F7247025005E89007D87ED /* MonsterCards.app */, + E2F7249125005E8A007D87ED /* MonsterCardsTests.xctest */, + E2F7249C25005E8A007D87ED /* MonsterCardsUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + E2F7247225005E89007D87ED /* MonsterCards */ = { + isa = PBXGroup; + children = ( + E2F7247325005E89007D87ED /* AppDelegate.h */, + E2F7247425005E89007D87ED /* AppDelegate.m */, + E2F7247625005E89007D87ED /* SceneDelegate.h */, + E2F7247725005E89007D87ED /* SceneDelegate.m */, + E2F7247925005E89007D87ED /* FirstViewController.h */, + E2F7247A25005E89007D87ED /* FirstViewController.m */, + E2F7247C25005E89007D87ED /* SecondViewController.h */, + E2F7247D25005E89007D87ED /* SecondViewController.m */, + E2F7247F25005E89007D87ED /* Main.storyboard */, + E2F7248525005E8A007D87ED /* Assets.xcassets */, + E2F7248725005E8A007D87ED /* LaunchScreen.storyboard */, + E2F7248A25005E8A007D87ED /* Info.plist */, + E2F7248B25005E8A007D87ED /* main.m */, + E2F7248225005E89007D87ED /* MonsterCards.xcdatamodeld */, + ); + path = MonsterCards; + sourceTree = ""; + }; + E2F7249425005E8A007D87ED /* MonsterCardsTests */ = { + isa = PBXGroup; + children = ( + E2F7249525005E8A007D87ED /* MonsterCardsTests.m */, + E2F7249725005E8A007D87ED /* Info.plist */, + ); + path = MonsterCardsTests; + sourceTree = ""; + }; + E2F7249F25005E8A007D87ED /* MonsterCardsUITests */ = { + isa = PBXGroup; + children = ( + E2F724A025005E8A007D87ED /* MonsterCardsUITests.m */, + E2F724A225005E8A007D87ED /* Info.plist */, + ); + path = MonsterCardsUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E2F7246F25005E89007D87ED /* MonsterCards */ = { + isa = PBXNativeTarget; + buildConfigurationList = E2F724A525005E8A007D87ED /* Build configuration list for PBXNativeTarget "MonsterCards" */; + buildPhases = ( + E2F7246C25005E89007D87ED /* Sources */, + E2F7246D25005E89007D87ED /* Frameworks */, + E2F7246E25005E89007D87ED /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MonsterCards; + productName = MonsterCards; + productReference = E2F7247025005E89007D87ED /* MonsterCards.app */; + productType = "com.apple.product-type.application"; + }; + E2F7249025005E8A007D87ED /* MonsterCardsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E2F724A825005E8A007D87ED /* Build configuration list for PBXNativeTarget "MonsterCardsTests" */; + buildPhases = ( + E2F7248D25005E8A007D87ED /* Sources */, + E2F7248E25005E8A007D87ED /* Frameworks */, + E2F7248F25005E8A007D87ED /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + E2F7249325005E8A007D87ED /* PBXTargetDependency */, + ); + name = MonsterCardsTests; + productName = MonsterCardsTests; + productReference = E2F7249125005E8A007D87ED /* MonsterCardsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + E2F7249B25005E8A007D87ED /* MonsterCardsUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E2F724AB25005E8A007D87ED /* Build configuration list for PBXNativeTarget "MonsterCardsUITests" */; + buildPhases = ( + E2F7249825005E8A007D87ED /* Sources */, + E2F7249925005E8A007D87ED /* Frameworks */, + E2F7249A25005E8A007D87ED /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + E2F7249E25005E8A007D87ED /* PBXTargetDependency */, + ); + name = MonsterCardsUITests; + productName = MonsterCardsUITests; + productReference = E2F7249C25005E8A007D87ED /* MonsterCardsUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E2F7246825005E89007D87ED /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1170; + ORGANIZATIONNAME = "Tom Hicks"; + TargetAttributes = { + E2F7246F25005E89007D87ED = { + CreatedOnToolsVersion = 11.7; + }; + E2F7249025005E8A007D87ED = { + CreatedOnToolsVersion = 11.7; + TestTargetID = E2F7246F25005E89007D87ED; + }; + E2F7249B25005E8A007D87ED = { + CreatedOnToolsVersion = 11.7; + TestTargetID = E2F7246F25005E89007D87ED; + }; + }; + }; + buildConfigurationList = E2F7246B25005E89007D87ED /* Build configuration list for PBXProject "MonsterCards" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = E2F7246725005E89007D87ED; + productRefGroup = E2F7247125005E89007D87ED /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E2F7246F25005E89007D87ED /* MonsterCards */, + E2F7249025005E8A007D87ED /* MonsterCardsTests */, + E2F7249B25005E8A007D87ED /* MonsterCardsUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + E2F7246E25005E89007D87ED /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E2F7248925005E8A007D87ED /* LaunchScreen.storyboard in Resources */, + E2F7248625005E8A007D87ED /* Assets.xcassets in Resources */, + E2F7248125005E89007D87ED /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E2F7248F25005E8A007D87ED /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E2F7249A25005E8A007D87ED /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E2F7246C25005E89007D87ED /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E2F7247E25005E89007D87ED /* SecondViewController.m in Sources */, + E2F7247525005E89007D87ED /* AppDelegate.m in Sources */, + E2F7247B25005E89007D87ED /* FirstViewController.m in Sources */, + E2F7248425005E89007D87ED /* MonsterCards.xcdatamodeld in Sources */, + E2F7248C25005E8A007D87ED /* main.m in Sources */, + E2F7247825005E89007D87ED /* SceneDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E2F7248D25005E8A007D87ED /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E2F7249625005E8A007D87ED /* MonsterCardsTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E2F7249825005E8A007D87ED /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E2F724A125005E8A007D87ED /* MonsterCardsUITests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + E2F7249325005E8A007D87ED /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E2F7246F25005E89007D87ED /* MonsterCards */; + targetProxy = E2F7249225005E8A007D87ED /* PBXContainerItemProxy */; + }; + E2F7249E25005E8A007D87ED /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E2F7246F25005E89007D87ED /* MonsterCards */; + targetProxy = E2F7249D25005E8A007D87ED /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + E2F7247F25005E89007D87ED /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E2F7248025005E89007D87ED /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + E2F7248725005E8A007D87ED /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E2F7248825005E8A007D87ED /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + E2F724A325005E8A007D87ED /* 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.7; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + E2F724A425005E8A007D87ED /* 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.7; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + E2F724A625005E8A007D87ED /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = J793L9LQJ2; + INFOPLIST_FILE = MonsterCards/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.majinnaibu.monstercards.MonsterCards; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + E2F724A725005E8A007D87ED /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = J793L9LQJ2; + INFOPLIST_FILE = MonsterCards/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.majinnaibu.monstercards.MonsterCards; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + E2F724A925005E8A007D87ED /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = J793L9LQJ2; + INFOPLIST_FILE = MonsterCardsTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.7; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.majinnaibu.monstercards.MonsterCardsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MonsterCards.app/MonsterCards"; + }; + name = Debug; + }; + E2F724AA25005E8A007D87ED /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = J793L9LQJ2; + INFOPLIST_FILE = MonsterCardsTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.7; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.majinnaibu.monstercards.MonsterCardsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MonsterCards.app/MonsterCards"; + }; + name = Release; + }; + E2F724AC25005E8A007D87ED /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = J793L9LQJ2; + INFOPLIST_FILE = MonsterCardsUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.majinnaibu.monstercards.MonsterCardsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = MonsterCards; + }; + name = Debug; + }; + E2F724AD25005E8A007D87ED /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = J793L9LQJ2; + INFOPLIST_FILE = MonsterCardsUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.majinnaibu.monstercards.MonsterCardsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = MonsterCards; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E2F7246B25005E89007D87ED /* Build configuration list for PBXProject "MonsterCards" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E2F724A325005E8A007D87ED /* Debug */, + E2F724A425005E8A007D87ED /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E2F724A525005E8A007D87ED /* Build configuration list for PBXNativeTarget "MonsterCards" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E2F724A625005E8A007D87ED /* Debug */, + E2F724A725005E8A007D87ED /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E2F724A825005E8A007D87ED /* Build configuration list for PBXNativeTarget "MonsterCardsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E2F724A925005E8A007D87ED /* Debug */, + E2F724AA25005E8A007D87ED /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E2F724AB25005E8A007D87ED /* Build configuration list for PBXNativeTarget "MonsterCardsUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E2F724AC25005E8A007D87ED /* Debug */, + E2F724AD25005E8A007D87ED /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCVersionGroup section */ + E2F7248225005E89007D87ED /* MonsterCards.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + E2F7248325005E89007D87ED /* MonsterCards.xcdatamodel */, + ); + currentVersion = E2F7248325005E89007D87ED /* MonsterCards.xcdatamodel */; + path = MonsterCards.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; +/* End XCVersionGroup section */ + }; + rootObject = E2F7246825005E89007D87ED /* Project object */; +} diff --git a/MonsterCards.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MonsterCards.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..400440a --- /dev/null +++ b/MonsterCards.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MonsterCards.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/MonsterCards.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/MonsterCards.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/MonsterCards.xcodeproj/xcuserdata/tom.xcuserdatad/xcschemes/xcschememanagement.plist b/MonsterCards.xcodeproj/xcuserdata/tom.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f36fb5c --- /dev/null +++ b/MonsterCards.xcodeproj/xcuserdata/tom.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + MonsterCards.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/MonsterCards/AppDelegate.h b/MonsterCards/AppDelegate.h new file mode 100644 index 0000000..5518be8 --- /dev/null +++ b/MonsterCards/AppDelegate.h @@ -0,0 +1,20 @@ +// +// AppDelegate.h +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import +#import + +@interface AppDelegate : UIResponder + +@property (readonly, strong) NSPersistentCloudKitContainer *persistentContainer; + +- (void)saveContext; + + +@end + diff --git a/MonsterCards/AppDelegate.m b/MonsterCards/AppDelegate.m new file mode 100644 index 0000000..2a03e31 --- /dev/null +++ b/MonsterCards/AppDelegate.m @@ -0,0 +1,86 @@ +// +// AppDelegate.m +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + // Override point for customization after application launch. + return YES; +} + + +#pragma mark - UISceneSession lifecycle + + +- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role]; +} + + +- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet *)sceneSessions { + // 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. +} + + +#pragma mark - Core Data stack + +@synthesize persistentContainer = _persistentContainer; + +- (NSPersistentCloudKitContainer *)persistentContainer { + // The persistent container for the application. This implementation creates and returns a container, having loaded the store for the application to it. + @synchronized (self) { + if (_persistentContainer == nil) { + _persistentContainer = [[NSPersistentCloudKitContainer alloc] initWithName:@"MonsterCards"]; + [_persistentContainer loadPersistentStoresWithCompletionHandler:^(NSPersistentStoreDescription *storeDescription, NSError *error) { + if (error != nil) { + // Replace this implementation with code to handle the error appropriately. + // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. + + /* + Typical reasons for an error here include: + * The parent directory does not exist, cannot be created, or disallows writing. + * The persistent store is not accessible, due to permissions or data protection when the device is locked. + * The device is out of space. + * The store could not be migrated to the current model version. + Check the error message to determine what the actual problem was. + */ + NSLog(@"Unresolved error %@, %@", error, error.userInfo); + abort(); + } + }]; + } + } + + return _persistentContainer; +} + +#pragma mark - Core Data Saving support + +- (void)saveContext { + NSManagedObjectContext *context = self.persistentContainer.viewContext; + NSError *error = nil; + if ([context hasChanges] && ![context save:&error]) { + // Replace this implementation with code to handle the error appropriately. + // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. + NSLog(@"Unresolved error %@, %@", error, error.userInfo); + abort(); + } +} + +@end diff --git a/MonsterCards/Assets.xcassets/AppIcon.appiconset/Contents.json b/MonsterCards/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/MonsterCards/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MonsterCards/Assets.xcassets/Contents.json b/MonsterCards/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/MonsterCards/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/MonsterCards/Assets.xcassets/first.imageset/Contents.json b/MonsterCards/Assets.xcassets/first.imageset/Contents.json new file mode 100644 index 0000000..33a7451 --- /dev/null +++ b/MonsterCards/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/MonsterCards/Assets.xcassets/first.imageset/first.pdf b/MonsterCards/Assets.xcassets/first.imageset/first.pdf new file mode 100644 index 0000000..47d911d Binary files /dev/null and b/MonsterCards/Assets.xcassets/first.imageset/first.pdf differ diff --git a/MonsterCards/Assets.xcassets/second.imageset/Contents.json b/MonsterCards/Assets.xcassets/second.imageset/Contents.json new file mode 100644 index 0000000..03bd9c9 --- /dev/null +++ b/MonsterCards/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/MonsterCards/Assets.xcassets/second.imageset/second.pdf b/MonsterCards/Assets.xcassets/second.imageset/second.pdf new file mode 100644 index 0000000..401614e Binary files /dev/null and b/MonsterCards/Assets.xcassets/second.imageset/second.pdf differ diff --git a/MonsterCards/Base.lproj/LaunchScreen.storyboard b/MonsterCards/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/MonsterCards/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MonsterCards/Base.lproj/Main.storyboard b/MonsterCards/Base.lproj/Main.storyboard new file mode 100644 index 0000000..710644b --- /dev/null +++ b/MonsterCards/Base.lproj/Main.storyboard @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MonsterCards/FirstViewController.h b/MonsterCards/FirstViewController.h new file mode 100644 index 0000000..5230f4c --- /dev/null +++ b/MonsterCards/FirstViewController.h @@ -0,0 +1,15 @@ +// +// FirstViewController.h +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import + +@interface FirstViewController : UIViewController + + +@end + diff --git a/MonsterCards/FirstViewController.m b/MonsterCards/FirstViewController.m new file mode 100644 index 0000000..aea746b --- /dev/null +++ b/MonsterCards/FirstViewController.m @@ -0,0 +1,23 @@ +// +// FirstViewController.m +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import "FirstViewController.h" + +@interface FirstViewController () + +@end + +@implementation FirstViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + // Do any additional setup after loading the view. +} + + +@end diff --git a/MonsterCards/Info.plist b/MonsterCards/Info.plist new file mode 100644 index 0000000..af03792 --- /dev/null +++ b/MonsterCards/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 + 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/MonsterCards/MonsterCards.xcdatamodeld/.xccurrentversion b/MonsterCards/MonsterCards.xcdatamodeld/.xccurrentversion new file mode 100644 index 0000000..93079bf --- /dev/null +++ b/MonsterCards/MonsterCards.xcdatamodeld/.xccurrentversion @@ -0,0 +1,8 @@ + + + + + _XCCurrentVersionName + MonsterCards.xcdatamodel + + diff --git a/MonsterCards/MonsterCards.xcdatamodeld/MonsterCards.xcdatamodel/contents b/MonsterCards/MonsterCards.xcdatamodeld/MonsterCards.xcdatamodel/contents new file mode 100644 index 0000000..5d6f17b --- /dev/null +++ b/MonsterCards/MonsterCards.xcdatamodeld/MonsterCards.xcdatamodel/contents @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/MonsterCards/SceneDelegate.h b/MonsterCards/SceneDelegate.h new file mode 100644 index 0000000..267ed02 --- /dev/null +++ b/MonsterCards/SceneDelegate.h @@ -0,0 +1,16 @@ +// +// SceneDelegate.h +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import + +@interface SceneDelegate : UIResponder + +@property (strong, nonatomic) UIWindow * window; + +@end + diff --git a/MonsterCards/SceneDelegate.m b/MonsterCards/SceneDelegate.m new file mode 100644 index 0000000..5822c42 --- /dev/null +++ b/MonsterCards/SceneDelegate.m @@ -0,0 +1,62 @@ +// +// SceneDelegate.m +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import "SceneDelegate.h" +#import "AppDelegate.h" + +@interface SceneDelegate () + +@end + +@implementation SceneDelegate + + +- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)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). +} + + +- (void)sceneDidDisconnect:(UIScene *)scene { + // 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). +} + + +- (void)sceneDidBecomeActive:(UIScene *)scene { + // 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. +} + + +- (void)sceneWillResignActive:(UIScene *)scene { + // 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). +} + + +- (void)sceneWillEnterForeground:(UIScene *)scene { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. +} + + +- (void)sceneDidEnterBackground:(UIScene *)scene { + // 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. + + // Save changes in the application's managed object context when the application transitions to the background. + [(AppDelegate *)UIApplication.sharedApplication.delegate saveContext]; +} + + +@end diff --git a/MonsterCards/SecondViewController.h b/MonsterCards/SecondViewController.h new file mode 100644 index 0000000..ae9025c --- /dev/null +++ b/MonsterCards/SecondViewController.h @@ -0,0 +1,15 @@ +// +// SecondViewController.h +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import + +@interface SecondViewController : UIViewController + + +@end + diff --git a/MonsterCards/SecondViewController.m b/MonsterCards/SecondViewController.m new file mode 100644 index 0000000..7a77b12 --- /dev/null +++ b/MonsterCards/SecondViewController.m @@ -0,0 +1,23 @@ +// +// SecondViewController.m +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import "SecondViewController.h" + +@interface SecondViewController () + +@end + +@implementation SecondViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + // Do any additional setup after loading the view. +} + + +@end diff --git a/MonsterCards/main.m b/MonsterCards/main.m new file mode 100644 index 0000000..5ea591c --- /dev/null +++ b/MonsterCards/main.m @@ -0,0 +1,19 @@ +// +// main.m +// MonsterCards +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + NSString * appDelegateClassName; + @autoreleasepool { + // Setup code that might create autoreleased objects goes here. + appDelegateClassName = NSStringFromClass([AppDelegate class]); + } + return UIApplicationMain(argc, argv, nil, appDelegateClassName); +} diff --git a/MonsterCardsTests/Info.plist b/MonsterCardsTests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/MonsterCardsTests/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/MonsterCardsTests/MonsterCardsTests.m b/MonsterCardsTests/MonsterCardsTests.m new file mode 100644 index 0000000..c17a47c --- /dev/null +++ b/MonsterCardsTests/MonsterCardsTests.m @@ -0,0 +1,37 @@ +// +// MonsterCardsTests.m +// MonsterCardsTests +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import + +@interface MonsterCardsTests : XCTestCase + +@end + +@implementation MonsterCardsTests + +- (void)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. +} + +- (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/MonsterCardsUITests/Info.plist b/MonsterCardsUITests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/MonsterCardsUITests/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/MonsterCardsUITests/MonsterCardsUITests.m b/MonsterCardsUITests/MonsterCardsUITests.m new file mode 100644 index 0000000..ab20ba7 --- /dev/null +++ b/MonsterCardsUITests/MonsterCardsUITests.m @@ -0,0 +1,48 @@ +// +// MonsterCardsUITests.m +// MonsterCardsUITests +// +// Created by Tom Hicks on 9/2/20. +// Copyright © 2020 Tom Hicks. All rights reserved. +// + +#import + +@interface MonsterCardsUITests : XCTestCase + +@end + +@implementation MonsterCardsUITests + +- (void)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; + + // 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. +} + +- (void)testExample { + // UI tests must launch the application that they test. + XCUIApplication *app = [[XCUIApplication alloc] init]; + [app launch]; + + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +- (void)testLaunchPerformance { + if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, *)) { + // This measures how long it takes to launch your application. + [self measureWithMetrics:@[XCTOSSignpostMetric.applicationLaunchMetric] block:^{ + [[[XCUIApplication alloc] init] launch]; + }]; + } +} + +@end