From 98289bcee1a1860d772948a0541953e30db3923d Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 29 Jan 2013 13:02:02 -0700 Subject: [PATCH 1/3] assignment 1 First files --- .../project.pbxproj | 463 ++++++++++++++++++ .../iOS Assignment 1/CSCI494AppDelegate.h | 15 + .../iOS Assignment 1/CSCI494AppDelegate.m | 46 ++ .../iOS Assignment 1/CSCI494ViewController.h | 16 + .../iOS Assignment 1/CSCI494ViewController.m | 34 ++ .../iOS Assignment 1/Default-568h@2x.png | Bin 0 -> 18594 bytes .../iOS Assignment 1/Default.png | Bin 0 -> 6540 bytes .../iOS Assignment 1/Default@2x.png | Bin 0 -> 16107 bytes .../en.lproj/InfoPlist.strings | 2 + .../en.lproj/MainStoryboard.storyboard | 67 +++ .../iOS Assignment 1-Info.plist | 40 ++ .../iOS Assignment 1-Prefix.pch | 14 + .../iOS Assignment 1/iOS Assignment 1/main.m | 18 + .../en.lproj/InfoPlist.strings | 2 + .../iOS Assignment 1Tests-Info.plist | 22 + .../iOS_Assignment_1Tests.h | 13 + .../iOS_Assignment_1Tests.m | 32 ++ 17 files changed, 784 insertions(+) create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1.xcodeproj/project.pbxproj create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.h create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.m create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.h create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/Default-568h@2x.png create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/Default.png create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/Default@2x.png create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/MainStoryboard.storyboard create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Info.plist create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Prefix.pch create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1/main.m create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS Assignment 1Tests-Info.plist create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.h create mode 100644 Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.m diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1.xcodeproj/project.pbxproj b/Assignment 1/iOS Assignment 1/iOS Assignment 1.xcodeproj/project.pbxproj new file mode 100644 index 0000000..d947661 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1.xcodeproj/project.pbxproj @@ -0,0 +1,463 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C821067316B75AA700650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821067216B75AA700650F12 /* UIKit.framework */; }; + C821067516B75AA700650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821067416B75AA700650F12 /* Foundation.framework */; }; + C821067716B75AA700650F12 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821067616B75AA700650F12 /* CoreGraphics.framework */; }; + C821067D16B75AA700650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C821067B16B75AA700650F12 /* InfoPlist.strings */; }; + C821067F16B75AA700650F12 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C821067E16B75AA700650F12 /* main.m */; }; + C821068316B75AA700650F12 /* CSCI494AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C821068216B75AA700650F12 /* CSCI494AppDelegate.m */; }; + C821068516B75AA700650F12 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C821068416B75AA700650F12 /* Default.png */; }; + C821068716B75AA700650F12 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C821068616B75AA700650F12 /* Default@2x.png */; }; + C821068916B75AA700650F12 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C821068816B75AA700650F12 /* Default-568h@2x.png */; }; + C821068C16B75AA700650F12 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C821068A16B75AA700650F12 /* MainStoryboard.storyboard */; }; + C821068F16B75AA700650F12 /* CSCI494ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C821068E16B75AA700650F12 /* CSCI494ViewController.m */; }; + C821069716B75AA800650F12 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821069616B75AA800650F12 /* SenTestingKit.framework */; }; + C821069816B75AA800650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821067216B75AA700650F12 /* UIKit.framework */; }; + C821069916B75AA800650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821067416B75AA700650F12 /* Foundation.framework */; }; + C82106A116B75AA800650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C821069F16B75AA800650F12 /* InfoPlist.strings */; }; + C82106A416B75AA800650F12 /* iOS_Assignment_1Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = C82106A316B75AA800650F12 /* iOS_Assignment_1Tests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + C821069A16B75AA800650F12 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C821066516B75AA700650F12 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C821066D16B75AA700650F12; + remoteInfo = "iOS Assignment 1"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + C821066E16B75AA700650F12 /* iOS Assignment 1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Assignment 1.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + C821067216B75AA700650F12 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + C821067416B75AA700650F12 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + C821067616B75AA700650F12 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + C821067A16B75AA700650F12 /* iOS Assignment 1-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS Assignment 1-Info.plist"; sourceTree = ""; }; + C821067C16B75AA700650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C821067E16B75AA700650F12 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + C821068016B75AA700650F12 /* iOS Assignment 1-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOS Assignment 1-Prefix.pch"; sourceTree = ""; }; + C821068116B75AA700650F12 /* CSCI494AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494AppDelegate.h; sourceTree = ""; }; + C821068216B75AA700650F12 /* CSCI494AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494AppDelegate.m; sourceTree = ""; }; + C821068416B75AA700650F12 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + C821068616B75AA700650F12 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + C821068816B75AA700650F12 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + C821068B16B75AA700650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = ""; }; + C821068D16B75AA700650F12 /* CSCI494ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494ViewController.h; sourceTree = ""; }; + C821068E16B75AA700650F12 /* CSCI494ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494ViewController.m; sourceTree = ""; }; + C821069516B75AA800650F12 /* iOS Assignment 1Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS Assignment 1Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; + C821069616B75AA800650F12 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + C821069E16B75AA800650F12 /* iOS Assignment 1Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS Assignment 1Tests-Info.plist"; sourceTree = ""; }; + C82106A016B75AA800650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C82106A216B75AA800650F12 /* iOS_Assignment_1Tests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOS_Assignment_1Tests.h; sourceTree = ""; }; + C82106A316B75AA800650F12 /* iOS_Assignment_1Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOS_Assignment_1Tests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C821066B16B75AA700650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C821067316B75AA700650F12 /* UIKit.framework in Frameworks */, + C821067516B75AA700650F12 /* Foundation.framework in Frameworks */, + C821067716B75AA700650F12 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C821069116B75AA800650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C821069716B75AA800650F12 /* SenTestingKit.framework in Frameworks */, + C821069816B75AA800650F12 /* UIKit.framework in Frameworks */, + C821069916B75AA800650F12 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C821066316B75AA700650F12 = { + isa = PBXGroup; + children = ( + C821067816B75AA700650F12 /* iOS Assignment 1 */, + C821069C16B75AA800650F12 /* iOS Assignment 1Tests */, + C821067116B75AA700650F12 /* Frameworks */, + C821066F16B75AA700650F12 /* Products */, + ); + sourceTree = ""; + }; + C821066F16B75AA700650F12 /* Products */ = { + isa = PBXGroup; + children = ( + C821066E16B75AA700650F12 /* iOS Assignment 1.app */, + C821069516B75AA800650F12 /* iOS Assignment 1Tests.octest */, + ); + name = Products; + sourceTree = ""; + }; + C821067116B75AA700650F12 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C821067216B75AA700650F12 /* UIKit.framework */, + C821067416B75AA700650F12 /* Foundation.framework */, + C821067616B75AA700650F12 /* CoreGraphics.framework */, + C821069616B75AA800650F12 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + C821067816B75AA700650F12 /* iOS Assignment 1 */ = { + isa = PBXGroup; + children = ( + C821068116B75AA700650F12 /* CSCI494AppDelegate.h */, + C821068216B75AA700650F12 /* CSCI494AppDelegate.m */, + C821068A16B75AA700650F12 /* MainStoryboard.storyboard */, + C821068D16B75AA700650F12 /* CSCI494ViewController.h */, + C821068E16B75AA700650F12 /* CSCI494ViewController.m */, + C821067916B75AA700650F12 /* Supporting Files */, + ); + path = "iOS Assignment 1"; + sourceTree = ""; + }; + C821067916B75AA700650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C821067A16B75AA700650F12 /* iOS Assignment 1-Info.plist */, + C821067B16B75AA700650F12 /* InfoPlist.strings */, + C821067E16B75AA700650F12 /* main.m */, + C821068016B75AA700650F12 /* iOS Assignment 1-Prefix.pch */, + C821068416B75AA700650F12 /* Default.png */, + C821068616B75AA700650F12 /* Default@2x.png */, + C821068816B75AA700650F12 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + C821069C16B75AA800650F12 /* iOS Assignment 1Tests */ = { + isa = PBXGroup; + children = ( + C82106A216B75AA800650F12 /* iOS_Assignment_1Tests.h */, + C82106A316B75AA800650F12 /* iOS_Assignment_1Tests.m */, + C821069D16B75AA800650F12 /* Supporting Files */, + ); + path = "iOS Assignment 1Tests"; + sourceTree = ""; + }; + C821069D16B75AA800650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C821069E16B75AA800650F12 /* iOS Assignment 1Tests-Info.plist */, + C821069F16B75AA800650F12 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C821066D16B75AA700650F12 /* iOS Assignment 1 */ = { + isa = PBXNativeTarget; + buildConfigurationList = C82106A716B75AA800650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment 1" */; + buildPhases = ( + C821066A16B75AA700650F12 /* Sources */, + C821066B16B75AA700650F12 /* Frameworks */, + C821066C16B75AA700650F12 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "iOS Assignment 1"; + productName = "iOS Assignment 1"; + productReference = C821066E16B75AA700650F12 /* iOS Assignment 1.app */; + productType = "com.apple.product-type.application"; + }; + C821069416B75AA800650F12 /* iOS Assignment 1Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = C82106AA16B75AA800650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment 1Tests" */; + buildPhases = ( + C821069016B75AA800650F12 /* Sources */, + C821069116B75AA800650F12 /* Frameworks */, + C821069216B75AA800650F12 /* Resources */, + C821069316B75AA800650F12 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + C821069B16B75AA800650F12 /* PBXTargetDependency */, + ); + name = "iOS Assignment 1Tests"; + productName = "iOS Assignment 1Tests"; + productReference = C821069516B75AA800650F12 /* iOS Assignment 1Tests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C821066516B75AA700650F12 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = CSCI494; + LastUpgradeCheck = 0450; + ORGANIZATIONNAME = "Andrew Wilson"; + }; + buildConfigurationList = C821066816B75AA700650F12 /* Build configuration list for PBXProject "iOS Assignment 1" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = C821066316B75AA700650F12; + productRefGroup = C821066F16B75AA700650F12 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C821066D16B75AA700650F12 /* iOS Assignment 1 */, + C821069416B75AA800650F12 /* iOS Assignment 1Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C821066C16B75AA700650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821067D16B75AA700650F12 /* InfoPlist.strings in Resources */, + C821068516B75AA700650F12 /* Default.png in Resources */, + C821068716B75AA700650F12 /* Default@2x.png in Resources */, + C821068916B75AA700650F12 /* Default-568h@2x.png in Resources */, + C821068C16B75AA700650F12 /* MainStoryboard.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C821069216B75AA800650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C82106A116B75AA800650F12 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + C821069316B75AA800650F12 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C821066A16B75AA700650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821067F16B75AA700650F12 /* main.m in Sources */, + C821068316B75AA700650F12 /* CSCI494AppDelegate.m in Sources */, + C821068F16B75AA700650F12 /* CSCI494ViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C821069016B75AA800650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C82106A416B75AA800650F12 /* iOS_Assignment_1Tests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + C821069B16B75AA800650F12 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C821066D16B75AA700650F12 /* iOS Assignment 1 */; + targetProxy = C821069A16B75AA800650F12 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + C821067B16B75AA700650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C821067C16B75AA700650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + C821068A16B75AA700650F12 /* MainStoryboard.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C821068B16B75AA700650F12 /* en */, + ); + name = MainStoryboard.storyboard; + sourceTree = ""; + }; + C821069F16B75AA800650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C82106A016B75AA800650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C82106A516B75AA800650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + C82106A616B75AA800650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C82106A816B75AA800650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 1/iOS Assignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 1/iOS Assignment 1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C82106A916B75AA800650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 1/iOS Assignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 1/iOS Assignment 1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C82106AB16B75AA800650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOS Assignment 1.app/iOS Assignment 1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 1/iOS Assignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 1Tests/iOS Assignment 1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + C82106AC16B75AA800650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOS Assignment 1.app/iOS Assignment 1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 1/iOS Assignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 1Tests/iOS Assignment 1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C821066816B75AA700650F12 /* Build configuration list for PBXProject "iOS Assignment 1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C82106A516B75AA800650F12 /* Debug */, + C82106A616B75AA800650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C82106A716B75AA800650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment 1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C82106A816B75AA800650F12 /* Debug */, + C82106A916B75AA800650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + C82106AA16B75AA800650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment 1Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C82106AB16B75AA800650F12 /* Debug */, + C82106AC16B75AA800650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = C821066516B75AA700650F12 /* Project object */; +} diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.h b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.h new file mode 100644 index 0000000..46d8571 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.h @@ -0,0 +1,15 @@ +// +// CSCI494AppDelegate.h +// iOS Assignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.m b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.m new file mode 100644 index 0000000..50347d0 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494AppDelegate.m @@ -0,0 +1,46 @@ +// +// CSCI494AppDelegate.m +// iOS Assignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494AppDelegate.h" + +@implementation CSCI494AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.h b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.h new file mode 100644 index 0000000..4bba930 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.h @@ -0,0 +1,16 @@ +// +// CSCI494ViewController.h +// iOS Assignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494ViewController : UIViewController +@property (weak, nonatomic) IBOutlet UILabel *label; + +- (IBAction)wonderfulbutton:(id)sender; + +@end diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m new file mode 100644 index 0000000..dadf8c8 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m @@ -0,0 +1,34 @@ +// +// CSCI494ViewController.m +// iOS Assignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494ViewController.h" + +@interface CSCI494ViewController () + +@end + +@implementation CSCI494ViewController + +- (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. +} + +- (IBAction)wonderfulbutton:(id)sender { + + NSString *wonderful = [[NSString alloc] initWithFormat:@"WONDERFUL!!!!!!"]; + self.label.text = wonderful; +} +@end diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default-568h@2x.png b/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default-568h@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0891b7aabfcf3422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-F_-b?YKdfk5I8MHcuzBD5)!;yv#Z&R&^y=@=>VTIMy#r zX&U<=BsPkdqcMe<_}2+>H%XKyrr5ZR8_KVe>ZqYN z^=^~TFD};;rHJ$U;{~w^hYojl4hRI@SH$^K{YEo=sg)WY87r!*7blQK&qnpDo0`Vn zkl)9u9g=mCh&ZCJS(L4yN3k0kQ zuvg$h2KEEk51T+O0JQ+r0`R>g{jvqM0Mr6d3qUOZwE!?PI7HY@CE|dr sfw?Q;rAv?G4&^^8-z_>&sWXMxvD*gPOU4CBe-*@OtE+wfmVJNyHv)PfH~;_u literal 0 HcmV?d00001 diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default.png b/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default.png new file mode 100644 index 0000000000000000000000000000000000000000..4c8ca6f693f96d511e9113c0eb59eec552354e42 GIT binary patch literal 6540 zcmeAS@N?(olHy`uVBq!ia0y~yU~~ZD2OMlbkt;o0To@QwR5G2N13aCb6#|O#(=u~X z85k@CTSM>X-wqM6>&y>YB4)1;;ojbLbbV-W^iFB1wa3^zCog^LCAReC4K0-?R_2{6 zrP*)4+_uWUy3w5N52M3PW_}MFMP9a~>YLvVZ1D_k*IMQ2QT^fwzoOb(*3gH$%aYWC zkHmcab=va2<#X%jakpJ;<1@F;k__#bwtC&%^D0v(FBh9K&$sK+<}2RJS609D)17$w ztdQP8(eLM8Ka}m_IQ@3wyMKP)l=oM4-?`YS_*P?4V_ORLPxsj&7Ju#kH;>6^Kp?T7~ zl+q?{UOOqV==?+d{=)5s|M~T1mwtH@+Z^$G&eEO9JNP^AX@3jZ*J*!!>lc|1-W%fA z@AOQpXZ_Lt>rxFXrGp*zLPiW@uo_c7C{As>j zWeX)wi+LTp_)@KYZCX{j;H?|1yXT4DnlS(Fr8gyP5|uaX_gLvaW0ScZdnG7o+u{T6 zFI-%d{ls*WuCDa5UJ@|RXv&ejZe}*BMkiWY51&pnRPw(hlykSzvj6e%mYz-GdvzBD zF10?szF_~!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n@VKC_|h3jlKVM&-jmyMavllcYr`6LVtfq2ou zd+8zkkCB+2)rxq0Lkq_&Ad@g(O8;pAm96>tu79?81T@Z<;gm^3ZtPG-SR94Mr<3tm z9NrR3u*4I5aMlo(09g@8m_;%Rf+XiSa_KZao9n}7N0JrsV#;5Ucr+F*TTzQ8{%f3O zeIUy?WDS|-$LvMc@Z7320)tr}bfIka5hx9H;8H|%our=C+Do0CSFRWue14o5#r8v2 zw=|&r4*eMX%lgCV(ka?*j%H^UuP4LmBC(ON`)&7>NF-|PDRU{-7o`CU0HNbd&c~))@yl9IKu_ zXA+A-!khpP_yx=f#qt2_0ptmgBf4gF!{Y)MW6R$cC1d7@$Yb?+_j zYwfE^5_e`vhT zX=u3r>4$fsxP&apbm@Rcbyuc2T=giqZiMo9@9=oua6#YH0hO-1ak9^rJTPMM qY4Yr5Cu^v99p{E9VdroUHKlRW;M8#BJ^AOQE?e9wSHJo8(7yq;BYKSh literal 0 HcmV?d00001 diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/InfoPlist.strings b/Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/MainStoryboard.storyboard b/Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/MainStoryboard.storyboard new file mode 100644 index 0000000..664313b --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/en.lproj/MainStoryboard.storyboard @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Info.plist b/Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Info.plist new file mode 100644 index 0000000..d5c5f57 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + MainStoryboard + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Prefix.pch b/Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Prefix.pch new file mode 100644 index 0000000..3c57977 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/iOS Assignment 1-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'iOS Assignment 1' target in the 'iOS Assignment 1' project +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/main.m b/Assignment 1/iOS Assignment 1/iOS Assignment 1/main.m new file mode 100644 index 0000000..ebb50f6 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/main.m @@ -0,0 +1,18 @@ +// +// main.m +// iOS Assignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +#import "CSCI494AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CSCI494AppDelegate class])); + } +} diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/en.lproj/InfoPlist.strings b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS Assignment 1Tests-Info.plist b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS Assignment 1Tests-Info.plist new file mode 100644 index 0000000..7a162f6 --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS Assignment 1Tests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.h b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.h new file mode 100644 index 0000000..f06cd5e --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.h @@ -0,0 +1,13 @@ +// +// iOS_Assignment_1Tests.h +// iOS Assignment 1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface iOS_Assignment_1Tests : SenTestCase + +@end diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.m b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.m new file mode 100644 index 0000000..43d909c --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1Tests/iOS_Assignment_1Tests.m @@ -0,0 +1,32 @@ +// +// iOS_Assignment_1Tests.m +// iOS Assignment 1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "iOS_Assignment_1Tests.h" + +@implementation iOS_Assignment_1Tests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in iOS Assignment 1Tests"); +} + +@end From 9b1c9c013eecdc90f83d7300cc7cfc955d6e50c3 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 4 Feb 2013 17:18:22 -0700 Subject: [PATCH 2/3] Assignment 2 Assignment 2 --- .../iOS Assignment 1/CSCI494ViewController.m | 1 + .../iOS Assignment1.xcodeproj/project.pbxproj | 474 +++++++++++++++++ .../iOS Assignment1/CSCI494AppDelegate.h | 22 + .../iOS Assignment1/CSCI494AppDelegate.m | 149 ++++++ .../iOS Assignment1/Default-568h@2x.png | Bin 0 -> 18594 bytes .../iOS Assignment1/Default.png | Bin 0 -> 6540 bytes .../iOS Assignment1/Default@2x.png | Bin 0 -> 16107 bytes .../iOS Assignment1/Storyboard.storyboard | 56 ++ .../en.lproj/InfoPlist.strings | 2 + .../iOS Assignment1-Info.plist | 36 ++ .../iOS Assignment1-Prefix.pch | 15 + .../.xccurrentversion | 8 + .../iOS_Assignment1.xcdatamodel/contents | 4 + .../iOS Assignment1/iOS Assignment1/main.m | 18 + .../en.lproj/InfoPlist.strings | 2 + .../iOS Assignment1Tests-Info.plist | 22 + .../iOS_Assignment1Tests.h | 13 + .../iOS_Assignment1Tests.m | 32 ++ .../iOSAssignment 1.xcodeproj/project.pbxproj | 463 ++++++++++++++++ .../iOSAssignment 1/CSCI494AppDelegate.h | 15 + .../iOSAssignment 1/CSCI494AppDelegate.m | 46 ++ .../iOSAssignment 1/CSCI494ViewController.h | 15 + .../iOSAssignment 1/CSCI494ViewController.m | 13 + .../iOSAssignment 1/Default-568h@2x.png | Bin 0 -> 18594 bytes .../iOSAssignment 1/Default.png | Bin 0 -> 6540 bytes .../iOSAssignment 1/Default@2x.png | Bin 0 -> 16107 bytes .../en.lproj/InfoPlist.strings | 2 + .../en.lproj/MainStoryboard.storyboard | 68 +++ .../iOSAssignment 1-Info.plist | 40 ++ .../iOSAssignment 1-Prefix.pch | 14 + .../iOSAssignment 1/iOSAssignment 1/main.m | 18 + .../en.lproj/InfoPlist.strings | 2 + .../iOSAssignment 1Tests-Info.plist | 22 + .../iOSAssignment_1Tests.h | 13 + .../iOSAssignment_1Tests.m | 32 ++ .../iOSAssignment1.xcodeproj/project.pbxproj | 469 +++++++++++++++++ .../iOSAssignment1/CSCI494AppDelegate.h | 15 + .../iOSAssignment1/CSCI494AppDelegate.m | 46 ++ .../CSCI494FlipsideViewController.h | 23 + .../CSCI494FlipsideViewController.m | 36 ++ .../CSCI494MainViewController.h | 13 + .../CSCI494MainViewController.m | 43 ++ .../iOSAssignment1/Default-568h@2x.png | Bin 0 -> 18594 bytes .../iOSAssignment1/iOSAssignment1/Default.png | Bin 0 -> 6540 bytes .../iOSAssignment1/Default@2x.png | Bin 0 -> 16107 bytes .../iOSAssignment1/en.lproj/InfoPlist.strings | 2 + .../en.lproj/MainStoryboard.storyboard | 106 ++++ .../iOSAssignment1/iOSAssignment1-Info.plist | 50 ++ .../iOSAssignment1/iOSAssignment1-Prefix.pch | 14 + .../iOSAssignment1/iOSAssignment1/main.m | 18 + .../en.lproj/InfoPlist.strings | 2 + .../iOSAssignment1Tests-Info.plist | 22 + .../iOSAssignment1Tests/iOSAssignment1Tests.h | 13 + .../iOSAssignment1Tests/iOSAssignment1Tests.m | 32 ++ .../Flipside Test.xcodeproj/project.pbxproj | 492 ++++++++++++++++++ .../Flipside Test/CSCI494AppDelegate.h | 22 + .../Flipside Test/CSCI494AppDelegate.m | 150 ++++++ .../CSCI494FlipsideViewController.h | 33 ++ .../CSCI494FlipsideViewController.m | 94 ++++ .../Flipside Test/CSCI494MainViewController.h | 17 + .../Flipside Test/CSCI494MainViewController.m | 43 ++ .../Flipside Test/Default-568h@2x.png | Bin 0 -> 18594 bytes .../Flipside Test/Flipside Test/Default.png | Bin 0 -> 6540 bytes .../Flipside Test/Default@2x.png | Bin 0 -> 16107 bytes .../Flipside Test/Flipside Test-Info.plist | 50 ++ .../Flipside Test/Flipside Test-Prefix.pch | 15 + .../.xccurrentversion | 8 + .../Flipside_Test.xcdatamodel/contents | 4 + .../Flipside Test/en.lproj/InfoPlist.strings | 2 + .../en.lproj/MainStoryboard.storyboard | 157 ++++++ .../Flipside Test/Flipside Test/main.m | 18 + .../Flipside TestTests-Info.plist | 22 + .../Flipside TestTests/Flipside_TestTests.h | 13 + .../Flipside TestTests/Flipside_TestTests.m | 32 ++ .../en.lproj/InfoPlist.strings | 2 + .../project.pbxproj | 465 +++++++++++++++++ .../iOS Assignment 2/CSCI494AppDelegate.h | 15 + .../iOS Assignment 2/CSCI494AppDelegate.m | 46 ++ .../CSCI494ChildViewController.h | 23 + .../CSCI494ChildViewController.m | 41 ++ .../CSCI494ChildViewController.xib | 116 +++++ .../CSCI494FlipsideViewController.h | 23 + .../CSCI494FlipsideViewController.m | 41 ++ .../CSCI494MainViewController.h | 17 + .../CSCI494MainViewController.m | 43 ++ .../iOS Assignment 2/CSCI494ViewController.h | 13 + .../iOS Assignment 2/CSCI494ViewController.m | 29 ++ .../iOS Assignment 2/Default-568h@2x.png | Bin 0 -> 18594 bytes .../iOS Assignment 2/Default.png | Bin 0 -> 6540 bytes .../iOS Assignment 2/Default@2x.png | Bin 0 -> 16107 bytes .../iOS Assignment 2/DrawController.h | 16 + .../en.lproj/InfoPlist.strings | 2 + .../en.lproj/MainStoryboard.storyboard | 40 ++ .../iOS Assignment 2-Info.plist | 40 ++ .../iOS Assignment 2-Prefix.pch | 14 + .../.xccurrentversion | 8 + .../iOS_Assignment_2.xcdatamodel/contents | 4 + .../iOS Assignment 2/iOS Assignment 2/main.m | 18 + .../en.lproj/InfoPlist.strings | 2 + .../iOS Assignment 2Tests-Info.plist | 22 + .../iOS_Assignment_2Tests.h | 13 + .../iOS_Assignment_2Tests.m | 32 ++ 102 files changed, 4778 insertions(+) create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1.xcodeproj/project.pbxproj create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.h create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.m create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/Default-568h@2x.png create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/Default.png create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/Default@2x.png create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/Storyboard.storyboard create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Info.plist create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Prefix.pch create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/.xccurrentversion create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/iOS_Assignment1.xcdatamodel/contents create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1/main.m create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1Tests/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS Assignment1Tests-Info.plist create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.h create mode 100644 Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.m create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1.xcodeproj/project.pbxproj create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.h create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.m create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.h create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.m create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/Default-568h@2x.png create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/Default.png create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/Default@2x.png create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/MainStoryboard.storyboard create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Info.plist create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Prefix.pch create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1/main.m create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment 1Tests-Info.plist create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.h create mode 100644 Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.m create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1.xcodeproj/project.pbxproj create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.h create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.m create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.h create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.m create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.h create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.m create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/Default-568h@2x.png create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/Default.png create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/Default@2x.png create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/MainStoryboard.storyboard create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Info.plist create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Prefix.pch create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1/main.m create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1Tests/en.lproj/InfoPlist.strings create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests-Info.plist create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.h create mode 100644 Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.m create mode 100644 Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj create mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h create mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m create mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h create mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m create mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h create mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m create mode 100644 Assignment 2/Flipside Test/Flipside Test/Default-568h@2x.png create mode 100644 Assignment 2/Flipside Test/Flipside Test/Default.png create mode 100644 Assignment 2/Flipside Test/Flipside Test/Default@2x.png create mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside Test-Info.plist create mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch create mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion create mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents create mode 100644 Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings create mode 100644 Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard create mode 100644 Assignment 2/Flipside Test/Flipside Test/main.m create mode 100644 Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist create mode 100644 Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h create mode 100644 Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m create mode 100644 Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2.xcodeproj/project.pbxproj create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.h create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.m create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.h create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.m create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.xib create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.h create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.m create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.h create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.m create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.h create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.m create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/Default-568h@2x.png create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/Default.png create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/Default@2x.png create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/DrawController.h create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/InfoPlist.strings create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/MainStoryboard.storyboard create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Info.plist create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Prefix.pch create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/.xccurrentversion create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/iOS_Assignment_2.xcdatamodel/contents create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2/main.m create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/en.lproj/InfoPlist.strings create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS Assignment 2Tests-Info.plist create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.h create mode 100644 Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.m diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m index dadf8c8..bdfc7ce 100644 --- a/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m @@ -26,6 +26,7 @@ - (void)didReceiveMemoryWarning // Dispose of any resources that can be recreated. } + - (IBAction)wonderfulbutton:(id)sender { NSString *wonderful = [[NSString alloc] initWithFormat:@"WONDERFUL!!!!!!"]; diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1.xcodeproj/project.pbxproj b/Assignment 1/iOS Assignment1/iOS Assignment1.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0c51e62 --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1.xcodeproj/project.pbxproj @@ -0,0 +1,474 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C82105DD16B74DAD00650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105DC16B74DAD00650F12 /* UIKit.framework */; }; + C82105DF16B74DAD00650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105DE16B74DAD00650F12 /* Foundation.framework */; }; + C82105E116B74DAD00650F12 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105E016B74DAD00650F12 /* CoreGraphics.framework */; }; + C82105E316B74DAD00650F12 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105E216B74DAD00650F12 /* CoreData.framework */; }; + C82105E916B74DAD00650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C82105E716B74DAD00650F12 /* InfoPlist.strings */; }; + C82105EB16B74DAD00650F12 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C82105EA16B74DAD00650F12 /* main.m */; }; + C82105EF16B74DAD00650F12 /* CSCI494AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C82105EE16B74DAD00650F12 /* CSCI494AppDelegate.m */; }; + C82105F116B74DAD00650F12 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C82105F016B74DAD00650F12 /* Default.png */; }; + C82105F316B74DAD00650F12 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C82105F216B74DAD00650F12 /* Default@2x.png */; }; + C82105F516B74DAD00650F12 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C82105F416B74DAD00650F12 /* Default-568h@2x.png */; }; + C82105F816B74DAD00650F12 /* iOS_Assignment1.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = C82105F616B74DAD00650F12 /* iOS_Assignment1.xcdatamodeld */; }; + C821060016B74DAD00650F12 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105FF16B74DAD00650F12 /* SenTestingKit.framework */; }; + C821060116B74DAD00650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105DC16B74DAD00650F12 /* UIKit.framework */; }; + C821060216B74DAD00650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105DE16B74DAD00650F12 /* Foundation.framework */; }; + C821060316B74DAD00650F12 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105E216B74DAD00650F12 /* CoreData.framework */; }; + C821060B16B74DAD00650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C821060916B74DAD00650F12 /* InfoPlist.strings */; }; + C821060E16B74DAD00650F12 /* iOS_Assignment1Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = C821060D16B74DAD00650F12 /* iOS_Assignment1Tests.m */; }; + C821061816B74E4C00650F12 /* Storyboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C821061716B74E4C00650F12 /* Storyboard.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + C821060416B74DAD00650F12 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C82105CF16B74DAD00650F12 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C82105D716B74DAD00650F12; + remoteInfo = "iOS Assignment1"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + C82105D816B74DAD00650F12 /* iOS Assignment1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Assignment1.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + C82105DC16B74DAD00650F12 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + C82105DE16B74DAD00650F12 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + C82105E016B74DAD00650F12 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + C82105E216B74DAD00650F12 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + C82105E616B74DAD00650F12 /* iOS Assignment1-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS Assignment1-Info.plist"; sourceTree = ""; }; + C82105E816B74DAD00650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C82105EA16B74DAD00650F12 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + C82105EC16B74DAD00650F12 /* iOS Assignment1-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOS Assignment1-Prefix.pch"; sourceTree = ""; }; + C82105ED16B74DAD00650F12 /* CSCI494AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494AppDelegate.h; sourceTree = ""; }; + C82105EE16B74DAD00650F12 /* CSCI494AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494AppDelegate.m; sourceTree = ""; }; + C82105F016B74DAD00650F12 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + C82105F216B74DAD00650F12 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + C82105F416B74DAD00650F12 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + C82105F716B74DAD00650F12 /* iOS_Assignment1.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = iOS_Assignment1.xcdatamodel; sourceTree = ""; }; + C82105FE16B74DAD00650F12 /* iOS Assignment1Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS Assignment1Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; + C82105FF16B74DAD00650F12 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + C821060816B74DAD00650F12 /* iOS Assignment1Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS Assignment1Tests-Info.plist"; sourceTree = ""; }; + C821060A16B74DAD00650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C821060C16B74DAD00650F12 /* iOS_Assignment1Tests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOS_Assignment1Tests.h; sourceTree = ""; }; + C821060D16B74DAD00650F12 /* iOS_Assignment1Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOS_Assignment1Tests.m; sourceTree = ""; }; + C821061716B74E4C00650F12 /* Storyboard.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Storyboard.storyboard; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C82105D516B74DAD00650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C82105DD16B74DAD00650F12 /* UIKit.framework in Frameworks */, + C82105DF16B74DAD00650F12 /* Foundation.framework in Frameworks */, + C82105E116B74DAD00650F12 /* CoreGraphics.framework in Frameworks */, + C82105E316B74DAD00650F12 /* CoreData.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C82105FA16B74DAD00650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C821060016B74DAD00650F12 /* SenTestingKit.framework in Frameworks */, + C821060116B74DAD00650F12 /* UIKit.framework in Frameworks */, + C821060216B74DAD00650F12 /* Foundation.framework in Frameworks */, + C821060316B74DAD00650F12 /* CoreData.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C82105CD16B74DAD00650F12 = { + isa = PBXGroup; + children = ( + C82105E416B74DAD00650F12 /* iOS Assignment1 */, + C821060616B74DAD00650F12 /* iOS Assignment1Tests */, + C82105DB16B74DAD00650F12 /* Frameworks */, + C82105D916B74DAD00650F12 /* Products */, + ); + sourceTree = ""; + }; + C82105D916B74DAD00650F12 /* Products */ = { + isa = PBXGroup; + children = ( + C82105D816B74DAD00650F12 /* iOS Assignment1.app */, + C82105FE16B74DAD00650F12 /* iOS Assignment1Tests.octest */, + ); + name = Products; + sourceTree = ""; + }; + C82105DB16B74DAD00650F12 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C82105DC16B74DAD00650F12 /* UIKit.framework */, + C82105DE16B74DAD00650F12 /* Foundation.framework */, + C82105E016B74DAD00650F12 /* CoreGraphics.framework */, + C82105E216B74DAD00650F12 /* CoreData.framework */, + C82105FF16B74DAD00650F12 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + C82105E416B74DAD00650F12 /* iOS Assignment1 */ = { + isa = PBXGroup; + children = ( + C82105ED16B74DAD00650F12 /* CSCI494AppDelegate.h */, + C82105EE16B74DAD00650F12 /* CSCI494AppDelegate.m */, + C82105F616B74DAD00650F12 /* iOS_Assignment1.xcdatamodeld */, + C821061716B74E4C00650F12 /* Storyboard.storyboard */, + C82105E516B74DAD00650F12 /* Supporting Files */, + ); + path = "iOS Assignment1"; + sourceTree = ""; + }; + C82105E516B74DAD00650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C82105E616B74DAD00650F12 /* iOS Assignment1-Info.plist */, + C82105E716B74DAD00650F12 /* InfoPlist.strings */, + C82105EA16B74DAD00650F12 /* main.m */, + C82105EC16B74DAD00650F12 /* iOS Assignment1-Prefix.pch */, + C82105F016B74DAD00650F12 /* Default.png */, + C82105F216B74DAD00650F12 /* Default@2x.png */, + C82105F416B74DAD00650F12 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + C821060616B74DAD00650F12 /* iOS Assignment1Tests */ = { + isa = PBXGroup; + children = ( + C821060C16B74DAD00650F12 /* iOS_Assignment1Tests.h */, + C821060D16B74DAD00650F12 /* iOS_Assignment1Tests.m */, + C821060716B74DAD00650F12 /* Supporting Files */, + ); + path = "iOS Assignment1Tests"; + sourceTree = ""; + }; + C821060716B74DAD00650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C821060816B74DAD00650F12 /* iOS Assignment1Tests-Info.plist */, + C821060916B74DAD00650F12 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C82105D716B74DAD00650F12 /* iOS Assignment1 */ = { + isa = PBXNativeTarget; + buildConfigurationList = C821061116B74DAD00650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment1" */; + buildPhases = ( + C82105D416B74DAD00650F12 /* Sources */, + C82105D516B74DAD00650F12 /* Frameworks */, + C82105D616B74DAD00650F12 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "iOS Assignment1"; + productName = "iOS Assignment1"; + productReference = C82105D816B74DAD00650F12 /* iOS Assignment1.app */; + productType = "com.apple.product-type.application"; + }; + C82105FD16B74DAD00650F12 /* iOS Assignment1Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = C821061416B74DAD00650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment1Tests" */; + buildPhases = ( + C82105F916B74DAD00650F12 /* Sources */, + C82105FA16B74DAD00650F12 /* Frameworks */, + C82105FB16B74DAD00650F12 /* Resources */, + C82105FC16B74DAD00650F12 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + C821060516B74DAD00650F12 /* PBXTargetDependency */, + ); + name = "iOS Assignment1Tests"; + productName = "iOS Assignment1Tests"; + productReference = C82105FE16B74DAD00650F12 /* iOS Assignment1Tests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C82105CF16B74DAD00650F12 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = CSCI494; + LastUpgradeCheck = 0450; + ORGANIZATIONNAME = "Andrew Wilson"; + }; + buildConfigurationList = C82105D216B74DAD00650F12 /* Build configuration list for PBXProject "iOS Assignment1" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = C82105CD16B74DAD00650F12; + productRefGroup = C82105D916B74DAD00650F12 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C82105D716B74DAD00650F12 /* iOS Assignment1 */, + C82105FD16B74DAD00650F12 /* iOS Assignment1Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C82105D616B74DAD00650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C82105E916B74DAD00650F12 /* InfoPlist.strings in Resources */, + C82105F116B74DAD00650F12 /* Default.png in Resources */, + C82105F316B74DAD00650F12 /* Default@2x.png in Resources */, + C82105F516B74DAD00650F12 /* Default-568h@2x.png in Resources */, + C821061816B74E4C00650F12 /* Storyboard.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C82105FB16B74DAD00650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821060B16B74DAD00650F12 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + C82105FC16B74DAD00650F12 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C82105D416B74DAD00650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C82105EB16B74DAD00650F12 /* main.m in Sources */, + C82105EF16B74DAD00650F12 /* CSCI494AppDelegate.m in Sources */, + C82105F816B74DAD00650F12 /* iOS_Assignment1.xcdatamodeld in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C82105F916B74DAD00650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821060E16B74DAD00650F12 /* iOS_Assignment1Tests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + C821060516B74DAD00650F12 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C82105D716B74DAD00650F12 /* iOS Assignment1 */; + targetProxy = C821060416B74DAD00650F12 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + C82105E716B74DAD00650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C82105E816B74DAD00650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + C821060916B74DAD00650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C821060A16B74DAD00650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C821060F16B74DAD00650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + C821061016B74DAD00650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C821061216B74DAD00650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment1/iOS Assignment1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment1/iOS Assignment1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = 1; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C821061316B74DAD00650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment1/iOS Assignment1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment1/iOS Assignment1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = 1; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C821061516B74DAD00650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOS Assignment1.app/iOS Assignment1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment1/iOS Assignment1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment1Tests/iOS Assignment1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + C821061616B74DAD00650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOS Assignment1.app/iOS Assignment1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment1/iOS Assignment1-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment1Tests/iOS Assignment1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C82105D216B74DAD00650F12 /* Build configuration list for PBXProject "iOS Assignment1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C821060F16B74DAD00650F12 /* Debug */, + C821061016B74DAD00650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C821061116B74DAD00650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C821061216B74DAD00650F12 /* Debug */, + C821061316B74DAD00650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + C821061416B74DAD00650F12 /* Build configuration list for PBXNativeTarget "iOS Assignment1Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C821061516B74DAD00650F12 /* Debug */, + C821061616B74DAD00650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + +/* Begin XCVersionGroup section */ + C82105F616B74DAD00650F12 /* iOS_Assignment1.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + C82105F716B74DAD00650F12 /* iOS_Assignment1.xcdatamodel */, + ); + currentVersion = C82105F716B74DAD00650F12 /* iOS_Assignment1.xcdatamodel */; + path = iOS_Assignment1.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; +/* End XCVersionGroup section */ + }; + rootObject = C82105CF16B74DAD00650F12 /* Project object */; +} diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.h b/Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.h new file mode 100644 index 0000000..e77e9ae --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.h @@ -0,0 +1,22 @@ +// +// CSCI494AppDelegate.h +// iOS Assignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext; +@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel; +@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator; + +- (void)saveContext; +- (NSURL *)applicationDocumentsDirectory; + +@end diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.m b/Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.m new file mode 100644 index 0000000..4b0e92a --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/CSCI494AppDelegate.m @@ -0,0 +1,149 @@ +// +// CSCI494AppDelegate.m +// iOS Assignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494AppDelegate.h" + +@implementation CSCI494AppDelegate + +@synthesize managedObjectContext = _managedObjectContext; +@synthesize managedObjectModel = _managedObjectModel; +@synthesize persistentStoreCoordinator = _persistentStoreCoordinator; + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; + // Override point for customization after application launch. + self.window.backgroundColor = [UIColor whiteColor]; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Saves changes in the application's managed object context before the application terminates. + [self saveContext]; +} + +- (void)saveContext +{ + NSError *error = nil; + NSManagedObjectContext *managedObjectContext = self.managedObjectContext; + if (managedObjectContext != nil) { + if ([managedObjectContext hasChanges] && ![managedObjectContext 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(); + } + } +} + +#pragma mark - Core Data stack + +// Returns the managed object context for the application. +// If the context doesn't already exist, it is created and bound to the persistent store coordinator for the application. +- (NSManagedObjectContext *)managedObjectContext +{ + if (_managedObjectContext != nil) { + return _managedObjectContext; + } + + NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator]; + if (coordinator != nil) { + _managedObjectContext = [[NSManagedObjectContext alloc] init]; + [_managedObjectContext setPersistentStoreCoordinator:coordinator]; + } + return _managedObjectContext; +} + +// Returns the managed object model for the application. +// If the model doesn't already exist, it is created from the application's model. +- (NSManagedObjectModel *)managedObjectModel +{ + if (_managedObjectModel != nil) { + return _managedObjectModel; + } + NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"iOS_Assignment1" withExtension:@"momd"]; + _managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL]; + return _managedObjectModel; +} + +// Returns the persistent store coordinator for the application. +// If the coordinator doesn't already exist, it is created and the application's store added to it. +- (NSPersistentStoreCoordinator *)persistentStoreCoordinator +{ + if (_persistentStoreCoordinator != nil) { + return _persistentStoreCoordinator; + } + + NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"iOS_Assignment1.sqlite"]; + + NSError *error = nil; + _persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:[self managedObjectModel]]; + if (![_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:nil error:&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. + + Typical reasons for an error here include: + * The persistent store is not accessible; + * The schema for the persistent store is incompatible with current managed object model. + Check the error message to determine what the actual problem was. + + + If the persistent store is not accessible, there is typically something wrong with the file path. Often, a file URL is pointing into the application's resources directory instead of a writeable directory. + + If you encounter schema incompatibility errors during development, you can reduce their frequency by: + * Simply deleting the existing store: + [[NSFileManager defaultManager] removeItemAtURL:storeURL error:nil] + + * Performing automatic lightweight migration by passing the following dictionary as the options parameter: + @{NSMigratePersistentStoresAutomaticallyOption:@YES, NSInferMappingModelAutomaticallyOption:@YES} + + Lightweight migration will only work for a limited set of schema changes; consult "Core Data Model Versioning and Data Migration Programming Guide" for details. + + */ + NSLog(@"Unresolved error %@, %@", error, [error userInfo]); + abort(); + } + + return _persistentStoreCoordinator; +} + +#pragma mark - Application's Documents directory + +// Returns the URL to the application's Documents directory. +- (NSURL *)applicationDocumentsDirectory +{ + return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]; +} + +@end diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/Default-568h@2x.png b/Assignment 1/iOS Assignment1/iOS Assignment1/Default-568h@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0891b7aabfcf3422423b109c8beed2bab838c607 GIT binary patch literal 18594 zcmeI4X;f257Jx&9fS`ixvS;&$x8J@slQFSel)6zJN=?13FB7H(lQjRkSy8x_-S~tvu2gzn1oS+dLcF#eqtq$ z%tf9TTvX?`)R@}3uBI;jzS-=ZR-Td&MHaS&;!0?Ni*#$#`n*~CcQK)Q9vAQ~TUpnI!j)a2biYK^R)M~A5wUDZhx?ULMX z3x1P&qt=trOY6P2U67L=m=U?F|5#Uj(eCueNTZaHs_ceWiHeET+j+tp3Jt9g(ekqP z2WOvfR{qV+9r+o4J5?qK>7;;^+I7tGv-i)es$X_D=EoKF+S?zsyj^oRFElP}c}JT< zd8SUs-?O?}2YD#ngKbnHgzHBcboxK_2r9l(?eNCl-pEzkJm}fY?WC*jnS?VBE4EpY zO$fEejz6fU;W2Kl>JeQBZBl-%Irg`obSlg*@4QB;Dd1H7^Oi5wvt4d{RZ!8Og?^aE z)k0$1g+V3fd(gdQ3d&q2q-FL*uy#}|bc^=VhFsl0jBgUGJ+-s3U8MK9A!YJJMxpci z5hJ%|{DwV48fZn0{n5l$N_KcSb#NKE4plB`9I6Zt=Z!~-zw0{9tg$L&Ju1F0X)Cy8 zKF;(&lJ>x)Jw(=;p~sF(Sd9VWGwFE2rnyS9!f^DZ8+aCLq zQ};>lcJ1GDLqjm6Hd>|Eabno@P`~Bn(~6^aD_#yoEH(a?Nm1S<;S+hSxI5d16^<1lEM3NPFi zkqPrpL)+ zgnseFikg`gJVBha1&7C4;O6>h=dt~`ND+;Zd?W(4v2JIb7Pt>Td42%M-Ju-XAH#Pns762L}K3 zDhvsRqN0Ni(1UrishD2YvV?4*h2iFj$+&N||Fn$4n|^NSU+o?~jq`0jVQt8T9l{7b zXiwwODFh2V!Q6sqP9S>WH$oOf$N~=d0-bqTlD61!=`&0eAP-F>XN?*|gtOXX{ zQVTWyYo4ZK0GAw!GHf|pz9`D;-bbb*5LBX*{bnz|+)$@&P9|ORM2o?95{;ejvo&r- zq8cBhTN6nn)7~W>54U)%-F_-b?YKdfk5I8MHcuzBD5)!;yv#Z&R&^y=@=>VTIMy#r zX&U<=BsPkdqcMe<_}2+>H%XKyrr5ZR8_KVe>ZqYN z^=^~TFD};;rHJ$U;{~w^hYojl4hRI@SH$^K{YEo=sg)WY87r!*7blQK&qnpDo0`Vn zkl)9u9g=mCh&ZCJS(L4yN3k0kQ zuvg$h2KEEk51T+O0JQ+r0`R>g{jvqM0Mr6d3qUOZwE!?PI7HY@CE|dr sfw?Q;rAv?G4&^^8-z_>&sWXMxvD*gPOU4CBe-*@OtE+wfmVJNyHv)PfH~;_u literal 0 HcmV?d00001 diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/Default.png b/Assignment 1/iOS Assignment1/iOS Assignment1/Default.png new file mode 100644 index 0000000000000000000000000000000000000000..4c8ca6f693f96d511e9113c0eb59eec552354e42 GIT binary patch literal 6540 zcmeAS@N?(olHy`uVBq!ia0y~yU~~ZD2OMlbkt;o0To@QwR5G2N13aCb6#|O#(=u~X z85k@CTSM>X-wqM6>&y>YB4)1;;ojbLbbV-W^iFB1wa3^zCog^LCAReC4K0-?R_2{6 zrP*)4+_uWUy3w5N52M3PW_}MFMP9a~>YLvVZ1D_k*IMQ2QT^fwzoOb(*3gH$%aYWC zkHmcab=va2<#X%jakpJ;<1@F;k__#bwtC&%^D0v(FBh9K&$sK+<}2RJS609D)17$w ztdQP8(eLM8Ka}m_IQ@3wyMKP)l=oM4-?`YS_*P?4V_ORLPxs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HMNysXEF_BNu-p!&+Qa8_APgopHWnRgg=TZZF*sXWTMQPD z!Q(Au5|+F;7M~`tWbsU98~NA{h0Y7%GB|t&n}w9OOABU4^X*V5xuN;rY(M#ouuqm) zyt!e?28fY!FgP?8GvBsMl_aM^UUVKiGFsleFN?t^<46kO#pF-cX0;sIOb(aM z)^jQgX^Z6pKA9mC@N)_aiHj9HxD2|?A@Y9B_h}(*v3%ek8CXc1Qy^jFPF&zrMa1OZ zSVaF{&ZY|(|H0XE&X>-XQz1`=fF2n@VKC_|h3jlKVM&-jmyMavllcYr`6LVtfq2ou zd+8zkkCB+2)rxq0Lkq_&Ad@g(O8;pAm96>tu79?81T@Z<;gm^3ZtPG-SR94Mr<3tm z9NrR3u*4I5aMlo(09g@8m_;%Rf+XiSa_KZao9n}7N0JrsV#;5Ucr+F*TTzQ8{%f3O zeIUy?WDS|-$LvMc@Z7320)tr}bfIka5hx9H;8H|%our=C+Do0CSFRWue14o5#r8v2 zw=|&r4*eMX%lgCV(ka?*j%H^UuP4LmBC(ON`)&7>NF-|PDRU{-7o`CU0HNbd&c~))@yl9IKu_ zXA+A-!khpP_yx=f#qt2_0ptmgBf4gF!{Y)MW6R$cC1d7@$Yb?+_j zYwfE^5_e`vhT zX=u3r>4$fsxP&apbm@Rcbyuc2T=giqZiMo9@9=oua6#YH0hO-1ak9^rJTPMM qY4Yr5Cu^v99p{E9VdroUHKlRW;M8#BJ^AOQE?e9wSHJo8(7yq;BYKSh literal 0 HcmV?d00001 diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/Storyboard.storyboard b/Assignment 1/iOS Assignment1/iOS Assignment1/Storyboard.storyboard new file mode 100644 index 0000000..273dfd8 --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/Storyboard.storyboard @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/en.lproj/InfoPlist.strings b/Assignment 1/iOS Assignment1/iOS Assignment1/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Info.plist b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Info.plist new file mode 100644 index 0000000..819f971 --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + Storyboard + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + + diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Prefix.pch b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Prefix.pch new file mode 100644 index 0000000..777572d --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS Assignment1-Prefix.pch @@ -0,0 +1,15 @@ +// +// Prefix header for all source files of the 'iOS Assignment1' target in the 'iOS Assignment1' project +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iOS SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import + #import +#endif diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/.xccurrentversion b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/.xccurrentversion new file mode 100644 index 0000000..aad0ddb --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/.xccurrentversion @@ -0,0 +1,8 @@ + + + + + _XCCurrentVersionName + iOS_Assignment1.xcdatamodel + + diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/iOS_Assignment1.xcdatamodel/contents b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/iOS_Assignment1.xcdatamodel/contents new file mode 100644 index 0000000..193f33c --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/iOS_Assignment1.xcdatamodeld/iOS_Assignment1.xcdatamodel/contents @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/main.m b/Assignment 1/iOS Assignment1/iOS Assignment1/main.m new file mode 100644 index 0000000..65a60af --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1/main.m @@ -0,0 +1,18 @@ +// +// main.m +// iOS Assignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +#import "CSCI494AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CSCI494AppDelegate class])); + } +} diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1Tests/en.lproj/InfoPlist.strings b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS Assignment1Tests-Info.plist b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS Assignment1Tests-Info.plist new file mode 100644 index 0000000..7a162f6 --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS Assignment1Tests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.h b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.h new file mode 100644 index 0000000..f1fa5e7 --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.h @@ -0,0 +1,13 @@ +// +// iOS_Assignment1Tests.h +// iOS Assignment1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface iOS_Assignment1Tests : SenTestCase + +@end diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.m b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.m new file mode 100644 index 0000000..a54f0f0 --- /dev/null +++ b/Assignment 1/iOS Assignment1/iOS Assignment1Tests/iOS_Assignment1Tests.m @@ -0,0 +1,32 @@ +// +// iOS_Assignment1Tests.m +// iOS Assignment1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "iOS_Assignment1Tests.h" + +@implementation iOS_Assignment1Tests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in iOS Assignment1Tests"); +} + +@end diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1.xcodeproj/project.pbxproj b/Assignment 1/iOSAssignment 1/iOSAssignment 1.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7e78246 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1.xcodeproj/project.pbxproj @@ -0,0 +1,463 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C821062916B74F8100650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821062816B74F8100650F12 /* UIKit.framework */; }; + C821062B16B74F8100650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821062A16B74F8100650F12 /* Foundation.framework */; }; + C821062D16B74F8100650F12 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821062C16B74F8100650F12 /* CoreGraphics.framework */; }; + C821063316B74F8100650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C821063116B74F8100650F12 /* InfoPlist.strings */; }; + C821063516B74F8100650F12 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C821063416B74F8100650F12 /* main.m */; }; + C821063916B74F8100650F12 /* CSCI494AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C821063816B74F8100650F12 /* CSCI494AppDelegate.m */; }; + C821063B16B74F8100650F12 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C821063A16B74F8100650F12 /* Default.png */; }; + C821063D16B74F8100650F12 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C821063C16B74F8100650F12 /* Default@2x.png */; }; + C821063F16B74F8100650F12 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C821063E16B74F8100650F12 /* Default-568h@2x.png */; }; + C821064216B74F8100650F12 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C821064016B74F8100650F12 /* MainStoryboard.storyboard */; }; + C821064516B74F8100650F12 /* CSCI494ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C821064416B74F8100650F12 /* CSCI494ViewController.m */; }; + C821064D16B74F8100650F12 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821064C16B74F8100650F12 /* SenTestingKit.framework */; }; + C821064E16B74F8100650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821062816B74F8100650F12 /* UIKit.framework */; }; + C821064F16B74F8100650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821062A16B74F8100650F12 /* Foundation.framework */; }; + C821065716B74F8100650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C821065516B74F8100650F12 /* InfoPlist.strings */; }; + C821065A16B74F8100650F12 /* iOSAssignment_1Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = C821065916B74F8100650F12 /* iOSAssignment_1Tests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + C821065016B74F8100650F12 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C821061B16B74F8100650F12 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C821062316B74F8100650F12; + remoteInfo = "iOSAssignment 1"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + C821062416B74F8100650F12 /* iOSAssignment 1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOSAssignment 1.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + C821062816B74F8100650F12 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + C821062A16B74F8100650F12 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + C821062C16B74F8100650F12 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + C821063016B74F8100650F12 /* iOSAssignment 1-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOSAssignment 1-Info.plist"; sourceTree = ""; }; + C821063216B74F8100650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C821063416B74F8100650F12 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + C821063616B74F8100650F12 /* iOSAssignment 1-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOSAssignment 1-Prefix.pch"; sourceTree = ""; }; + C821063716B74F8100650F12 /* CSCI494AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494AppDelegate.h; sourceTree = ""; }; + C821063816B74F8100650F12 /* CSCI494AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494AppDelegate.m; sourceTree = ""; }; + C821063A16B74F8100650F12 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + C821063C16B74F8100650F12 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + C821063E16B74F8100650F12 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + C821064116B74F8100650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = ""; }; + C821064316B74F8100650F12 /* CSCI494ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494ViewController.h; sourceTree = ""; }; + C821064416B74F8100650F12 /* CSCI494ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494ViewController.m; sourceTree = ""; }; + C821064B16B74F8100650F12 /* iOSAssignment 1Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOSAssignment 1Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; + C821064C16B74F8100650F12 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + C821065416B74F8100650F12 /* iOSAssignment 1Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOSAssignment 1Tests-Info.plist"; sourceTree = ""; }; + C821065616B74F8100650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C821065816B74F8100650F12 /* iOSAssignment_1Tests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOSAssignment_1Tests.h; sourceTree = ""; }; + C821065916B74F8100650F12 /* iOSAssignment_1Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOSAssignment_1Tests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C821062116B74F8100650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C821062916B74F8100650F12 /* UIKit.framework in Frameworks */, + C821062B16B74F8100650F12 /* Foundation.framework in Frameworks */, + C821062D16B74F8100650F12 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C821064716B74F8100650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C821064D16B74F8100650F12 /* SenTestingKit.framework in Frameworks */, + C821064E16B74F8100650F12 /* UIKit.framework in Frameworks */, + C821064F16B74F8100650F12 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C821061916B74F8100650F12 = { + isa = PBXGroup; + children = ( + C821062E16B74F8100650F12 /* iOSAssignment 1 */, + C821065216B74F8100650F12 /* iOSAssignment 1Tests */, + C821062716B74F8100650F12 /* Frameworks */, + C821062516B74F8100650F12 /* Products */, + ); + sourceTree = ""; + }; + C821062516B74F8100650F12 /* Products */ = { + isa = PBXGroup; + children = ( + C821062416B74F8100650F12 /* iOSAssignment 1.app */, + C821064B16B74F8100650F12 /* iOSAssignment 1Tests.octest */, + ); + name = Products; + sourceTree = ""; + }; + C821062716B74F8100650F12 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C821062816B74F8100650F12 /* UIKit.framework */, + C821062A16B74F8100650F12 /* Foundation.framework */, + C821062C16B74F8100650F12 /* CoreGraphics.framework */, + C821064C16B74F8100650F12 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + C821062E16B74F8100650F12 /* iOSAssignment 1 */ = { + isa = PBXGroup; + children = ( + C821063716B74F8100650F12 /* CSCI494AppDelegate.h */, + C821063816B74F8100650F12 /* CSCI494AppDelegate.m */, + C821064016B74F8100650F12 /* MainStoryboard.storyboard */, + C821064316B74F8100650F12 /* CSCI494ViewController.h */, + C821064416B74F8100650F12 /* CSCI494ViewController.m */, + C821062F16B74F8100650F12 /* Supporting Files */, + ); + path = "iOSAssignment 1"; + sourceTree = ""; + }; + C821062F16B74F8100650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C821063016B74F8100650F12 /* iOSAssignment 1-Info.plist */, + C821063116B74F8100650F12 /* InfoPlist.strings */, + C821063416B74F8100650F12 /* main.m */, + C821063616B74F8100650F12 /* iOSAssignment 1-Prefix.pch */, + C821063A16B74F8100650F12 /* Default.png */, + C821063C16B74F8100650F12 /* Default@2x.png */, + C821063E16B74F8100650F12 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + C821065216B74F8100650F12 /* iOSAssignment 1Tests */ = { + isa = PBXGroup; + children = ( + C821065816B74F8100650F12 /* iOSAssignment_1Tests.h */, + C821065916B74F8100650F12 /* iOSAssignment_1Tests.m */, + C821065316B74F8100650F12 /* Supporting Files */, + ); + path = "iOSAssignment 1Tests"; + sourceTree = ""; + }; + C821065316B74F8100650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C821065416B74F8100650F12 /* iOSAssignment 1Tests-Info.plist */, + C821065516B74F8100650F12 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C821062316B74F8100650F12 /* iOSAssignment 1 */ = { + isa = PBXNativeTarget; + buildConfigurationList = C821065D16B74F8100650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment 1" */; + buildPhases = ( + C821062016B74F8100650F12 /* Sources */, + C821062116B74F8100650F12 /* Frameworks */, + C821062216B74F8100650F12 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "iOSAssignment 1"; + productName = "iOSAssignment 1"; + productReference = C821062416B74F8100650F12 /* iOSAssignment 1.app */; + productType = "com.apple.product-type.application"; + }; + C821064A16B74F8100650F12 /* iOSAssignment 1Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = C821066016B74F8100650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment 1Tests" */; + buildPhases = ( + C821064616B74F8100650F12 /* Sources */, + C821064716B74F8100650F12 /* Frameworks */, + C821064816B74F8100650F12 /* Resources */, + C821064916B74F8100650F12 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + C821065116B74F8100650F12 /* PBXTargetDependency */, + ); + name = "iOSAssignment 1Tests"; + productName = "iOSAssignment 1Tests"; + productReference = C821064B16B74F8100650F12 /* iOSAssignment 1Tests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C821061B16B74F8100650F12 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = CSCI494; + LastUpgradeCheck = 0450; + ORGANIZATIONNAME = "Andrew Wilson"; + }; + buildConfigurationList = C821061E16B74F8100650F12 /* Build configuration list for PBXProject "iOSAssignment 1" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = C821061916B74F8100650F12; + productRefGroup = C821062516B74F8100650F12 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C821062316B74F8100650F12 /* iOSAssignment 1 */, + C821064A16B74F8100650F12 /* iOSAssignment 1Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C821062216B74F8100650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821063316B74F8100650F12 /* InfoPlist.strings in Resources */, + C821063B16B74F8100650F12 /* Default.png in Resources */, + C821063D16B74F8100650F12 /* Default@2x.png in Resources */, + C821063F16B74F8100650F12 /* Default-568h@2x.png in Resources */, + C821064216B74F8100650F12 /* MainStoryboard.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C821064816B74F8100650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821065716B74F8100650F12 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + C821064916B74F8100650F12 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C821062016B74F8100650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821063516B74F8100650F12 /* main.m in Sources */, + C821063916B74F8100650F12 /* CSCI494AppDelegate.m in Sources */, + C821064516B74F8100650F12 /* CSCI494ViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C821064616B74F8100650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821065A16B74F8100650F12 /* iOSAssignment_1Tests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + C821065116B74F8100650F12 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C821062316B74F8100650F12 /* iOSAssignment 1 */; + targetProxy = C821065016B74F8100650F12 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + C821063116B74F8100650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C821063216B74F8100650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + C821064016B74F8100650F12 /* MainStoryboard.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C821064116B74F8100650F12 /* en */, + ); + name = MainStoryboard.storyboard; + sourceTree = ""; + }; + C821065516B74F8100650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C821065616B74F8100650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C821065B16B74F8100650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + C821065C16B74F8100650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C821065E16B74F8100650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment 1/iOSAssignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment 1/iOSAssignment 1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C821065F16B74F8100650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment 1/iOSAssignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment 1/iOSAssignment 1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C821066116B74F8100650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOSAssignment 1.app/iOSAssignment 1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment 1/iOSAssignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment 1Tests/iOSAssignment 1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + C821066216B74F8100650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOSAssignment 1.app/iOSAssignment 1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment 1/iOSAssignment 1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment 1Tests/iOSAssignment 1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C821061E16B74F8100650F12 /* Build configuration list for PBXProject "iOSAssignment 1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C821065B16B74F8100650F12 /* Debug */, + C821065C16B74F8100650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C821065D16B74F8100650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment 1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C821065E16B74F8100650F12 /* Debug */, + C821065F16B74F8100650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + C821066016B74F8100650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment 1Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C821066116B74F8100650F12 /* Debug */, + C821066216B74F8100650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = C821061B16B74F8100650F12 /* Project object */; +} diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.h b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.h new file mode 100644 index 0000000..dfc0005 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.h @@ -0,0 +1,15 @@ +// +// CSCI494AppDelegate.h +// iOSAssignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.m b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.m new file mode 100644 index 0000000..cc85098 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494AppDelegate.m @@ -0,0 +1,46 @@ +// +// CSCI494AppDelegate.m +// iOSAssignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494AppDelegate.h" + +@implementation CSCI494AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.h b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.h new file mode 100644 index 0000000..1a36fda --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.h @@ -0,0 +1,15 @@ +// +// CSCI494ViewController.h +// iOSAssignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494ViewController : UIViewController + +- (IBAction)wonderfulbutton:(id) sender; +@end + diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.m b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.m new file mode 100644 index 0000000..c5f3084 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/CSCI494ViewController.m @@ -0,0 +1,13 @@ +// +// CSCI494ViewController.m +// iOSAssignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494ViewController.h" + +@interface CSCI494ViewController () +- (IBAction)wonderfulbutton:(id) sender; +@end diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default-568h@2x.png b/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default-568h@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0891b7aabfcf3422423b109c8beed2bab838c607 GIT binary patch literal 18594 zcmeI4X;f257Jx&9fS`ixvS;&$x8J@slQFSel)6zJN=?13FB7H(lQjRkSy8x_-S~tvu2gzn1oS+dLcF#eqtq$ z%tf9TTvX?`)R@}3uBI;jzS-=ZR-Td&MHaS&;!0?Ni*#$#`n*~CcQK)Q9vAQ~TUpnI!j)a2biYK^R)M~A5wUDZhx?ULMX z3x1P&qt=trOY6P2U67L=m=U?F|5#Uj(eCueNTZaHs_ceWiHeET+j+tp3Jt9g(ekqP z2WOvfR{qV+9r+o4J5?qK>7;;^+I7tGv-i)es$X_D=EoKF+S?zsyj^oRFElP}c}JT< zd8SUs-?O?}2YD#ngKbnHgzHBcboxK_2r9l(?eNCl-pEzkJm}fY?WC*jnS?VBE4EpY zO$fEejz6fU;W2Kl>JeQBZBl-%Irg`obSlg*@4QB;Dd1H7^Oi5wvt4d{RZ!8Og?^aE z)k0$1g+V3fd(gdQ3d&q2q-FL*uy#}|bc^=VhFsl0jBgUGJ+-s3U8MK9A!YJJMxpci z5hJ%|{DwV48fZn0{n5l$N_KcSb#NKE4plB`9I6Zt=Z!~-zw0{9tg$L&Ju1F0X)Cy8 zKF;(&lJ>x)Jw(=;p~sF(Sd9VWGwFE2rnyS9!f^DZ8+aCLq zQ};>lcJ1GDLqjm6Hd>|Eabno@P`~Bn(~6^aD_#yoEH(a?Nm1S<;S+hSxI5d16^<1lEM3NPFi zkqPrpL)+ zgnseFikg`gJVBha1&7C4;O6>h=dt~`ND+;Zd?W(4v2JIb7Pt>Td42%M-Ju-XAH#Pns762L}K3 zDhvsRqN0Ni(1UrishD2YvV?4*h2iFj$+&N||Fn$4n|^NSU+o?~jq`0jVQt8T9l{7b zXiwwODFh2V!Q6sqP9S>WH$oOf$N~=d0-bqTlD61!=`&0eAP-F>XN?*|gtOXX{ zQVTWyYo4ZK0GAw!GHf|pz9`D;-bbb*5LBX*{bnz|+)$@&P9|ORM2o?95{;ejvo&r- zq8cBhTN6nn)7~W>54U)%-F_-b?YKdfk5I8MHcuzBD5)!;yv#Z&R&^y=@=>VTIMy#r zX&U<=BsPkdqcMe<_}2+>H%XKyrr5ZR8_KVe>ZqYN z^=^~TFD};;rHJ$U;{~w^hYojl4hRI@SH$^K{YEo=sg)WY87r!*7blQK&qnpDo0`Vn zkl)9u9g=mCh&ZCJS(L4yN3k0kQ zuvg$h2KEEk51T+O0JQ+r0`R>g{jvqM0Mr6d3qUOZwE!?PI7HY@CE|dr sfw?Q;rAv?G4&^^8-z_>&sWXMxvD*gPOU4CBe-*@OtE+wfmVJNyHv)PfH~;_u literal 0 HcmV?d00001 diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default.png b/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default.png new file mode 100644 index 0000000000000000000000000000000000000000..4c8ca6f693f96d511e9113c0eb59eec552354e42 GIT binary patch literal 6540 zcmeAS@N?(olHy`uVBq!ia0y~yU~~ZD2OMlbkt;o0To@QwR5G2N13aCb6#|O#(=u~X z85k@CTSM>X-wqM6>&y>YB4)1;;ojbLbbV-W^iFB1wa3^zCog^LCAReC4K0-?R_2{6 zrP*)4+_uWUy3w5N52M3PW_}MFMP9a~>YLvVZ1D_k*IMQ2QT^fwzoOb(*3gH$%aYWC zkHmcab=va2<#X%jakpJ;<1@F;k__#b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z;DmaOWMMr6=M~K?MFx4_xDkARTxLJ@W@ohAx z5RD0jGgk?QL@H`VubD2k4}?VtB8@g`%hHBA$2pJ(gK5g1HMNysXEF_BNu-p!&+Qa8_APgopHWnRgg=TZZF*sXWTMQPD z!Q(Au5|+F;7M~`tWbsU98~NA{h0Y7%GB|t&n}w9OOABU4^X*V5xuN;rY(M#ouuqm) zyt!e?28fY!FgP?8GvBsMl_aM^UUVKiGFsleFN?t^<46kO#pF-cX0;sIOb(aM z)^jQgX^Z6pKA9mC@N)_aiHj9HxD2|?A@Y9B_h}(*v3%ek8CXc1Qy^jFPF&zrMa1OZ zSVaF{&ZY|(|H0XE&X>-XQz1`=fF2n@VKC_|h3jlKVM&-jmyMavllcYr`6LVtfq2ou zd+8zkkCB+2)rxq0Lkq_&Ad@g(O8;pAm96>tu79?81T@Z<;gm^3ZtPG-SR94Mr<3tm z9NrR3u*4I5aMlo(09g@8m_;%Rf+XiSa_KZao9n}7N0JrsV#;5Ucr+F*TTzQ8{%f3O zeIUy?WDS|-$LvMc@Z7320)tr}bfIka5hx9H;8H|%our=C+Do0CSFRWue14o5#r8v2 zw=|&r4*eMX%lgCV(ka?*j%H^UuP4LmBC(ON`)&7>NF-|PDRU{-7o`CU0HNbd&c~))@yl9IKu_ zXA+A-!khpP_yx=f#qt2_0ptmgBf4gF!{Y)MW6R$cC1d7@$Yb?+_j zYwfE^5_e`vhT zX=u3r>4$fsxP&apbm@Rcbyuc2T=giqZiMo9@9=oua6#YH0hO-1ak9^rJTPMM qY4Yr5Cu^v99p{E9VdroUHKlRW;M8#BJ^AOQE?e9wSHJo8(7yq;BYKSh literal 0 HcmV?d00001 diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/InfoPlist.strings b/Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/MainStoryboard.storyboard b/Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/MainStoryboard.storyboard new file mode 100644 index 0000000..ed6793d --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/en.lproj/MainStoryboard.storyboard @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Info.plist b/Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Info.plist new file mode 100644 index 0000000..d5c5f57 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + MainStoryboard + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Prefix.pch b/Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Prefix.pch new file mode 100644 index 0000000..c7f2621 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/iOSAssignment 1-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'iOSAssignment 1' target in the 'iOSAssignment 1' project +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/main.m b/Assignment 1/iOSAssignment 1/iOSAssignment 1/main.m new file mode 100644 index 0000000..1ec55a2 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1/main.m @@ -0,0 +1,18 @@ +// +// main.m +// iOSAssignment 1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +#import "CSCI494AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CSCI494AppDelegate class])); + } +} diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/en.lproj/InfoPlist.strings b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment 1Tests-Info.plist b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment 1Tests-Info.plist new file mode 100644 index 0000000..7a162f6 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment 1Tests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.h b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.h new file mode 100644 index 0000000..9006cf3 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.h @@ -0,0 +1,13 @@ +// +// iOSAssignment_1Tests.h +// iOSAssignment 1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface iOSAssignment_1Tests : SenTestCase + +@end diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.m b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.m new file mode 100644 index 0000000..8ff2807 --- /dev/null +++ b/Assignment 1/iOSAssignment 1/iOSAssignment 1Tests/iOSAssignment_1Tests.m @@ -0,0 +1,32 @@ +// +// iOSAssignment_1Tests.m +// iOSAssignment 1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "iOSAssignment_1Tests.h" + +@implementation iOSAssignment_1Tests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in iOSAssignment 1Tests"); +} + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1.xcodeproj/project.pbxproj b/Assignment 1/iOSAssignment1/iOSAssignment1.xcodeproj/project.pbxproj new file mode 100644 index 0000000..faaa7db --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1.xcodeproj/project.pbxproj @@ -0,0 +1,469 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C821059016B74C6200650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821058F16B74C6200650F12 /* UIKit.framework */; }; + C821059216B74C6200650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821059116B74C6200650F12 /* Foundation.framework */; }; + C821059416B74C6200650F12 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821059316B74C6200650F12 /* CoreGraphics.framework */; }; + C821059A16B74C6200650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C821059816B74C6200650F12 /* InfoPlist.strings */; }; + C821059C16B74C6200650F12 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C821059B16B74C6200650F12 /* main.m */; }; + C82105A016B74C6300650F12 /* CSCI494AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C821059F16B74C6300650F12 /* CSCI494AppDelegate.m */; }; + C82105A216B74C6300650F12 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C82105A116B74C6300650F12 /* Default.png */; }; + C82105A416B74C6300650F12 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C82105A316B74C6300650F12 /* Default@2x.png */; }; + C82105A616B74C6300650F12 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C82105A516B74C6300650F12 /* Default-568h@2x.png */; }; + C82105A916B74C6300650F12 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C82105A716B74C6300650F12 /* MainStoryboard.storyboard */; }; + C82105AC16B74C6300650F12 /* CSCI494MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C82105AB16B74C6300650F12 /* CSCI494MainViewController.m */; }; + C82105AF16B74C6300650F12 /* CSCI494FlipsideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C82105AE16B74C6300650F12 /* CSCI494FlipsideViewController.m */; }; + C82105B716B74C6300650F12 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C82105B616B74C6300650F12 /* SenTestingKit.framework */; }; + C82105B816B74C6300650F12 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821058F16B74C6200650F12 /* UIKit.framework */; }; + C82105B916B74C6300650F12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C821059116B74C6200650F12 /* Foundation.framework */; }; + C82105C116B74C6300650F12 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C82105BF16B74C6300650F12 /* InfoPlist.strings */; }; + C82105C416B74C6300650F12 /* iOSAssignment1Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = C82105C316B74C6300650F12 /* iOSAssignment1Tests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + C82105BA16B74C6300650F12 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C821058216B74C6200650F12 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C821058A16B74C6200650F12; + remoteInfo = iOSAssignment1; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + C821058B16B74C6200650F12 /* iOSAssignment1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOSAssignment1.app; sourceTree = BUILT_PRODUCTS_DIR; }; + C821058F16B74C6200650F12 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + C821059116B74C6200650F12 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + C821059316B74C6200650F12 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + C821059716B74C6200650F12 /* iOSAssignment1-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOSAssignment1-Info.plist"; sourceTree = ""; }; + C821059916B74C6200650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C821059B16B74C6200650F12 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + C821059D16B74C6300650F12 /* iOSAssignment1-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOSAssignment1-Prefix.pch"; sourceTree = ""; }; + C821059E16B74C6300650F12 /* CSCI494AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494AppDelegate.h; sourceTree = ""; }; + C821059F16B74C6300650F12 /* CSCI494AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494AppDelegate.m; sourceTree = ""; }; + C82105A116B74C6300650F12 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + C82105A316B74C6300650F12 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + C82105A516B74C6300650F12 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + C82105A816B74C6300650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = ""; }; + C82105AA16B74C6300650F12 /* CSCI494MainViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494MainViewController.h; sourceTree = ""; }; + C82105AB16B74C6300650F12 /* CSCI494MainViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494MainViewController.m; sourceTree = ""; }; + C82105AD16B74C6300650F12 /* CSCI494FlipsideViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494FlipsideViewController.h; sourceTree = ""; }; + C82105AE16B74C6300650F12 /* CSCI494FlipsideViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494FlipsideViewController.m; sourceTree = ""; }; + C82105B516B74C6300650F12 /* iOSAssignment1Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iOSAssignment1Tests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; + C82105B616B74C6300650F12 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + C82105BE16B74C6300650F12 /* iOSAssignment1Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOSAssignment1Tests-Info.plist"; sourceTree = ""; }; + C82105C016B74C6300650F12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C82105C216B74C6300650F12 /* iOSAssignment1Tests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOSAssignment1Tests.h; sourceTree = ""; }; + C82105C316B74C6300650F12 /* iOSAssignment1Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOSAssignment1Tests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C821058816B74C6200650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C821059016B74C6200650F12 /* UIKit.framework in Frameworks */, + C821059216B74C6200650F12 /* Foundation.framework in Frameworks */, + C821059416B74C6200650F12 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C82105B116B74C6300650F12 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C82105B716B74C6300650F12 /* SenTestingKit.framework in Frameworks */, + C82105B816B74C6300650F12 /* UIKit.framework in Frameworks */, + C82105B916B74C6300650F12 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C821058016B74C6200650F12 = { + isa = PBXGroup; + children = ( + C821059516B74C6200650F12 /* iOSAssignment1 */, + C82105BC16B74C6300650F12 /* iOSAssignment1Tests */, + C821058E16B74C6200650F12 /* Frameworks */, + C821058C16B74C6200650F12 /* Products */, + ); + sourceTree = ""; + }; + C821058C16B74C6200650F12 /* Products */ = { + isa = PBXGroup; + children = ( + C821058B16B74C6200650F12 /* iOSAssignment1.app */, + C82105B516B74C6300650F12 /* iOSAssignment1Tests.octest */, + ); + name = Products; + sourceTree = ""; + }; + C821058E16B74C6200650F12 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C821058F16B74C6200650F12 /* UIKit.framework */, + C821059116B74C6200650F12 /* Foundation.framework */, + C821059316B74C6200650F12 /* CoreGraphics.framework */, + C82105B616B74C6300650F12 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + C821059516B74C6200650F12 /* iOSAssignment1 */ = { + isa = PBXGroup; + children = ( + C821059E16B74C6300650F12 /* CSCI494AppDelegate.h */, + C821059F16B74C6300650F12 /* CSCI494AppDelegate.m */, + C82105A716B74C6300650F12 /* MainStoryboard.storyboard */, + C82105AA16B74C6300650F12 /* CSCI494MainViewController.h */, + C82105AB16B74C6300650F12 /* CSCI494MainViewController.m */, + C82105AD16B74C6300650F12 /* CSCI494FlipsideViewController.h */, + C82105AE16B74C6300650F12 /* CSCI494FlipsideViewController.m */, + C821059616B74C6200650F12 /* Supporting Files */, + ); + path = iOSAssignment1; + sourceTree = ""; + }; + C821059616B74C6200650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C821059716B74C6200650F12 /* iOSAssignment1-Info.plist */, + C821059816B74C6200650F12 /* InfoPlist.strings */, + C821059B16B74C6200650F12 /* main.m */, + C821059D16B74C6300650F12 /* iOSAssignment1-Prefix.pch */, + C82105A116B74C6300650F12 /* Default.png */, + C82105A316B74C6300650F12 /* Default@2x.png */, + C82105A516B74C6300650F12 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + C82105BC16B74C6300650F12 /* iOSAssignment1Tests */ = { + isa = PBXGroup; + children = ( + C82105C216B74C6300650F12 /* iOSAssignment1Tests.h */, + C82105C316B74C6300650F12 /* iOSAssignment1Tests.m */, + C82105BD16B74C6300650F12 /* Supporting Files */, + ); + path = iOSAssignment1Tests; + sourceTree = ""; + }; + C82105BD16B74C6300650F12 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C82105BE16B74C6300650F12 /* iOSAssignment1Tests-Info.plist */, + C82105BF16B74C6300650F12 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C821058A16B74C6200650F12 /* iOSAssignment1 */ = { + isa = PBXNativeTarget; + buildConfigurationList = C82105C716B74C6300650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment1" */; + buildPhases = ( + C821058716B74C6200650F12 /* Sources */, + C821058816B74C6200650F12 /* Frameworks */, + C821058916B74C6200650F12 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = iOSAssignment1; + productName = iOSAssignment1; + productReference = C821058B16B74C6200650F12 /* iOSAssignment1.app */; + productType = "com.apple.product-type.application"; + }; + C82105B416B74C6300650F12 /* iOSAssignment1Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = C82105CA16B74C6300650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment1Tests" */; + buildPhases = ( + C82105B016B74C6300650F12 /* Sources */, + C82105B116B74C6300650F12 /* Frameworks */, + C82105B216B74C6300650F12 /* Resources */, + C82105B316B74C6300650F12 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + C82105BB16B74C6300650F12 /* PBXTargetDependency */, + ); + name = iOSAssignment1Tests; + productName = iOSAssignment1Tests; + productReference = C82105B516B74C6300650F12 /* iOSAssignment1Tests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C821058216B74C6200650F12 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = CSCI494; + LastUpgradeCheck = 0450; + ORGANIZATIONNAME = "Andrew Wilson"; + }; + buildConfigurationList = C821058516B74C6200650F12 /* Build configuration list for PBXProject "iOSAssignment1" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = C821058016B74C6200650F12; + productRefGroup = C821058C16B74C6200650F12 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C821058A16B74C6200650F12 /* iOSAssignment1 */, + C82105B416B74C6300650F12 /* iOSAssignment1Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C821058916B74C6200650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821059A16B74C6200650F12 /* InfoPlist.strings in Resources */, + C82105A216B74C6300650F12 /* Default.png in Resources */, + C82105A416B74C6300650F12 /* Default@2x.png in Resources */, + C82105A616B74C6300650F12 /* Default-568h@2x.png in Resources */, + C82105A916B74C6300650F12 /* MainStoryboard.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C82105B216B74C6300650F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C82105C116B74C6300650F12 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + C82105B316B74C6300650F12 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C821058716B74C6200650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C821059C16B74C6200650F12 /* main.m in Sources */, + C82105A016B74C6300650F12 /* CSCI494AppDelegate.m in Sources */, + C82105AC16B74C6300650F12 /* CSCI494MainViewController.m in Sources */, + C82105AF16B74C6300650F12 /* CSCI494FlipsideViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C82105B016B74C6300650F12 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C82105C416B74C6300650F12 /* iOSAssignment1Tests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + C82105BB16B74C6300650F12 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C821058A16B74C6200650F12 /* iOSAssignment1 */; + targetProxy = C82105BA16B74C6300650F12 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + C821059816B74C6200650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C821059916B74C6200650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + C82105A716B74C6300650F12 /* MainStoryboard.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C82105A816B74C6300650F12 /* en */, + ); + name = MainStoryboard.storyboard; + sourceTree = ""; + }; + C82105BF16B74C6300650F12 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C82105C016B74C6300650F12 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C82105C516B74C6300650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + C82105C616B74C6300650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C82105C816B74C6300650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment1/iOSAssignment1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment1/iOSAssignment1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C82105C916B74C6300650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment1/iOSAssignment1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment1/iOSAssignment1-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C82105CB16B74C6300650F12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOSAssignment1.app/iOSAssignment1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment1/iOSAssignment1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment1Tests/iOSAssignment1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + C82105CC16B74C6300650F12 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOSAssignment1.app/iOSAssignment1"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOSAssignment1/iOSAssignment1-Prefix.pch"; + INFOPLIST_FILE = "iOSAssignment1Tests/iOSAssignment1Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C821058516B74C6200650F12 /* Build configuration list for PBXProject "iOSAssignment1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C82105C516B74C6300650F12 /* Debug */, + C82105C616B74C6300650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C82105C716B74C6300650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C82105C816B74C6300650F12 /* Debug */, + C82105C916B74C6300650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + C82105CA16B74C6300650F12 /* Build configuration list for PBXNativeTarget "iOSAssignment1Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C82105CB16B74C6300650F12 /* Debug */, + C82105CC16B74C6300650F12 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = C821058216B74C6200650F12 /* Project object */; +} diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.h b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.h new file mode 100644 index 0000000..96ca555 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.h @@ -0,0 +1,15 @@ +// +// CSCI494AppDelegate.h +// iOSAssignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.m b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.m new file mode 100644 index 0000000..da8f804 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494AppDelegate.m @@ -0,0 +1,46 @@ +// +// CSCI494AppDelegate.m +// iOSAssignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494AppDelegate.h" + +@implementation CSCI494AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.h b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.h new file mode 100644 index 0000000..d82067e --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.h @@ -0,0 +1,23 @@ +// +// CSCI494FlipsideViewController.h +// iOSAssignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@class CSCI494FlipsideViewController; + +@protocol CSCI494FlipsideViewControllerDelegate +- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller; +@end + +@interface CSCI494FlipsideViewController : UIViewController + +@property (weak, nonatomic) id delegate; + +- (IBAction)done:(id)sender; + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.m b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.m new file mode 100644 index 0000000..7a7a19b --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494FlipsideViewController.m @@ -0,0 +1,36 @@ +// +// CSCI494FlipsideViewController.m +// iOSAssignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494FlipsideViewController.h" + +@interface CSCI494FlipsideViewController () + +@end + +@implementation CSCI494FlipsideViewController + +- (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. +} + +#pragma mark - Actions + +- (IBAction)done:(id)sender +{ + [self.delegate flipsideViewControllerDidFinish:self]; +} + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.h b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.h new file mode 100644 index 0000000..3718a6a --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.h @@ -0,0 +1,13 @@ +// +// CSCI494MainViewController.h +// iOSAssignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494FlipsideViewController.h" + +@interface CSCI494MainViewController : UIViewController + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.m b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.m new file mode 100644 index 0000000..4edb462 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/CSCI494MainViewController.m @@ -0,0 +1,43 @@ +// +// CSCI494MainViewController.m +// iOSAssignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494MainViewController.h" + +@interface CSCI494MainViewController () + +@end + +@implementation CSCI494MainViewController + +- (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. +} + +#pragma mark - Flipside View + +- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller +{ + [self dismissViewControllerAnimated:YES completion:nil]; +} + +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender +{ + if ([[segue identifier] isEqualToString:@"showAlternate"]) { + [[segue destinationViewController] setDelegate:self]; + } +} + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/Default-568h@2x.png b/Assignment 1/iOSAssignment1/iOSAssignment1/Default-568h@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0891b7aabfcf3422423b109c8beed2bab838c607 GIT binary patch literal 18594 zcmeI4X;f257Jx&9fS`ixvS;&$x8J@slQFSel)6zJN=?13FB7H(lQjRkSy8x_-S~tvu2gzn1oS+dLcF#eqtq$ z%tf9TTvX?`)R@}3uBI;jzS-=ZR-Td&MHaS&;!0?Ni*#$#`n*~CcQK)Q9vAQ~TUpnI!j)a2biYK^R)M~A5wUDZhx?ULMX z3x1P&qt=trOY6P2U67L=m=U?F|5#Uj(eCueNTZaHs_ceWiHeET+j+tp3Jt9g(ekqP z2WOvfR{qV+9r+o4J5?qK>7;;^+I7tGv-i)es$X_D=EoKF+S?zsyj^oRFElP}c}JT< zd8SUs-?O?}2YD#ngKbnHgzHBcboxK_2r9l(?eNCl-pEzkJm}fY?WC*jnS?VBE4EpY zO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o9@9=oua6#YH0hO-1ak9^rJTPMM qY4Yr5Cu^v99p{E9VdroUHKlRW;M8#BJ^AOQE?e9wSHJo8(7yq;BYKSh literal 0 HcmV?d00001 diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/InfoPlist.strings b/Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/MainStoryboard.storyboard b/Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/MainStoryboard.storyboard new file mode 100644 index 0000000..8b95e76 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/en.lproj/MainStoryboard.storyboard @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Info.plist b/Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Info.plist new file mode 100644 index 0000000..f25f0ad --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Info.plist @@ -0,0 +1,50 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + MainStoryboard + UIRequiredDeviceCapabilities + + armv7 + + UIStatusBarTintParameters + + UINavigationBar + + Style + UIBarStyleBlack + Translucent + + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Prefix.pch b/Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Prefix.pch new file mode 100644 index 0000000..feb9551 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/iOSAssignment1-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'iOSAssignment1' target in the 'iOSAssignment1' project +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/main.m b/Assignment 1/iOSAssignment1/iOSAssignment1/main.m new file mode 100644 index 0000000..62fe621 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1/main.m @@ -0,0 +1,18 @@ +// +// main.m +// iOSAssignment1 +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +#import "CSCI494AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CSCI494AppDelegate class])); + } +} diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1Tests/en.lproj/InfoPlist.strings b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests-Info.plist b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests-Info.plist new file mode 100644 index 0000000..7a162f6 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.h b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.h new file mode 100644 index 0000000..7819477 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.h @@ -0,0 +1,13 @@ +// +// iOSAssignment1Tests.h +// iOSAssignment1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface iOSAssignment1Tests : SenTestCase + +@end diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.m b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.m new file mode 100644 index 0000000..db0e4c7 --- /dev/null +++ b/Assignment 1/iOSAssignment1/iOSAssignment1Tests/iOSAssignment1Tests.m @@ -0,0 +1,32 @@ +// +// iOSAssignment1Tests.m +// iOSAssignment1Tests +// +// Created by Andrew Wilson on 1/28/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "iOSAssignment1Tests.h" + +@implementation iOSAssignment1Tests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in iOSAssignment1Tests"); +} + +@end diff --git a/Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj b/Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj new file mode 100644 index 0000000..4ac4fdc --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj @@ -0,0 +1,492 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C822FB8116B878F800075C07 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8016B878F800075C07 /* UIKit.framework */; }; + C822FB8316B878F800075C07 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8216B878F800075C07 /* Foundation.framework */; }; + C822FB8516B878F800075C07 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8416B878F800075C07 /* CoreGraphics.framework */; }; + C822FB8716B878F800075C07 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8616B878F800075C07 /* CoreData.framework */; }; + C822FB8D16B878F800075C07 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C822FB8B16B878F800075C07 /* InfoPlist.strings */; }; + C822FB8F16B878F800075C07 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FB8E16B878F800075C07 /* main.m */; }; + C822FB9316B878F800075C07 /* CSCI494AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FB9216B878F800075C07 /* CSCI494AppDelegate.m */; }; + C822FB9516B878F800075C07 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9416B878F800075C07 /* Default.png */; }; + C822FB9716B878F800075C07 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9616B878F800075C07 /* Default@2x.png */; }; + C822FB9916B878F800075C07 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9816B878F800075C07 /* Default-568h@2x.png */; }; + C822FB9C16B878F800075C07 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9A16B878F800075C07 /* MainStoryboard.storyboard */; }; + C822FB9F16B878F800075C07 /* Flipside_Test.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = C822FB9D16B878F800075C07 /* Flipside_Test.xcdatamodeld */; }; + C822FBA216B878F800075C07 /* CSCI494MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FBA116B878F800075C07 /* CSCI494MainViewController.m */; }; + C822FBA516B878F800075C07 /* CSCI494FlipsideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FBA416B878F800075C07 /* CSCI494FlipsideViewController.m */; }; + C822FBAD16B878F800075C07 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FBAC16B878F800075C07 /* SenTestingKit.framework */; }; + C822FBAE16B878F800075C07 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8016B878F800075C07 /* UIKit.framework */; }; + C822FBAF16B878F800075C07 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8216B878F800075C07 /* Foundation.framework */; }; + C822FBB016B878F800075C07 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8616B878F800075C07 /* CoreData.framework */; }; + C822FBB816B878F900075C07 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C822FBB616B878F900075C07 /* InfoPlist.strings */; }; + C822FBBB16B878F900075C07 /* Flipside_TestTests.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FBBA16B878F900075C07 /* Flipside_TestTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + C822FBB116B878F900075C07 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C822FB7316B878F800075C07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C822FB7B16B878F800075C07; + remoteInfo = "Flipside Test"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + C822FB7C16B878F800075C07 /* Flipside Test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flipside Test.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + C822FB8016B878F800075C07 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + C822FB8216B878F800075C07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + C822FB8416B878F800075C07 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + C822FB8616B878F800075C07 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + C822FB8A16B878F800075C07 /* Flipside Test-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Flipside Test-Info.plist"; sourceTree = ""; }; + C822FB8C16B878F800075C07 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C822FB8E16B878F800075C07 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + C822FB9016B878F800075C07 /* Flipside Test-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Flipside Test-Prefix.pch"; sourceTree = ""; }; + C822FB9116B878F800075C07 /* CSCI494AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494AppDelegate.h; sourceTree = ""; }; + C822FB9216B878F800075C07 /* CSCI494AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494AppDelegate.m; sourceTree = ""; }; + C822FB9416B878F800075C07 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + C822FB9616B878F800075C07 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + C822FB9816B878F800075C07 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + C822FB9B16B878F800075C07 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = ""; }; + C822FB9E16B878F800075C07 /* Flipside_Test.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Flipside_Test.xcdatamodel; sourceTree = ""; }; + C822FBA016B878F800075C07 /* CSCI494MainViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494MainViewController.h; sourceTree = ""; }; + C822FBA116B878F800075C07 /* CSCI494MainViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494MainViewController.m; sourceTree = ""; }; + C822FBA316B878F800075C07 /* CSCI494FlipsideViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494FlipsideViewController.h; sourceTree = ""; }; + C822FBA416B878F800075C07 /* CSCI494FlipsideViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494FlipsideViewController.m; sourceTree = ""; }; + C822FBAB16B878F800075C07 /* Flipside TestTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Flipside TestTests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; + C822FBAC16B878F800075C07 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + C822FBB516B878F900075C07 /* Flipside TestTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Flipside TestTests-Info.plist"; sourceTree = ""; }; + C822FBB716B878F900075C07 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C822FBB916B878F900075C07 /* Flipside_TestTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Flipside_TestTests.h; sourceTree = ""; }; + C822FBBA16B878F900075C07 /* Flipside_TestTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Flipside_TestTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C822FB7916B878F800075C07 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C822FB8116B878F800075C07 /* UIKit.framework in Frameworks */, + C822FB8316B878F800075C07 /* Foundation.framework in Frameworks */, + C822FB8516B878F800075C07 /* CoreGraphics.framework in Frameworks */, + C822FB8716B878F800075C07 /* CoreData.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C822FBA716B878F800075C07 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C822FBAD16B878F800075C07 /* SenTestingKit.framework in Frameworks */, + C822FBAE16B878F800075C07 /* UIKit.framework in Frameworks */, + C822FBAF16B878F800075C07 /* Foundation.framework in Frameworks */, + C822FBB016B878F800075C07 /* CoreData.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C822FB7116B878F800075C07 = { + isa = PBXGroup; + children = ( + C822FB8816B878F800075C07 /* Flipside Test */, + C822FBB316B878F900075C07 /* Flipside TestTests */, + C822FB7F16B878F800075C07 /* Frameworks */, + C822FB7D16B878F800075C07 /* Products */, + ); + sourceTree = ""; + }; + C822FB7D16B878F800075C07 /* Products */ = { + isa = PBXGroup; + children = ( + C822FB7C16B878F800075C07 /* Flipside Test.app */, + C822FBAB16B878F800075C07 /* Flipside TestTests.octest */, + ); + name = Products; + sourceTree = ""; + }; + C822FB7F16B878F800075C07 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C822FB8016B878F800075C07 /* UIKit.framework */, + C822FB8216B878F800075C07 /* Foundation.framework */, + C822FB8416B878F800075C07 /* CoreGraphics.framework */, + C822FB8616B878F800075C07 /* CoreData.framework */, + C822FBAC16B878F800075C07 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + C822FB8816B878F800075C07 /* Flipside Test */ = { + isa = PBXGroup; + children = ( + C822FB9116B878F800075C07 /* CSCI494AppDelegate.h */, + C822FB9216B878F800075C07 /* CSCI494AppDelegate.m */, + C822FB9A16B878F800075C07 /* MainStoryboard.storyboard */, + C822FBA016B878F800075C07 /* CSCI494MainViewController.h */, + C822FBA116B878F800075C07 /* CSCI494MainViewController.m */, + C822FBA316B878F800075C07 /* CSCI494FlipsideViewController.h */, + C822FBA416B878F800075C07 /* CSCI494FlipsideViewController.m */, + C822FB9D16B878F800075C07 /* Flipside_Test.xcdatamodeld */, + C822FB8916B878F800075C07 /* Supporting Files */, + ); + path = "Flipside Test"; + sourceTree = ""; + }; + C822FB8916B878F800075C07 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C822FB8A16B878F800075C07 /* Flipside Test-Info.plist */, + C822FB8B16B878F800075C07 /* InfoPlist.strings */, + C822FB8E16B878F800075C07 /* main.m */, + C822FB9016B878F800075C07 /* Flipside Test-Prefix.pch */, + C822FB9416B878F800075C07 /* Default.png */, + C822FB9616B878F800075C07 /* Default@2x.png */, + C822FB9816B878F800075C07 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + C822FBB316B878F900075C07 /* Flipside TestTests */ = { + isa = PBXGroup; + children = ( + C822FBB916B878F900075C07 /* Flipside_TestTests.h */, + C822FBBA16B878F900075C07 /* Flipside_TestTests.m */, + C822FBB416B878F900075C07 /* Supporting Files */, + ); + path = "Flipside TestTests"; + sourceTree = ""; + }; + C822FBB416B878F900075C07 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C822FBB516B878F900075C07 /* Flipside TestTests-Info.plist */, + C822FBB616B878F900075C07 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C822FB7B16B878F800075C07 /* Flipside Test */ = { + isa = PBXNativeTarget; + buildConfigurationList = C822FBBE16B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside Test" */; + buildPhases = ( + C822FB7816B878F800075C07 /* Sources */, + C822FB7916B878F800075C07 /* Frameworks */, + C822FB7A16B878F800075C07 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Flipside Test"; + productName = "Flipside Test"; + productReference = C822FB7C16B878F800075C07 /* Flipside Test.app */; + productType = "com.apple.product-type.application"; + }; + C822FBAA16B878F800075C07 /* Flipside TestTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = C822FBC116B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside TestTests" */; + buildPhases = ( + C822FBA616B878F800075C07 /* Sources */, + C822FBA716B878F800075C07 /* Frameworks */, + C822FBA816B878F800075C07 /* Resources */, + C822FBA916B878F800075C07 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + C822FBB216B878F900075C07 /* PBXTargetDependency */, + ); + name = "Flipside TestTests"; + productName = "Flipside TestTests"; + productReference = C822FBAB16B878F800075C07 /* Flipside TestTests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C822FB7316B878F800075C07 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = CSCI494; + LastUpgradeCheck = 0450; + ORGANIZATIONNAME = "Andrew Wilson"; + }; + buildConfigurationList = C822FB7616B878F800075C07 /* Build configuration list for PBXProject "Flipside Test" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = C822FB7116B878F800075C07; + productRefGroup = C822FB7D16B878F800075C07 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C822FB7B16B878F800075C07 /* Flipside Test */, + C822FBAA16B878F800075C07 /* Flipside TestTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C822FB7A16B878F800075C07 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C822FB8D16B878F800075C07 /* InfoPlist.strings in Resources */, + C822FB9516B878F800075C07 /* Default.png in Resources */, + C822FB9716B878F800075C07 /* Default@2x.png in Resources */, + C822FB9916B878F800075C07 /* Default-568h@2x.png in Resources */, + C822FB9C16B878F800075C07 /* MainStoryboard.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C822FBA816B878F800075C07 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C822FBB816B878F900075C07 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + C822FBA916B878F800075C07 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C822FB7816B878F800075C07 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C822FB8F16B878F800075C07 /* main.m in Sources */, + C822FB9316B878F800075C07 /* CSCI494AppDelegate.m in Sources */, + C822FB9F16B878F800075C07 /* Flipside_Test.xcdatamodeld in Sources */, + C822FBA216B878F800075C07 /* CSCI494MainViewController.m in Sources */, + C822FBA516B878F800075C07 /* CSCI494FlipsideViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C822FBA616B878F800075C07 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C822FBBB16B878F900075C07 /* Flipside_TestTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + C822FBB216B878F900075C07 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C822FB7B16B878F800075C07 /* Flipside Test */; + targetProxy = C822FBB116B878F900075C07 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + C822FB8B16B878F800075C07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C822FB8C16B878F800075C07 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + C822FB9A16B878F800075C07 /* MainStoryboard.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C822FB9B16B878F800075C07 /* en */, + ); + name = MainStoryboard.storyboard; + sourceTree = ""; + }; + C822FBB616B878F900075C07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C822FBB716B878F900075C07 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C822FBBC16B878F900075C07 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + C822FBBD16B878F900075C07 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C822FBBF16B878F900075C07 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; + INFOPLIST_FILE = "Flipside Test/Flipside Test-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C822FBC016B878F900075C07 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; + INFOPLIST_FILE = "Flipside Test/Flipside Test-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C822FBC216B878F900075C07 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Flipside Test.app/Flipside Test"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; + INFOPLIST_FILE = "Flipside TestTests/Flipside TestTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + C822FBC316B878F900075C07 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Flipside Test.app/Flipside Test"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; + INFOPLIST_FILE = "Flipside TestTests/Flipside TestTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C822FB7616B878F800075C07 /* Build configuration list for PBXProject "Flipside Test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C822FBBC16B878F900075C07 /* Debug */, + C822FBBD16B878F900075C07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C822FBBE16B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside Test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C822FBBF16B878F900075C07 /* Debug */, + C822FBC016B878F900075C07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + C822FBC116B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside TestTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C822FBC216B878F900075C07 /* Debug */, + C822FBC316B878F900075C07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + +/* Begin XCVersionGroup section */ + C822FB9D16B878F800075C07 /* Flipside_Test.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + C822FB9E16B878F800075C07 /* Flipside_Test.xcdatamodel */, + ); + currentVersion = C822FB9E16B878F800075C07 /* Flipside_Test.xcdatamodel */; + path = Flipside_Test.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; +/* End XCVersionGroup section */ + }; + rootObject = C822FB7316B878F800075C07 /* Project object */; +} diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h b/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h new file mode 100644 index 0000000..b277530 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h @@ -0,0 +1,22 @@ +// +// CSCI494AppDelegate.h +// Flipside Test +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext; +@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel; +@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator; + +- (void)saveContext; +- (NSURL *)applicationDocumentsDirectory; + +@end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m b/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m new file mode 100644 index 0000000..0ef2821 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m @@ -0,0 +1,150 @@ +// +// CSCI494AppDelegate.m +// Flipside Test +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494AppDelegate.h" + +#import "CSCI494MainViewController.h" + +@implementation CSCI494AppDelegate + +@synthesize managedObjectContext = _managedObjectContext; +@synthesize managedObjectModel = _managedObjectModel; +@synthesize persistentStoreCoordinator = _persistentStoreCoordinator; + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + CSCI494MainViewController *controller = (CSCI494MainViewController *)self.window.rootViewController; + controller.managedObjectContext = self.managedObjectContext; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Saves changes in the application's managed object context before the application terminates. + [self saveContext]; +} + +- (void)saveContext +{ + NSError *error = nil; + NSManagedObjectContext *managedObjectContext = self.managedObjectContext; + if (managedObjectContext != nil) { + if ([managedObjectContext hasChanges] && ![managedObjectContext 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(); + } + } +} + +#pragma mark - Core Data stack + +// Returns the managed object context for the application. +// If the context doesn't already exist, it is created and bound to the persistent store coordinator for the application. +- (NSManagedObjectContext *)managedObjectContext +{ + if (_managedObjectContext != nil) { + return _managedObjectContext; + } + + NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator]; + if (coordinator != nil) { + _managedObjectContext = [[NSManagedObjectContext alloc] init]; + [_managedObjectContext setPersistentStoreCoordinator:coordinator]; + } + return _managedObjectContext; +} + +// Returns the managed object model for the application. +// If the model doesn't already exist, it is created from the application's model. +- (NSManagedObjectModel *)managedObjectModel +{ + if (_managedObjectModel != nil) { + return _managedObjectModel; + } + NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"Flipside_Test" withExtension:@"momd"]; + _managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL]; + return _managedObjectModel; +} + +// Returns the persistent store coordinator for the application. +// If the coordinator doesn't already exist, it is created and the application's store added to it. +- (NSPersistentStoreCoordinator *)persistentStoreCoordinator +{ + if (_persistentStoreCoordinator != nil) { + return _persistentStoreCoordinator; + } + + NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"Flipside_Test.sqlite"]; + + NSError *error = nil; + _persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:[self managedObjectModel]]; + if (![_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:nil error:&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. + + Typical reasons for an error here include: + * The persistent store is not accessible; + * The schema for the persistent store is incompatible with current managed object model. + Check the error message to determine what the actual problem was. + + + If the persistent store is not accessible, there is typically something wrong with the file path. Often, a file URL is pointing into the application's resources directory instead of a writeable directory. + + If you encounter schema incompatibility errors during development, you can reduce their frequency by: + * Simply deleting the existing store: + [[NSFileManager defaultManager] removeItemAtURL:storeURL error:nil] + + * Performing automatic lightweight migration by passing the following dictionary as the options parameter: + @{NSMigratePersistentStoresAutomaticallyOption:@YES, NSInferMappingModelAutomaticallyOption:@YES} + + Lightweight migration will only work for a limited set of schema changes; consult "Core Data Model Versioning and Data Migration Programming Guide" for details. + + */ + NSLog(@"Unresolved error %@, %@", error, [error userInfo]); + abort(); + } + + return _persistentStoreCoordinator; +} + +#pragma mark - Application's Documents directory + +// Returns the URL to the application's Documents directory. +- (NSURL *)applicationDocumentsDirectory +{ + return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]; +} + +@end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h b/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h new file mode 100644 index 0000000..ff0bb6f --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h @@ -0,0 +1,33 @@ +// +// CSCI494FlipsideViewController.h +// Flipside Test +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@class CSCI494FlipsideViewController; + +@protocol CSCI494FlipsideViewControllerDelegate +- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller; +@end + +@interface CSCI494FlipsideViewController : UIView +{ +UIView *subView; +UIBezierPath *path; +} + +@property (weak, nonatomic) id delegate; + + +- (IBAction)Draw:(id)sender; +- (IBAction)done:(id)sender; +- (IBAction)Red:(id)sender; +- (IBAction)Blue:(id)sender; +- (IBAction)Green:(id)sender; + +@end + diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m b/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m new file mode 100644 index 0000000..e097353 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m @@ -0,0 +1,94 @@ +// +// CSCI494FlipsideViewController.m +// Flipside Test +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494FlipsideViewController.h" + +@interface CSCI494FlipsideViewController () +@end + +@implementation CSCI494FlipsideViewController + +- (void)awakeFromNib +{ + self.backgroundColor = [UIColor blackColor]; + + // here's why it didn't work to do the drawing in this function... + NSLog( @"size is %@", NSStringFromCGRect( self.bounds ) ); + // ...the size of this view hasn't been set yet, so the path draws from (0,0) to (0,0) + + // the fix is this -- note the block syntax! + // we run the following block of code on the main thread, on the next run loop + dispatch_async( dispatch_get_main_queue(), ^{ +#if DRAW_LINE + path = [UIBezierPath new]; + [path moveToPoint:CGPointMake( 0., 0. )]; + [path addLineToPoint:CGPointMake( self.bounds.size.width, self.bounds.size.height )]; + +#else + path = [UIBezierPath bezierPathWithRoundedRect:self.bounds cornerRadius:15.]; + +#endif + + path.lineWidth = 5.; + + // now we have to notify the OS that this view needs to be redrawn + [self setNeedsDisplay]; + }); + [super awakeFromNib]; +} + +- (void)drawRect:(CGRect)rect +{ + // note this gets called twice a few milliseconds apart, once when the view is + // awakened, and a second time as a result of the redraw request we made above + NSLog( @"drawing %@", path ); + + [[UIColor redColor] set]; +#if DRAW_LINE + [path stroke]; +#else + [path fill]; +#endif +} + + + +#pragma mark - Actions + +- (IBAction)done:(id)sender +{ + [self.delegate flipsideViewControllerDidFinish:self]; +} + +- (IBAction)Red:(id)sender { + CGRect frame = CGRectMake(60, 100, 200, 200); + subView = [[UIView alloc] initWithFrame:frame]; + subView.backgroundColor = [UIColor redColor]; + [self addSubview:subView]; +} + +- (IBAction)Blue:(id)sender { + CGRect frame = CGRectMake(60, 100, 200, 200); + subView = [[UIView alloc] initWithFrame:frame]; + subView.backgroundColor = [UIColor blueColor]; + [self addSubview:subView]; +} + +- (IBAction)Green:(id)sender { + CGRect frame = CGRectMake(60, 100, 200, 200); + subView = [[UIView alloc] initWithFrame:frame]; + subView.backgroundColor = [UIColor greenColor]; + [self addSubview:subView]; +} + +- (IBAction)Draw:(id)sender { + UIBezierPath *myPath=[[UIBezierPath alloc]init]; + myPath.lineWidth=10; +// brushPattern=[UIColor redColor]; //This is the color of my stroke +} + @end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h b/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h new file mode 100644 index 0000000..24531fb --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h @@ -0,0 +1,17 @@ +// +// CSCI494MainViewController.h +// Flipside Test +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494FlipsideViewController.h" + +#import + +@interface CSCI494MainViewController : UIViewController + +@property (strong, nonatomic) NSManagedObjectContext *managedObjectContext; + +@end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m b/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m new file mode 100644 index 0000000..641eba9 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m @@ -0,0 +1,43 @@ +// +// CSCI494MainViewController.m +// Flipside Test +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494MainViewController.h" + +@interface CSCI494MainViewController () + +@end + +@implementation CSCI494MainViewController + +- (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. +} + +#pragma mark - Flipside View + +- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller +{ + [self dismissViewControllerAnimated:YES completion:nil]; +} + +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender +{ + if ([[segue identifier] isEqualToString:@"showAlternate"]) { + [[segue destinationViewController] setDelegate:self]; + } +} + +@end diff --git a/Assignment 2/Flipside Test/Flipside Test/Default-568h@2x.png b/Assignment 2/Flipside Test/Flipside Test/Default-568h@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0891b7aabfcf3422423b109c8beed2bab838c607 GIT binary patch literal 18594 zcmeI4X;f257Jx&9fS`ixvS;&$x8J@slQFSel)6zJN=?13FB7H(lQjRkSy8x_-S~tvu2gzn1oS+dLcF#eqtq$ z%tf9TTvX?`)R@}3uBI;jzS-=ZR-Td&MHaS&;!0?Ni*#$#`n*~CcQK)Q9vAQ~TUpnI!j)a2biYK^R)M~A5wUDZhx?ULMX z3x1P&qt=trOY6P2U67L=m=U?F|5#Uj(eCueNTZaHs_ceWiHeET+j+tp3Jt9g(ekqP z2WOvfR{qV+9r+o4J5?qK>7;;^+I7tGv-i)es$X_D=EoKF+S?zsyj^oRFElP}c}JT< zd8SUs-?O?}2YD#ngKbnHgzHBcboxK_2r9l(?eNCl-pEzkJm}fY?WC*jnS?VBE4EpY zO$fEejz6fU;W2Kl>JeQBZBl-%Irg`obSlg*@4QB;Dd1H7^Oi5wvt4d{RZ!8Og?^aE z)k0$1g+V3fd(gdQ3d&q2q-FL*uy#}|bc^=VhFsl0jBgUGJ+-s3U8MK9A!YJJMxpci z5hJ%|{DwV48fZn0{n5l$N_KcSb#NKE4plB`9I6Zt=Z!~-zw0{9tg$L&Ju1F0X)Cy8 zKF;(&lJ>x)Jw(=;p~sF(Sd9VWGwFE2rnyS9!f^DZ8+aCLq zQ};>lcJ1GDLqjm6Hd>|Eabno@P`~Bn(~6^aD_#yoEH(a?Nm1S<;S+hSxI5d16^<1lEM3NPFi zkqPrpL)+ zgnseFikg`gJVBha1&7C4;O6>h=dt~`ND+;Zd?W(4v2JIb7Pt>Td42%M-Ju-XAH#Pns762L}K3 zDhvsRqN0Ni(1UrishD2YvV?4*h2iFj$+&N||Fn$4n|^NSU+o?~jq`0jVQt8T9l{7b zXiwwODFh2V!Q6sqP9S>WH$oOf$N~=d0-bqTlD61!=`&0eAP-F>XN?*|gtOXX{ zQVTWyYo4ZK0GAw!GHf|pz9`D;-bbb*5LBX*{bnz|+)$@&P9|ORM2o?95{;ejvo&r- zq8cBhTN6nn)7~W>54U)%-F_-b?YKdfk5I8MHcuzBD5)!;yv#Z&R&^y=@=>VTIMy#r zX&U<=BsPkdqcMe<_}2+>H%XKyrr5ZR8_KVe>ZqYN z^=^~TFD};;rHJ$U;{~w^hYojl4hRI@SH$^K{YEo=sg)WY87r!*7blQK&qnpDo0`Vn zkl)9u9g=mCh&ZCJS(L4yN3k0kQ zuvg$h2KEEk51T+O0JQ+r0`R>g{jvqM0Mr6d3qUOZwE!?PI7HY@CE|dr sfw?Q;rAv?G4&^^8-z_>&sWXMxvD*gPOU4CBe-*@OtE+wfmVJNyHv)PfH~;_u literal 0 HcmV?d00001 diff --git a/Assignment 2/Flipside Test/Flipside Test/Default.png b/Assignment 2/Flipside Test/Flipside Test/Default.png new file mode 100644 index 0000000000000000000000000000000000000000..4c8ca6f693f96d511e9113c0eb59eec552354e42 GIT binary patch literal 6540 zcmeAS@N?(olHy`uVBq!ia0y~yU~~ZD2OMlbkt;o0To@QwR5G2N13aCb6#|O#(=u~X z85k@CTSM>X-wqM6>&y>YB4)1;;ojbLbbV-W^iFB1wa3^zCog^LCAReC4K0-?R_2{6 zrP*)4+_uWUy3w5N52M3PW_}MFMP9a~>YLvVZ1D_k*IMQ2QT^fwzoOb(*3gH$%aYWC zkHmcab=va2<#X%jakpJ;<1@F;k__#bwtC&%^D0v(FBh9K&$sK+<}2RJS609D)17$w ztdQP8(eLM8Ka}m_IQ@3wyMKP)l=oM4-?`YS_*P?4V_ORLPxsj&7Ju#kH;>6^Kp?T7~ zl+q?{UOOqV==?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F*sXWTMQPD z!Q(Au5|+F;7M~`tWbsU98~NA{h0Y7%GB|t&n}w9OOABU4^X*V5xuN;rY(M#ouuqm) zyt!e?28fY!FgP?8GvBsMl_aM^UUVKiGFsleFN?t^<46kO#pF-cX0;sIOb(aM z)^jQgX^Z6pKA9mC@N)_aiHj9HxD2|?A@Y9B_h}(*v3%ek8CXc1Qy^jFPF&zrMa1OZ zSVaF{&ZY|(|H0XE&X>-XQz1`=fF2n@VKC_|h3jlKVM&-jmyMavllcYr`6LVtfq2ou zd+8zkkCB+2)rxq0Lkq_&Ad@g(O8;pAm96>tu79?81T@Z<;gm^3ZtPG-SR94Mr<3tm z9NrR3u*4I5aMlo(09g@8m_;%Rf+XiSa_KZao9n}7N0JrsV#;5Ucr+F*TTzQ8{%f3O zeIUy?WDS|-$LvMc@Z7320)tr}bfIka5hx9H;8H|%our=C+Do0CSFRWue14o5#r8v2 zw=|&r4*eMX%lgCV(ka?*j%H^UuP4LmBC(ON`)&7>NF-|PDRU{-7o`CU0HNbd&c~))@yl9IKu_ zXA+A-!khpP_yx=f#qt2_0ptmgBf4gF!{Y)MW6R$cC1d7@$Yb?+_j zYwfE^5_e`vhT zX=u3r>4$fsxP&apbm@Rcbyuc2T=giqZiMo9@9=oua6#YH0hO-1ak9^rJTPMM qY4Yr5Cu^v99p{E9VdroUHKlRW;M8#BJ^AOQE?e9wSHJo8(7yq;BYKSh literal 0 HcmV?d00001 diff --git a/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Info.plist b/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Info.plist new file mode 100644 index 0000000..f25f0ad --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Info.plist @@ -0,0 +1,50 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + MainStoryboard + UIRequiredDeviceCapabilities + + armv7 + + UIStatusBarTintParameters + + UINavigationBar + + Style + UIBarStyleBlack + Translucent + + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch b/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch new file mode 100644 index 0000000..ad29a43 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch @@ -0,0 +1,15 @@ +// +// Prefix header for all source files of the 'Flipside Test' target in the 'Flipside Test' project +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import + #import +#endif diff --git a/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion b/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion new file mode 100644 index 0000000..a347eb6 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion @@ -0,0 +1,8 @@ + + + + + _XCCurrentVersionName + Flipside_Test.xcdatamodel + + diff --git a/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents b/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents new file mode 100644 index 0000000..193f33c --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings b/Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard b/Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard new file mode 100644 index 0000000..721e456 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment 2/Flipside Test/Flipside Test/main.m b/Assignment 2/Flipside Test/Flipside Test/main.m new file mode 100644 index 0000000..068f506 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside Test/main.m @@ -0,0 +1,18 @@ +// +// main.m +// Flipside Test +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +#import "CSCI494AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CSCI494AppDelegate class])); + } +} diff --git a/Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist b/Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist new file mode 100644 index 0000000..7a162f6 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h b/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h new file mode 100644 index 0000000..6bc7a85 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h @@ -0,0 +1,13 @@ +// +// Flipside_TestTests.h +// Flipside TestTests +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface Flipside_TestTests : SenTestCase + +@end diff --git a/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m b/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m new file mode 100644 index 0000000..2737060 --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m @@ -0,0 +1,32 @@ +// +// Flipside_TestTests.m +// Flipside TestTests +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "Flipside_TestTests.h" + +@implementation Flipside_TestTests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in Flipside TestTests"); +} + +@end diff --git a/Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings b/Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2.xcodeproj/project.pbxproj b/Assignment 2/iOS Assignment 2/iOS Assignment 2.xcodeproj/project.pbxproj new file mode 100644 index 0000000..93b9d80 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2.xcodeproj/project.pbxproj @@ -0,0 +1,465 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C8B673CC16C07E4C00E69E34 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8B673CB16C07E4C00E69E34 /* UIKit.framework */; }; + C8B673CE16C07E4C00E69E34 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8B673CD16C07E4C00E69E34 /* Foundation.framework */; }; + C8B673D016C07E4C00E69E34 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8B673CF16C07E4C00E69E34 /* CoreGraphics.framework */; }; + C8B673D616C07E4C00E69E34 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C8B673D416C07E4C00E69E34 /* InfoPlist.strings */; }; + C8B673D816C07E4C00E69E34 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C8B673D716C07E4C00E69E34 /* main.m */; }; + C8B673DC16C07E4C00E69E34 /* CSCI494AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C8B673DB16C07E4C00E69E34 /* CSCI494AppDelegate.m */; }; + C8B673DE16C07E4C00E69E34 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C8B673DD16C07E4C00E69E34 /* Default.png */; }; + C8B673E016C07E4C00E69E34 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C8B673DF16C07E4C00E69E34 /* Default@2x.png */; }; + C8B673E216C07E4C00E69E34 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C8B673E116C07E4C00E69E34 /* Default-568h@2x.png */; }; + C8B673E516C07E4C00E69E34 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C8B673E316C07E4C00E69E34 /* MainStoryboard.storyboard */; }; + C8B673E816C07E4C00E69E34 /* CSCI494ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C8B673E716C07E4C00E69E34 /* CSCI494ViewController.m */; }; + C8B673F016C07E4C00E69E34 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8B673EF16C07E4C00E69E34 /* SenTestingKit.framework */; }; + C8B673F116C07E4C00E69E34 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8B673CB16C07E4C00E69E34 /* UIKit.framework */; }; + C8B673F216C07E4C00E69E34 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8B673CD16C07E4C00E69E34 /* Foundation.framework */; }; + C8B673FA16C07E4C00E69E34 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C8B673F816C07E4C00E69E34 /* InfoPlist.strings */; }; + C8B673FD16C07E4C00E69E34 /* iOS_Assignment_2Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = C8B673FC16C07E4C00E69E34 /* iOS_Assignment_2Tests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + C8B673F316C07E4C00E69E34 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C8B673BE16C07E4C00E69E34 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C8B673C616C07E4C00E69E34; + remoteInfo = "iOS Assignment 2"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + C8B673C716C07E4C00E69E34 /* iOS Assignment 2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Assignment 2.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + C8B673CB16C07E4C00E69E34 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + C8B673CD16C07E4C00E69E34 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + C8B673CF16C07E4C00E69E34 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + C8B673D316C07E4C00E69E34 /* iOS Assignment 2-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS Assignment 2-Info.plist"; sourceTree = ""; }; + C8B673D516C07E4C00E69E34 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C8B673D716C07E4C00E69E34 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + C8B673D916C07E4C00E69E34 /* iOS Assignment 2-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOS Assignment 2-Prefix.pch"; sourceTree = ""; }; + C8B673DA16C07E4C00E69E34 /* CSCI494AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494AppDelegate.h; sourceTree = ""; }; + C8B673DB16C07E4C00E69E34 /* CSCI494AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494AppDelegate.m; sourceTree = ""; }; + C8B673DD16C07E4C00E69E34 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + C8B673DF16C07E4C00E69E34 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + C8B673E116C07E4C00E69E34 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + C8B673E416C07E4C00E69E34 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = ""; }; + C8B673E616C07E4C00E69E34 /* CSCI494ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494ViewController.h; sourceTree = ""; }; + C8B673E716C07E4C00E69E34 /* CSCI494ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494ViewController.m; sourceTree = ""; }; + C8B673EE16C07E4C00E69E34 /* iOS Assignment 2Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS Assignment 2Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; + C8B673EF16C07E4C00E69E34 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + C8B673F716C07E4C00E69E34 /* iOS Assignment 2Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS Assignment 2Tests-Info.plist"; sourceTree = ""; }; + C8B673F916C07E4C00E69E34 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + C8B673FB16C07E4C00E69E34 /* iOS_Assignment_2Tests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOS_Assignment_2Tests.h; sourceTree = ""; }; + C8B673FC16C07E4C00E69E34 /* iOS_Assignment_2Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOS_Assignment_2Tests.m; sourceTree = ""; }; + C8B6740616C07F8900E69E34 /* DrawController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DrawController.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C8B673C416C07E4C00E69E34 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C8B673CC16C07E4C00E69E34 /* UIKit.framework in Frameworks */, + C8B673CE16C07E4C00E69E34 /* Foundation.framework in Frameworks */, + C8B673D016C07E4C00E69E34 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C8B673EA16C07E4C00E69E34 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C8B673F016C07E4C00E69E34 /* SenTestingKit.framework in Frameworks */, + C8B673F116C07E4C00E69E34 /* UIKit.framework in Frameworks */, + C8B673F216C07E4C00E69E34 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C8B673BC16C07E4C00E69E34 = { + isa = PBXGroup; + children = ( + C8B673D116C07E4C00E69E34 /* iOS Assignment 2 */, + C8B673F516C07E4C00E69E34 /* iOS Assignment 2Tests */, + C8B673CA16C07E4C00E69E34 /* Frameworks */, + C8B673C816C07E4C00E69E34 /* Products */, + ); + sourceTree = ""; + }; + C8B673C816C07E4C00E69E34 /* Products */ = { + isa = PBXGroup; + children = ( + C8B673C716C07E4C00E69E34 /* iOS Assignment 2.app */, + C8B673EE16C07E4C00E69E34 /* iOS Assignment 2Tests.octest */, + ); + name = Products; + sourceTree = ""; + }; + C8B673CA16C07E4C00E69E34 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C8B673CB16C07E4C00E69E34 /* UIKit.framework */, + C8B673CD16C07E4C00E69E34 /* Foundation.framework */, + C8B673CF16C07E4C00E69E34 /* CoreGraphics.framework */, + C8B673EF16C07E4C00E69E34 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + C8B673D116C07E4C00E69E34 /* iOS Assignment 2 */ = { + isa = PBXGroup; + children = ( + C8B673DA16C07E4C00E69E34 /* CSCI494AppDelegate.h */, + C8B673DB16C07E4C00E69E34 /* CSCI494AppDelegate.m */, + C8B673E316C07E4C00E69E34 /* MainStoryboard.storyboard */, + C8B6740616C07F8900E69E34 /* DrawController.h */, + C8B673E616C07E4C00E69E34 /* CSCI494ViewController.h */, + C8B673E716C07E4C00E69E34 /* CSCI494ViewController.m */, + C8B673D216C07E4C00E69E34 /* Supporting Files */, + ); + path = "iOS Assignment 2"; + sourceTree = ""; + }; + C8B673D216C07E4C00E69E34 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C8B673D316C07E4C00E69E34 /* iOS Assignment 2-Info.plist */, + C8B673D416C07E4C00E69E34 /* InfoPlist.strings */, + C8B673D716C07E4C00E69E34 /* main.m */, + C8B673D916C07E4C00E69E34 /* iOS Assignment 2-Prefix.pch */, + C8B673DD16C07E4C00E69E34 /* Default.png */, + C8B673DF16C07E4C00E69E34 /* Default@2x.png */, + C8B673E116C07E4C00E69E34 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + C8B673F516C07E4C00E69E34 /* iOS Assignment 2Tests */ = { + isa = PBXGroup; + children = ( + C8B673FB16C07E4C00E69E34 /* iOS_Assignment_2Tests.h */, + C8B673FC16C07E4C00E69E34 /* iOS_Assignment_2Tests.m */, + C8B673F616C07E4C00E69E34 /* Supporting Files */, + ); + path = "iOS Assignment 2Tests"; + sourceTree = ""; + }; + C8B673F616C07E4C00E69E34 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C8B673F716C07E4C00E69E34 /* iOS Assignment 2Tests-Info.plist */, + C8B673F816C07E4C00E69E34 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C8B673C616C07E4C00E69E34 /* iOS Assignment 2 */ = { + isa = PBXNativeTarget; + buildConfigurationList = C8B6740016C07E4C00E69E34 /* Build configuration list for PBXNativeTarget "iOS Assignment 2" */; + buildPhases = ( + C8B673C316C07E4C00E69E34 /* Sources */, + C8B673C416C07E4C00E69E34 /* Frameworks */, + C8B673C516C07E4C00E69E34 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "iOS Assignment 2"; + productName = "iOS Assignment 2"; + productReference = C8B673C716C07E4C00E69E34 /* iOS Assignment 2.app */; + productType = "com.apple.product-type.application"; + }; + C8B673ED16C07E4C00E69E34 /* iOS Assignment 2Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = C8B6740316C07E4C00E69E34 /* Build configuration list for PBXNativeTarget "iOS Assignment 2Tests" */; + buildPhases = ( + C8B673E916C07E4C00E69E34 /* Sources */, + C8B673EA16C07E4C00E69E34 /* Frameworks */, + C8B673EB16C07E4C00E69E34 /* Resources */, + C8B673EC16C07E4C00E69E34 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + C8B673F416C07E4C00E69E34 /* PBXTargetDependency */, + ); + name = "iOS Assignment 2Tests"; + productName = "iOS Assignment 2Tests"; + productReference = C8B673EE16C07E4C00E69E34 /* iOS Assignment 2Tests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C8B673BE16C07E4C00E69E34 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = CSCI494; + LastUpgradeCheck = 0450; + ORGANIZATIONNAME = "Andrew Wilson"; + }; + buildConfigurationList = C8B673C116C07E4C00E69E34 /* Build configuration list for PBXProject "iOS Assignment 2" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = C8B673BC16C07E4C00E69E34; + productRefGroup = C8B673C816C07E4C00E69E34 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C8B673C616C07E4C00E69E34 /* iOS Assignment 2 */, + C8B673ED16C07E4C00E69E34 /* iOS Assignment 2Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C8B673C516C07E4C00E69E34 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C8B673D616C07E4C00E69E34 /* InfoPlist.strings in Resources */, + C8B673DE16C07E4C00E69E34 /* Default.png in Resources */, + C8B673E016C07E4C00E69E34 /* Default@2x.png in Resources */, + C8B673E216C07E4C00E69E34 /* Default-568h@2x.png in Resources */, + C8B673E516C07E4C00E69E34 /* MainStoryboard.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C8B673EB16C07E4C00E69E34 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C8B673FA16C07E4C00E69E34 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + C8B673EC16C07E4C00E69E34 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C8B673C316C07E4C00E69E34 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C8B673D816C07E4C00E69E34 /* main.m in Sources */, + C8B673DC16C07E4C00E69E34 /* CSCI494AppDelegate.m in Sources */, + C8B673E816C07E4C00E69E34 /* CSCI494ViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C8B673E916C07E4C00E69E34 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C8B673FD16C07E4C00E69E34 /* iOS_Assignment_2Tests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + C8B673F416C07E4C00E69E34 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C8B673C616C07E4C00E69E34 /* iOS Assignment 2 */; + targetProxy = C8B673F316C07E4C00E69E34 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + C8B673D416C07E4C00E69E34 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C8B673D516C07E4C00E69E34 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + C8B673E316C07E4C00E69E34 /* MainStoryboard.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C8B673E416C07E4C00E69E34 /* en */, + ); + name = MainStoryboard.storyboard; + sourceTree = ""; + }; + C8B673F816C07E4C00E69E34 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + C8B673F916C07E4C00E69E34 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C8B673FE16C07E4C00E69E34 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + C8B673FF16C07E4C00E69E34 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C8B6740116C07E4C00E69E34 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 2/iOS Assignment 2-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 2/iOS Assignment 2-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C8B6740216C07E4C00E69E34 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 2/iOS Assignment 2-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 2/iOS Assignment 2-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C8B6740416C07E4C00E69E34 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOS Assignment 2.app/iOS Assignment 2"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 2/iOS Assignment 2-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 2Tests/iOS Assignment 2Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + C8B6740516C07E4C00E69E34 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iOS Assignment 2.app/iOS Assignment 2"; + FRAMEWORK_SEARCH_PATHS = ( + "\"$(SDKROOT)/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iOS Assignment 2/iOS Assignment 2-Prefix.pch"; + INFOPLIST_FILE = "iOS Assignment 2Tests/iOS Assignment 2Tests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C8B673C116C07E4C00E69E34 /* Build configuration list for PBXProject "iOS Assignment 2" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C8B673FE16C07E4C00E69E34 /* Debug */, + C8B673FF16C07E4C00E69E34 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C8B6740016C07E4C00E69E34 /* Build configuration list for PBXNativeTarget "iOS Assignment 2" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C8B6740116C07E4C00E69E34 /* Debug */, + C8B6740216C07E4C00E69E34 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + C8B6740316C07E4C00E69E34 /* Build configuration list for PBXNativeTarget "iOS Assignment 2Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C8B6740416C07E4C00E69E34 /* Debug */, + C8B6740516C07E4C00E69E34 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = C8B673BE16C07E4C00E69E34 /* Project object */; +} diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.h b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.h new file mode 100644 index 0000000..cc70ae1 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.h @@ -0,0 +1,15 @@ +// +// CSCI494AppDelegate.h +// iOS Assignment 2 +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.m b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.m new file mode 100644 index 0000000..31d9c4c --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494AppDelegate.m @@ -0,0 +1,46 @@ +// +// CSCI494AppDelegate.m +// iOS Assignment 2 +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494AppDelegate.h" + +@implementation CSCI494AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.h b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.h new file mode 100644 index 0000000..3ead24d --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.h @@ -0,0 +1,23 @@ +// +// CSCI494FlipsideViewController.h +// iOS Assignment 2 +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@class CSCI494FlipsideViewController; + +@protocol CSCI494FlipsideViewControllerDelegate +- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller; +@end + +@interface CSCI494FlipsideViewController : UIViewController + +@property (weak, nonatomic) id delegate; + +- (IBAction)done:(id)sender; + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.m b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.m new file mode 100644 index 0000000..77d0f69 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.m @@ -0,0 +1,41 @@ +// +// CSCI494FlipsideViewController.m +// iOS Assignment 2 +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494FlipsideViewController.h" + +@interface CSCI494FlipsideViewController () + +@end + +@implementation CSCI494FlipsideViewController + +- (void)awakeFromNib +{ + [super awakeFromNib]; +} + +- (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. +} + +#pragma mark - Actions + +- (IBAction)done:(id)sender +{ + [self.delegate flipsideViewControllerDidFinish:self]; +} + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.xib b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.xib new file mode 100644 index 0000000..e47a0da --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ChildViewController.xib @@ -0,0 +1,116 @@ + + + + 1536 + 12A269 + 2835 + 1187 + 624.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1919 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + + 3 + MQA + + 2 + + + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + + 0 + + + + + + 1 + + + + + -1 + + + File's Owner + + + -2 + + + + + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 2 + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 1919 + + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.h b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.h new file mode 100644 index 0000000..3ead24d --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.h @@ -0,0 +1,23 @@ +// +// CSCI494FlipsideViewController.h +// iOS Assignment 2 +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@class CSCI494FlipsideViewController; + +@protocol CSCI494FlipsideViewControllerDelegate +- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller; +@end + +@interface CSCI494FlipsideViewController : UIViewController + +@property (weak, nonatomic) id delegate; + +- (IBAction)done:(id)sender; + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.m b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.m new file mode 100644 index 0000000..77d0f69 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494FlipsideViewController.m @@ -0,0 +1,41 @@ +// +// CSCI494FlipsideViewController.m +// iOS Assignment 2 +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494FlipsideViewController.h" + +@interface CSCI494FlipsideViewController () + +@end + +@implementation CSCI494FlipsideViewController + +- (void)awakeFromNib +{ + [super awakeFromNib]; +} + +- (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. +} + +#pragma mark - Actions + +- (IBAction)done:(id)sender +{ + [self.delegate flipsideViewControllerDidFinish:self]; +} + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.h b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.h new file mode 100644 index 0000000..d72a222 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.h @@ -0,0 +1,17 @@ +// +// CSCI494MainViewController.h +// iOS Assignment 2 +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494FlipsideViewController.h" + +#import + +@interface CSCI494MainViewController : UIViewController + +@property (strong, nonatomic) NSManagedObjectContext *managedObjectContext; + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.m b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.m new file mode 100644 index 0000000..4d71bea --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494MainViewController.m @@ -0,0 +1,43 @@ +// +// CSCI494MainViewController.m +// iOS Assignment 2 +// +// Created by Andrew Wilson on 1/29/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494MainViewController.h" + +@interface CSCI494MainViewController () + +@end + +@implementation CSCI494MainViewController + +- (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. +} + +#pragma mark - Flipside View + +- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller +{ + [self dismissViewControllerAnimated:YES completion:nil]; +} + +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender +{ + if ([[segue identifier] isEqualToString:@"showAlternate"]) { + [[segue destinationViewController] setDelegate:self]; + } +} + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.h b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.h new file mode 100644 index 0000000..824a70a --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.h @@ -0,0 +1,13 @@ +// +// CSCI494ViewController.h +// iOS Assignment 2 +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface CSCI494ViewController : UIViewController + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.m b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.m new file mode 100644 index 0000000..ad68fe5 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/CSCI494ViewController.m @@ -0,0 +1,29 @@ +// +// CSCI494ViewController.m +// iOS Assignment 2 +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "CSCI494ViewController.h" + +@interface CSCI494ViewController () + +@end + +@implementation CSCI494ViewController + +- (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/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default-568h@2x.png b/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default-568h@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0891b7aabfcf3422423b109c8beed2bab838c607 GIT binary patch literal 18594 zcmeI4X;f257Jx&9fS`ixvS;&$x8J@slQFSel)6zJN=?13FB7H(lQjRkSy8x_-S~tvu2gzn1oS+dLcF#eqtq$ z%tf9TTvX?`)R@}3uBI;jzS-=ZR-Td&MHaS&;!0?Ni*#$#`n*~CcQK)Q9vAQ~TUpnI!j)a2biYK^R)M~A5wUDZhx?ULMX z3x1P&qt=trOY6P2U67L=m=U?F|5#Uj(eCueNTZaHs_ceWiHeET+j+tp3Jt9g(ekqP z2WOvfR{qV+9r+o4J5?qK>7;;^+I7tGv-i)es$X_D=EoKF+S?zsyj^oRFElP}c}JT< zd8SUs-?O?}2YD#ngKbnHgzHBcboxK_2r9l(?eNCl-pEzkJm}fY?WC*jnS?VBE4EpY zO$fEejz6fU;W2Kl>JeQBZBl-%Irg`obSlg*@4QB;Dd1H7^Oi5wvt4d{RZ!8Og?^aE z)k0$1g+V3fd(gdQ3d&q2q-FL*uy#}|bc^=VhFsl0jBgUGJ+-s3U8MK9A!YJJMxpci z5hJ%|{DwV48fZn0{n5l$N_KcSb#NKE4plB`9I6Zt=Z!~-zw0{9tg$L&Ju1F0X)Cy8 zKF;(&lJ>x)Jw(=;p~sF(Sd9VWGwFE2rnyS9!f^DZ8+aCLq zQ};>lcJ1GDLqjm6Hd>|Eabno@P`~Bn(~6^aD_#yoEH(a?Nm1S<;S+hSxI5d16^<1lEM3NPFi zkqPrpL)+ zgnseFikg`gJVBha1&7C4;O6>h=dt~`ND+;Zd?W(4v2JIb7Pt>Td42%M-Ju-XAH#Pns762L}K3 zDhvsRqN0Ni(1UrishD2YvV?4*h2iFj$+&N||Fn$4n|^NSU+o?~jq`0jVQt8T9l{7b zXiwwODFh2V!Q6sqP9S>WH$oOf$N~=d0-bqTlD61!=`&0eAP-F>XN?*|gtOXX{ zQVTWyYo4ZK0GAw!GHf|pz9`D;-bbb*5LBX*{bnz|+)$@&P9|ORM2o?95{;ejvo&r- zq8cBhTN6nn)7~W>54U)%-F_-b?YKdfk5I8MHcuzBD5)!;yv#Z&R&^y=@=>VTIMy#r zX&U<=BsPkdqcMe<_}2+>H%XKyrr5ZR8_KVe>ZqYN z^=^~TFD};;rHJ$U;{~w^hYojl4hRI@SH$^K{YEo=sg)WY87r!*7blQK&qnpDo0`Vn zkl)9u9g=mCh&ZCJS(L4yN3k0kQ zuvg$h2KEEk51T+O0JQ+r0`R>g{jvqM0Mr6d3qUOZwE!?PI7HY@CE|dr sfw?Q;rAv?G4&^^8-z_>&sWXMxvD*gPOU4CBe-*@OtE+wfmVJNyHv)PfH~;_u literal 0 HcmV?d00001 diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default.png b/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default.png new file mode 100644 index 0000000000000000000000000000000000000000..4c8ca6f693f96d511e9113c0eb59eec552354e42 GIT binary patch literal 6540 zcmeAS@N?(olHy`uVBq!ia0y~yU~~ZD2OMlbkt;o0To@QwR5G2N13aCb6#|O#(=u~X z85k@CTSM>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/iOS Assignment 2/DrawController.h b/Assignment 2/iOS Assignment 2/iOS Assignment 2/DrawController.h new file mode 100644 index 0000000..1905e7b --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/DrawController.h @@ -0,0 +1,16 @@ +// +// DrawController.h +// iOS Assignment 2 +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface DrawController: UIView +{ + UIBezierPath *path; +} +@end + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/InfoPlist.strings b/Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/MainStoryboard.storyboard b/Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/MainStoryboard.storyboard new file mode 100644 index 0000000..19367e5 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/en.lproj/MainStoryboard.storyboard @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Info.plist b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Info.plist new file mode 100644 index 0000000..d5c5f57 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + MainStoryboard + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Prefix.pch b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Prefix.pch new file mode 100644 index 0000000..a534941 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS Assignment 2-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'iOS Assignment 2' target in the 'iOS Assignment 2' project +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/.xccurrentversion b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/.xccurrentversion new file mode 100644 index 0000000..967ffe9 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/.xccurrentversion @@ -0,0 +1,8 @@ + + + + + _XCCurrentVersionName + iOS_Assignment_2.xcdatamodel + + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/iOS_Assignment_2.xcdatamodel/contents b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/iOS_Assignment_2.xcdatamodel/contents new file mode 100644 index 0000000..193f33c --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/iOS_Assignment_2.xcdatamodeld/iOS_Assignment_2.xcdatamodel/contents @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/main.m b/Assignment 2/iOS Assignment 2/iOS Assignment 2/main.m new file mode 100644 index 0000000..d961a77 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2/main.m @@ -0,0 +1,18 @@ +// +// main.m +// iOS Assignment 2 +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +#import "CSCI494AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CSCI494AppDelegate class])); + } +} diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/en.lproj/InfoPlist.strings b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS Assignment 2Tests-Info.plist b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS Assignment 2Tests-Info.plist new file mode 100644 index 0000000..7a162f6 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS Assignment 2Tests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + CSCI494.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.h b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.h new file mode 100644 index 0000000..55dbf27 --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.h @@ -0,0 +1,13 @@ +// +// iOS_Assignment_2Tests.h +// iOS Assignment 2Tests +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import + +@interface iOS_Assignment_2Tests : SenTestCase + +@end diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.m b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.m new file mode 100644 index 0000000..3d70b8c --- /dev/null +++ b/Assignment 2/iOS Assignment 2/iOS Assignment 2Tests/iOS_Assignment_2Tests.m @@ -0,0 +1,32 @@ +// +// iOS_Assignment_2Tests.m +// iOS Assignment 2Tests +// +// Created by Andrew Wilson on 2/4/13. +// Copyright (c) 2013 Andrew Wilson. All rights reserved. +// + +#import "iOS_Assignment_2Tests.h" + +@implementation iOS_Assignment_2Tests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in iOS Assignment 2Tests"); +} + +@end From 8a25d1a936ab6e9be6118b32efb645b65f7a8e9f Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 4 Feb 2013 17:20:04 -0700 Subject: [PATCH 3/3] Revert "Assignment 2" This reverts commit 2aa9f7850154053b23f5c2a26a77ee730688622a. --- .../Flipside Test.xcodeproj/project.pbxproj | 492 ------------------ .../Flipside Test/CSCI494AppDelegate.h | 22 - .../Flipside Test/CSCI494AppDelegate.m | 150 ------ .../CSCI494FlipsideViewController.h | 33 -- .../CSCI494FlipsideViewController.m | 94 ---- .../Flipside Test/CSCI494MainViewController.h | 17 - .../Flipside Test/CSCI494MainViewController.m | 43 -- .../Flipside Test/Default-568h@2x.png | Bin 18594 -> 0 bytes .../Flipside Test/Flipside Test/Default.png | Bin 6540 -> 0 bytes .../Flipside Test/Default@2x.png | Bin 16107 -> 0 bytes .../Flipside Test/Flipside Test-Info.plist | 50 -- .../Flipside Test/Flipside Test-Prefix.pch | 15 - .../.xccurrentversion | 8 - .../Flipside_Test.xcdatamodel/contents | 4 - .../Flipside Test/en.lproj/InfoPlist.strings | 2 - .../en.lproj/MainStoryboard.storyboard | 157 ------ .../Flipside Test/Flipside Test/main.m | 18 - .../Flipside TestTests-Info.plist | 22 - .../Flipside TestTests/Flipside_TestTests.h | 13 - .../Flipside TestTests/Flipside_TestTests.m | 32 -- .../en.lproj/InfoPlist.strings | 2 - 21 files changed, 1174 deletions(-) delete mode 100644 Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj delete mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h delete mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m delete mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h delete mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m delete mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h delete mode 100644 Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m delete mode 100644 Assignment 2/Flipside Test/Flipside Test/Default-568h@2x.png delete mode 100644 Assignment 2/Flipside Test/Flipside Test/Default.png delete mode 100644 Assignment 2/Flipside Test/Flipside Test/Default@2x.png delete mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside Test-Info.plist delete mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch delete mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion delete mode 100644 Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents delete mode 100644 Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings delete mode 100644 Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard delete mode 100644 Assignment 2/Flipside Test/Flipside Test/main.m delete mode 100644 Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist delete mode 100644 Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h delete mode 100644 Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m delete mode 100644 Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings diff --git a/Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj b/Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj deleted file mode 100644 index 4ac4fdc..0000000 --- a/Assignment 2/Flipside Test/Flipside Test.xcodeproj/project.pbxproj +++ /dev/null @@ -1,492 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - C822FB8116B878F800075C07 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8016B878F800075C07 /* UIKit.framework */; }; - C822FB8316B878F800075C07 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8216B878F800075C07 /* Foundation.framework */; }; - C822FB8516B878F800075C07 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8416B878F800075C07 /* CoreGraphics.framework */; }; - C822FB8716B878F800075C07 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8616B878F800075C07 /* CoreData.framework */; }; - C822FB8D16B878F800075C07 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C822FB8B16B878F800075C07 /* InfoPlist.strings */; }; - C822FB8F16B878F800075C07 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FB8E16B878F800075C07 /* main.m */; }; - C822FB9316B878F800075C07 /* CSCI494AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FB9216B878F800075C07 /* CSCI494AppDelegate.m */; }; - C822FB9516B878F800075C07 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9416B878F800075C07 /* Default.png */; }; - C822FB9716B878F800075C07 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9616B878F800075C07 /* Default@2x.png */; }; - C822FB9916B878F800075C07 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9816B878F800075C07 /* Default-568h@2x.png */; }; - C822FB9C16B878F800075C07 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C822FB9A16B878F800075C07 /* MainStoryboard.storyboard */; }; - C822FB9F16B878F800075C07 /* Flipside_Test.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = C822FB9D16B878F800075C07 /* Flipside_Test.xcdatamodeld */; }; - C822FBA216B878F800075C07 /* CSCI494MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FBA116B878F800075C07 /* CSCI494MainViewController.m */; }; - C822FBA516B878F800075C07 /* CSCI494FlipsideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FBA416B878F800075C07 /* CSCI494FlipsideViewController.m */; }; - C822FBAD16B878F800075C07 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FBAC16B878F800075C07 /* SenTestingKit.framework */; }; - C822FBAE16B878F800075C07 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8016B878F800075C07 /* UIKit.framework */; }; - C822FBAF16B878F800075C07 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8216B878F800075C07 /* Foundation.framework */; }; - C822FBB016B878F800075C07 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C822FB8616B878F800075C07 /* CoreData.framework */; }; - C822FBB816B878F900075C07 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C822FBB616B878F900075C07 /* InfoPlist.strings */; }; - C822FBBB16B878F900075C07 /* Flipside_TestTests.m in Sources */ = {isa = PBXBuildFile; fileRef = C822FBBA16B878F900075C07 /* Flipside_TestTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - C822FBB116B878F900075C07 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C822FB7316B878F800075C07 /* Project object */; - proxyType = 1; - remoteGlobalIDString = C822FB7B16B878F800075C07; - remoteInfo = "Flipside Test"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - C822FB7C16B878F800075C07 /* Flipside Test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flipside Test.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - C822FB8016B878F800075C07 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - C822FB8216B878F800075C07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - C822FB8416B878F800075C07 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - C822FB8616B878F800075C07 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; - C822FB8A16B878F800075C07 /* Flipside Test-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Flipside Test-Info.plist"; sourceTree = ""; }; - C822FB8C16B878F800075C07 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - C822FB8E16B878F800075C07 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - C822FB9016B878F800075C07 /* Flipside Test-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Flipside Test-Prefix.pch"; sourceTree = ""; }; - C822FB9116B878F800075C07 /* CSCI494AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494AppDelegate.h; sourceTree = ""; }; - C822FB9216B878F800075C07 /* CSCI494AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494AppDelegate.m; sourceTree = ""; }; - C822FB9416B878F800075C07 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; - C822FB9616B878F800075C07 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; - C822FB9816B878F800075C07 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; - C822FB9B16B878F800075C07 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = ""; }; - C822FB9E16B878F800075C07 /* Flipside_Test.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Flipside_Test.xcdatamodel; sourceTree = ""; }; - C822FBA016B878F800075C07 /* CSCI494MainViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494MainViewController.h; sourceTree = ""; }; - C822FBA116B878F800075C07 /* CSCI494MainViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494MainViewController.m; sourceTree = ""; }; - C822FBA316B878F800075C07 /* CSCI494FlipsideViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSCI494FlipsideViewController.h; sourceTree = ""; }; - C822FBA416B878F800075C07 /* CSCI494FlipsideViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CSCI494FlipsideViewController.m; sourceTree = ""; }; - C822FBAB16B878F800075C07 /* Flipside TestTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Flipside TestTests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; - C822FBAC16B878F800075C07 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; - C822FBB516B878F900075C07 /* Flipside TestTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Flipside TestTests-Info.plist"; sourceTree = ""; }; - C822FBB716B878F900075C07 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - C822FBB916B878F900075C07 /* Flipside_TestTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Flipside_TestTests.h; sourceTree = ""; }; - C822FBBA16B878F900075C07 /* Flipside_TestTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Flipside_TestTests.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - C822FB7916B878F800075C07 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C822FB8116B878F800075C07 /* UIKit.framework in Frameworks */, - C822FB8316B878F800075C07 /* Foundation.framework in Frameworks */, - C822FB8516B878F800075C07 /* CoreGraphics.framework in Frameworks */, - C822FB8716B878F800075C07 /* CoreData.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C822FBA716B878F800075C07 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C822FBAD16B878F800075C07 /* SenTestingKit.framework in Frameworks */, - C822FBAE16B878F800075C07 /* UIKit.framework in Frameworks */, - C822FBAF16B878F800075C07 /* Foundation.framework in Frameworks */, - C822FBB016B878F800075C07 /* CoreData.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C822FB7116B878F800075C07 = { - isa = PBXGroup; - children = ( - C822FB8816B878F800075C07 /* Flipside Test */, - C822FBB316B878F900075C07 /* Flipside TestTests */, - C822FB7F16B878F800075C07 /* Frameworks */, - C822FB7D16B878F800075C07 /* Products */, - ); - sourceTree = ""; - }; - C822FB7D16B878F800075C07 /* Products */ = { - isa = PBXGroup; - children = ( - C822FB7C16B878F800075C07 /* Flipside Test.app */, - C822FBAB16B878F800075C07 /* Flipside TestTests.octest */, - ); - name = Products; - sourceTree = ""; - }; - C822FB7F16B878F800075C07 /* Frameworks */ = { - isa = PBXGroup; - children = ( - C822FB8016B878F800075C07 /* UIKit.framework */, - C822FB8216B878F800075C07 /* Foundation.framework */, - C822FB8416B878F800075C07 /* CoreGraphics.framework */, - C822FB8616B878F800075C07 /* CoreData.framework */, - C822FBAC16B878F800075C07 /* SenTestingKit.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - C822FB8816B878F800075C07 /* Flipside Test */ = { - isa = PBXGroup; - children = ( - C822FB9116B878F800075C07 /* CSCI494AppDelegate.h */, - C822FB9216B878F800075C07 /* CSCI494AppDelegate.m */, - C822FB9A16B878F800075C07 /* MainStoryboard.storyboard */, - C822FBA016B878F800075C07 /* CSCI494MainViewController.h */, - C822FBA116B878F800075C07 /* CSCI494MainViewController.m */, - C822FBA316B878F800075C07 /* CSCI494FlipsideViewController.h */, - C822FBA416B878F800075C07 /* CSCI494FlipsideViewController.m */, - C822FB9D16B878F800075C07 /* Flipside_Test.xcdatamodeld */, - C822FB8916B878F800075C07 /* Supporting Files */, - ); - path = "Flipside Test"; - sourceTree = ""; - }; - C822FB8916B878F800075C07 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - C822FB8A16B878F800075C07 /* Flipside Test-Info.plist */, - C822FB8B16B878F800075C07 /* InfoPlist.strings */, - C822FB8E16B878F800075C07 /* main.m */, - C822FB9016B878F800075C07 /* Flipside Test-Prefix.pch */, - C822FB9416B878F800075C07 /* Default.png */, - C822FB9616B878F800075C07 /* Default@2x.png */, - C822FB9816B878F800075C07 /* Default-568h@2x.png */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - C822FBB316B878F900075C07 /* Flipside TestTests */ = { - isa = PBXGroup; - children = ( - C822FBB916B878F900075C07 /* Flipside_TestTests.h */, - C822FBBA16B878F900075C07 /* Flipside_TestTests.m */, - C822FBB416B878F900075C07 /* Supporting Files */, - ); - path = "Flipside TestTests"; - sourceTree = ""; - }; - C822FBB416B878F900075C07 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - C822FBB516B878F900075C07 /* Flipside TestTests-Info.plist */, - C822FBB616B878F900075C07 /* InfoPlist.strings */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - C822FB7B16B878F800075C07 /* Flipside Test */ = { - isa = PBXNativeTarget; - buildConfigurationList = C822FBBE16B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside Test" */; - buildPhases = ( - C822FB7816B878F800075C07 /* Sources */, - C822FB7916B878F800075C07 /* Frameworks */, - C822FB7A16B878F800075C07 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Flipside Test"; - productName = "Flipside Test"; - productReference = C822FB7C16B878F800075C07 /* Flipside Test.app */; - productType = "com.apple.product-type.application"; - }; - C822FBAA16B878F800075C07 /* Flipside TestTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = C822FBC116B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside TestTests" */; - buildPhases = ( - C822FBA616B878F800075C07 /* Sources */, - C822FBA716B878F800075C07 /* Frameworks */, - C822FBA816B878F800075C07 /* Resources */, - C822FBA916B878F800075C07 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - C822FBB216B878F900075C07 /* PBXTargetDependency */, - ); - name = "Flipside TestTests"; - productName = "Flipside TestTests"; - productReference = C822FBAB16B878F800075C07 /* Flipside TestTests.octest */; - productType = "com.apple.product-type.bundle"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - C822FB7316B878F800075C07 /* Project object */ = { - isa = PBXProject; - attributes = { - CLASSPREFIX = CSCI494; - LastUpgradeCheck = 0450; - ORGANIZATIONNAME = "Andrew Wilson"; - }; - buildConfigurationList = C822FB7616B878F800075C07 /* Build configuration list for PBXProject "Flipside Test" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = C822FB7116B878F800075C07; - productRefGroup = C822FB7D16B878F800075C07 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C822FB7B16B878F800075C07 /* Flipside Test */, - C822FBAA16B878F800075C07 /* Flipside TestTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - C822FB7A16B878F800075C07 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C822FB8D16B878F800075C07 /* InfoPlist.strings in Resources */, - C822FB9516B878F800075C07 /* Default.png in Resources */, - C822FB9716B878F800075C07 /* Default@2x.png in Resources */, - C822FB9916B878F800075C07 /* Default-568h@2x.png in Resources */, - C822FB9C16B878F800075C07 /* MainStoryboard.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C822FBA816B878F800075C07 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C822FBB816B878F900075C07 /* InfoPlist.strings in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - C822FBA916B878F800075C07 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - C822FB7816B878F800075C07 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C822FB8F16B878F800075C07 /* main.m in Sources */, - C822FB9316B878F800075C07 /* CSCI494AppDelegate.m in Sources */, - C822FB9F16B878F800075C07 /* Flipside_Test.xcdatamodeld in Sources */, - C822FBA216B878F800075C07 /* CSCI494MainViewController.m in Sources */, - C822FBA516B878F800075C07 /* CSCI494FlipsideViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C822FBA616B878F800075C07 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C822FBBB16B878F900075C07 /* Flipside_TestTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - C822FBB216B878F900075C07 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C822FB7B16B878F800075C07 /* Flipside Test */; - targetProxy = C822FBB116B878F900075C07 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - C822FB8B16B878F800075C07 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - C822FB8C16B878F800075C07 /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; - C822FB9A16B878F800075C07 /* MainStoryboard.storyboard */ = { - isa = PBXVariantGroup; - children = ( - C822FB9B16B878F800075C07 /* en */, - ); - name = MainStoryboard.storyboard; - sourceTree = ""; - }; - C822FBB616B878F900075C07 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - C822FBB716B878F900075C07 /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - C822FBBC16B878F900075C07 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - C822FBBD16B878F900075C07 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C822FBBF16B878F900075C07 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; - INFOPLIST_FILE = "Flipside Test/Flipside Test-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - C822FBC016B878F900075C07 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; - INFOPLIST_FILE = "Flipside Test/Flipside Test-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - C822FBC216B878F900075C07 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Flipside Test.app/Flipside Test"; - FRAMEWORK_SEARCH_PATHS = ( - "\"$(SDKROOT)/Developer/Library/Frameworks\"", - "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; - INFOPLIST_FILE = "Flipside TestTests/Flipside TestTests-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUNDLE_LOADER)"; - WRAPPER_EXTENSION = octest; - }; - name = Debug; - }; - C822FBC316B878F900075C07 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Flipside Test.app/Flipside Test"; - FRAMEWORK_SEARCH_PATHS = ( - "\"$(SDKROOT)/Developer/Library/Frameworks\"", - "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Flipside Test/Flipside Test-Prefix.pch"; - INFOPLIST_FILE = "Flipside TestTests/Flipside TestTests-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUNDLE_LOADER)"; - WRAPPER_EXTENSION = octest; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C822FB7616B878F800075C07 /* Build configuration list for PBXProject "Flipside Test" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C822FBBC16B878F900075C07 /* Debug */, - C822FBBD16B878F900075C07 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C822FBBE16B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside Test" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C822FBBF16B878F900075C07 /* Debug */, - C822FBC016B878F900075C07 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; - C822FBC116B878F900075C07 /* Build configuration list for PBXNativeTarget "Flipside TestTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C822FBC216B878F900075C07 /* Debug */, - C822FBC316B878F900075C07 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; -/* End XCConfigurationList section */ - -/* Begin XCVersionGroup section */ - C822FB9D16B878F800075C07 /* Flipside_Test.xcdatamodeld */ = { - isa = XCVersionGroup; - children = ( - C822FB9E16B878F800075C07 /* Flipside_Test.xcdatamodel */, - ); - currentVersion = C822FB9E16B878F800075C07 /* Flipside_Test.xcdatamodel */; - path = Flipside_Test.xcdatamodeld; - sourceTree = ""; - versionGroupType = wrapper.xcdatamodel; - }; -/* End XCVersionGroup section */ - }; - rootObject = C822FB7316B878F800075C07 /* Project object */; -} diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h b/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h deleted file mode 100644 index b277530..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// CSCI494AppDelegate.h -// Flipside Test -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import - -@interface CSCI494AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext; -@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel; -@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator; - -- (void)saveContext; -- (NSURL *)applicationDocumentsDirectory; - -@end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m b/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m deleted file mode 100644 index 0ef2821..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/CSCI494AppDelegate.m +++ /dev/null @@ -1,150 +0,0 @@ -// -// CSCI494AppDelegate.m -// Flipside Test -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import "CSCI494AppDelegate.h" - -#import "CSCI494MainViewController.h" - -@implementation CSCI494AppDelegate - -@synthesize managedObjectContext = _managedObjectContext; -@synthesize managedObjectModel = _managedObjectModel; -@synthesize persistentStoreCoordinator = _persistentStoreCoordinator; - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - // Override point for customization after application launch. - CSCI494MainViewController *controller = (CSCI494MainViewController *)self.window.rootViewController; - controller.managedObjectContext = self.managedObjectContext; - return YES; -} - -- (void)applicationWillResignActive:(UIApplication *)application -{ - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. -} - -- (void)applicationDidEnterBackground:(UIApplication *)application -{ - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. -} - -- (void)applicationWillEnterForeground:(UIApplication *)application -{ - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. -} - -- (void)applicationDidBecomeActive:(UIApplication *)application -{ - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. -} - -- (void)applicationWillTerminate:(UIApplication *)application -{ - // Saves changes in the application's managed object context before the application terminates. - [self saveContext]; -} - -- (void)saveContext -{ - NSError *error = nil; - NSManagedObjectContext *managedObjectContext = self.managedObjectContext; - if (managedObjectContext != nil) { - if ([managedObjectContext hasChanges] && ![managedObjectContext 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(); - } - } -} - -#pragma mark - Core Data stack - -// Returns the managed object context for the application. -// If the context doesn't already exist, it is created and bound to the persistent store coordinator for the application. -- (NSManagedObjectContext *)managedObjectContext -{ - if (_managedObjectContext != nil) { - return _managedObjectContext; - } - - NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator]; - if (coordinator != nil) { - _managedObjectContext = [[NSManagedObjectContext alloc] init]; - [_managedObjectContext setPersistentStoreCoordinator:coordinator]; - } - return _managedObjectContext; -} - -// Returns the managed object model for the application. -// If the model doesn't already exist, it is created from the application's model. -- (NSManagedObjectModel *)managedObjectModel -{ - if (_managedObjectModel != nil) { - return _managedObjectModel; - } - NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"Flipside_Test" withExtension:@"momd"]; - _managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL]; - return _managedObjectModel; -} - -// Returns the persistent store coordinator for the application. -// If the coordinator doesn't already exist, it is created and the application's store added to it. -- (NSPersistentStoreCoordinator *)persistentStoreCoordinator -{ - if (_persistentStoreCoordinator != nil) { - return _persistentStoreCoordinator; - } - - NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"Flipside_Test.sqlite"]; - - NSError *error = nil; - _persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:[self managedObjectModel]]; - if (![_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:nil error:&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. - - Typical reasons for an error here include: - * The persistent store is not accessible; - * The schema for the persistent store is incompatible with current managed object model. - Check the error message to determine what the actual problem was. - - - If the persistent store is not accessible, there is typically something wrong with the file path. Often, a file URL is pointing into the application's resources directory instead of a writeable directory. - - If you encounter schema incompatibility errors during development, you can reduce their frequency by: - * Simply deleting the existing store: - [[NSFileManager defaultManager] removeItemAtURL:storeURL error:nil] - - * Performing automatic lightweight migration by passing the following dictionary as the options parameter: - @{NSMigratePersistentStoresAutomaticallyOption:@YES, NSInferMappingModelAutomaticallyOption:@YES} - - Lightweight migration will only work for a limited set of schema changes; consult "Core Data Model Versioning and Data Migration Programming Guide" for details. - - */ - NSLog(@"Unresolved error %@, %@", error, [error userInfo]); - abort(); - } - - return _persistentStoreCoordinator; -} - -#pragma mark - Application's Documents directory - -// Returns the URL to the application's Documents directory. -- (NSURL *)applicationDocumentsDirectory -{ - return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]; -} - -@end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h b/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h deleted file mode 100644 index ff0bb6f..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// CSCI494FlipsideViewController.h -// Flipside Test -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import - -@class CSCI494FlipsideViewController; - -@protocol CSCI494FlipsideViewControllerDelegate -- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller; -@end - -@interface CSCI494FlipsideViewController : UIView -{ -UIView *subView; -UIBezierPath *path; -} - -@property (weak, nonatomic) id delegate; - - -- (IBAction)Draw:(id)sender; -- (IBAction)done:(id)sender; -- (IBAction)Red:(id)sender; -- (IBAction)Blue:(id)sender; -- (IBAction)Green:(id)sender; - -@end - diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m b/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m deleted file mode 100644 index e097353..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/CSCI494FlipsideViewController.m +++ /dev/null @@ -1,94 +0,0 @@ -// -// CSCI494FlipsideViewController.m -// Flipside Test -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import "CSCI494FlipsideViewController.h" - -@interface CSCI494FlipsideViewController () -@end - -@implementation CSCI494FlipsideViewController - -- (void)awakeFromNib -{ - self.backgroundColor = [UIColor blackColor]; - - // here's why it didn't work to do the drawing in this function... - NSLog( @"size is %@", NSStringFromCGRect( self.bounds ) ); - // ...the size of this view hasn't been set yet, so the path draws from (0,0) to (0,0) - - // the fix is this -- note the block syntax! - // we run the following block of code on the main thread, on the next run loop - dispatch_async( dispatch_get_main_queue(), ^{ -#if DRAW_LINE - path = [UIBezierPath new]; - [path moveToPoint:CGPointMake( 0., 0. )]; - [path addLineToPoint:CGPointMake( self.bounds.size.width, self.bounds.size.height )]; - -#else - path = [UIBezierPath bezierPathWithRoundedRect:self.bounds cornerRadius:15.]; - -#endif - - path.lineWidth = 5.; - - // now we have to notify the OS that this view needs to be redrawn - [self setNeedsDisplay]; - }); - [super awakeFromNib]; -} - -- (void)drawRect:(CGRect)rect -{ - // note this gets called twice a few milliseconds apart, once when the view is - // awakened, and a second time as a result of the redraw request we made above - NSLog( @"drawing %@", path ); - - [[UIColor redColor] set]; -#if DRAW_LINE - [path stroke]; -#else - [path fill]; -#endif -} - - - -#pragma mark - Actions - -- (IBAction)done:(id)sender -{ - [self.delegate flipsideViewControllerDidFinish:self]; -} - -- (IBAction)Red:(id)sender { - CGRect frame = CGRectMake(60, 100, 200, 200); - subView = [[UIView alloc] initWithFrame:frame]; - subView.backgroundColor = [UIColor redColor]; - [self addSubview:subView]; -} - -- (IBAction)Blue:(id)sender { - CGRect frame = CGRectMake(60, 100, 200, 200); - subView = [[UIView alloc] initWithFrame:frame]; - subView.backgroundColor = [UIColor blueColor]; - [self addSubview:subView]; -} - -- (IBAction)Green:(id)sender { - CGRect frame = CGRectMake(60, 100, 200, 200); - subView = [[UIView alloc] initWithFrame:frame]; - subView.backgroundColor = [UIColor greenColor]; - [self addSubview:subView]; -} - -- (IBAction)Draw:(id)sender { - UIBezierPath *myPath=[[UIBezierPath alloc]init]; - myPath.lineWidth=10; -// brushPattern=[UIColor redColor]; //This is the color of my stroke -} - @end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h b/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h deleted file mode 100644 index 24531fb..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// CSCI494MainViewController.h -// Flipside Test -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import "CSCI494FlipsideViewController.h" - -#import - -@interface CSCI494MainViewController : UIViewController - -@property (strong, nonatomic) NSManagedObjectContext *managedObjectContext; - -@end diff --git a/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m b/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m deleted file mode 100644 index 641eba9..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/CSCI494MainViewController.m +++ /dev/null @@ -1,43 +0,0 @@ -// -// CSCI494MainViewController.m -// Flipside Test -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import "CSCI494MainViewController.h" - -@interface CSCI494MainViewController () - -@end - -@implementation CSCI494MainViewController - -- (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. -} - -#pragma mark - Flipside View - -- (void)flipsideViewControllerDidFinish:(CSCI494FlipsideViewController *)controller -{ - [self dismissViewControllerAnimated:YES completion:nil]; -} - -- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender -{ - if ([[segue identifier] isEqualToString:@"showAlternate"]) { - [[segue destinationViewController] setDelegate:self]; - } -} - -@end diff --git a/Assignment 2/Flipside Test/Flipside Test/Default-568h@2x.png b/Assignment 2/Flipside Test/Flipside Test/Default-568h@2x.png deleted file mode 100644 index 0891b7aabfcf3422423b109c8beed2bab838c607..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18594 zcmeI4X;f257Jx&9fS`ixvS;&$x8J@slQFSel)6zJN=?13FB7H(lQjRkSy8x_-S~tvu2gzn1oS+dLcF#eqtq$ z%tf9TTvX?`)R@}3uBI;jzS-=ZR-Td&MHaS&;!0?Ni*#$#`n*~CcQK)Q9vAQ~TUpnI!j)a2biYK^R)M~A5wUDZhx?ULMX z3x1P&qt=trOY6P2U67L=m=U?F|5#Uj(eCueNTZaHs_ceWiHeET+j+tp3Jt9g(ekqP z2WOvfR{qV+9r+o4J5?qK>7;;^+I7tGv-i)es$X_D=EoKF+S?zsyj^oRFElP}c}JT< zd8SUs-?O?}2YD#ngKbnHgzHBcboxK_2r9l(?eNCl-pEzkJm}fY?WC*jnS?VBE4EpY zO$fEejz6fU;W2Kl>JeQBZBl-%Irg`obSlg*@4QB;Dd1H7^Oi5wvt4d{RZ!8Og?^aE z)k0$1g+V3fd(gdQ3d&q2q-FL*uy#}|bc^=VhFsl0jBgUGJ+-s3U8MK9A!YJJMxpci z5hJ%|{DwV48fZn0{n5l$N_KcSb#NKE4plB`9I6Zt=Z!~-zw0{9tg$L&Ju1F0X)Cy8 zKF;(&lJ>x)Jw(=;p~sF(Sd9VWGwFE2rnyS9!f^DZ8+aCLq zQ};>lcJ1GDLqjm6Hd>|Eabno@P`~Bn(~6^aD_#yoEH(a?Nm1S<;S+hSxI5d16^<1lEM3NPFi zkqPrpL)+ zgnseFikg`gJVBha1&7C4;O6>h=dt~`ND+;Zd?W(4v2JIb7Pt>Td42%M-Ju-XAH#Pns762L}K3 zDhvsRqN0Ni(1UrishD2YvV?4*h2iFj$+&N||Fn$4n|^NSU+o?~jq`0jVQt8T9l{7b zXiwwODFh2V!Q6sqP9S>WH$oOf$N~=d0-bqTlD61!=`&0eAP-F>XN?*|gtOXX{ zQVTWyYo4ZK0GAw!GHf|pz9`D;-bbb*5LBX*{bnz|+)$@&P9|ORM2o?95{;ejvo&r- zq8cBhTN6nn)7~W>54U)%-F_-b?YKdfk5I8MHcuzBD5)!;yv#Z&R&^y=@=>VTIMy#r zX&U<=BsPkdqcMe<_}2+>H%XKyrr5ZR8_KVe>ZqYN z^=^~TFD};;rHJ$U;{~w^hYojl4hRI@SH$^K{YEo=sg)WY87r!*7blQK&qnpDo0`Vn zkl)9u9g=mCh&ZCJS(L4yN3k0kQ zuvg$h2KEEk51T+O0JQ+r0`R>g{jvqM0Mr6d3qUOZwE!?PI7HY@CE|dr sfw?Q;rAv?G4&^^8-z_>&sWXMxvD*gPOU4CBe-*@OtE+wfmVJNyHv)PfH~;_u diff --git a/Assignment 2/Flipside Test/Flipside Test/Default.png b/Assignment 2/Flipside Test/Flipside Test/Default.png deleted file mode 100644 index 4c8ca6f693f96d511e9113c0eb59eec552354e42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6540 zcmeAS@N?(olHy`uVBq!ia0y~yU~~ZD2OMlbkt;o0To@QwR5G2N13aCb6#|O#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ipside Test/Flipside Test-Info.plist b/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Info.plist deleted file mode 100644 index f25f0ad..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Info.plist +++ /dev/null @@ -1,50 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - CSCI494.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - UIMainStoryboardFile - MainStoryboard - UIRequiredDeviceCapabilities - - armv7 - - UIStatusBarTintParameters - - UINavigationBar - - Style - UIBarStyleBlack - Translucent - - - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch b/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch deleted file mode 100644 index ad29a43..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/Flipside Test-Prefix.pch +++ /dev/null @@ -1,15 +0,0 @@ -// -// Prefix header for all source files of the 'Flipside Test' target in the 'Flipside Test' project -// - -#import - -#ifndef __IPHONE_5_0 -#warning "This project uses features only available in iOS SDK 5.0 and later." -#endif - -#ifdef __OBJC__ - #import - #import - #import -#endif diff --git a/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion b/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion deleted file mode 100644 index a347eb6..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/.xccurrentversion +++ /dev/null @@ -1,8 +0,0 @@ - - - - - _XCCurrentVersionName - Flipside_Test.xcdatamodel - - diff --git a/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents b/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents deleted file mode 100644 index 193f33c..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/Flipside_Test.xcdatamodeld/Flipside_Test.xcdatamodel/contents +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings b/Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28f..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard b/Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard deleted file mode 100644 index 721e456..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/en.lproj/MainStoryboard.storyboard +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Assignment 2/Flipside Test/Flipside Test/main.m b/Assignment 2/Flipside Test/Flipside Test/main.m deleted file mode 100644 index 068f506..0000000 --- a/Assignment 2/Flipside Test/Flipside Test/main.m +++ /dev/null @@ -1,18 +0,0 @@ -// -// main.m -// Flipside Test -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import - -#import "CSCI494AppDelegate.h" - -int main(int argc, char *argv[]) -{ - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([CSCI494AppDelegate class])); - } -} diff --git a/Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist b/Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist deleted file mode 100644 index 7a162f6..0000000 --- a/Assignment 2/Flipside Test/Flipside TestTests/Flipside TestTests-Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - CSCI494.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h b/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h deleted file mode 100644 index 6bc7a85..0000000 --- a/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// Flipside_TestTests.h -// Flipside TestTests -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import - -@interface Flipside_TestTests : SenTestCase - -@end diff --git a/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m b/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m deleted file mode 100644 index 2737060..0000000 --- a/Assignment 2/Flipside Test/Flipside TestTests/Flipside_TestTests.m +++ /dev/null @@ -1,32 +0,0 @@ -// -// Flipside_TestTests.m -// Flipside TestTests -// -// Created by Andrew Wilson on 1/29/13. -// Copyright (c) 2013 Andrew Wilson. All rights reserved. -// - -#import "Flipside_TestTests.h" - -@implementation Flipside_TestTests - -- (void)setUp -{ - [super setUp]; - - // Set-up code here. -} - -- (void)tearDown -{ - // Tear-down code here. - - [super tearDown]; -} - -- (void)testExample -{ - STFail(@"Unit tests are not implemented yet in Flipside TestTests"); -} - -@end diff --git a/Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings b/Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28f..0000000 --- a/Assignment 2/Flipside Test/Flipside TestTests/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ -