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..bdfc7ce --- /dev/null +++ b/Assignment 1/iOS Assignment 1/iOS Assignment 1/CSCI494ViewController.m @@ -0,0 +1,35 @@ +// +// 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 0000000..0891b7a Binary files /dev/null and b/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default-568h@2x.png differ 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 0000000..4c8ca6f Binary files /dev/null and b/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default.png differ diff --git a/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default@2x.png b/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/Assignment 1/iOS Assignment 1/iOS Assignment 1/Default@2x.png differ 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 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 0000000..0891b7a Binary files /dev/null and b/Assignment 1/iOS Assignment1/iOS Assignment1/Default-568h@2x.png differ 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 0000000..4c8ca6f Binary files /dev/null and b/Assignment 1/iOS Assignment1/iOS Assignment1/Default.png differ diff --git a/Assignment 1/iOS Assignment1/iOS Assignment1/Default@2x.png b/Assignment 1/iOS Assignment1/iOS Assignment1/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/Assignment 1/iOS Assignment1/iOS Assignment1/Default@2x.png differ 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 0000000..0891b7a Binary files /dev/null and b/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default-568h@2x.png differ 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 0000000..4c8ca6f Binary files /dev/null and b/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default.png differ diff --git a/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default@2x.png b/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/Assignment 1/iOSAssignment 1/iOSAssignment 1/Default@2x.png differ 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 0000000..0891b7a Binary files /dev/null and b/Assignment 1/iOSAssignment1/iOSAssignment1/Default-568h@2x.png differ diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/Default.png b/Assignment 1/iOSAssignment1/iOSAssignment1/Default.png new file mode 100644 index 0000000..4c8ca6f Binary files /dev/null and b/Assignment 1/iOSAssignment1/iOSAssignment1/Default.png differ diff --git a/Assignment 1/iOSAssignment1/iOSAssignment1/Default@2x.png b/Assignment 1/iOSAssignment1/iOSAssignment1/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/Assignment 1/iOSAssignment1/iOSAssignment1/Default@2x.png differ 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/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 0000000..0891b7a Binary files /dev/null and b/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default-568h@2x.png differ 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 0000000..4c8ca6f Binary files /dev/null and b/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default.png differ diff --git a/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default@2x.png b/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/Assignment 2/iOS Assignment 2/iOS Assignment 2/Default@2x.png differ diff --git a/Assignment 2/iOS Assignment 2/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