diff --git a/Week1/APLOC2 Week 1/APLOC2 Week 1.xcodeproj/project.xcworkspace/xcuserdata/notmyemail.xcuserdatad/UserInterfaceState.xcuserstate b/Week1/APLOC2 Week 1/APLOC2 Week 1.xcodeproj/project.xcworkspace/xcuserdata/notmyemail.xcuserdatad/UserInterfaceState.xcuserstate index 233d61b..4414114 100644 Binary files a/Week1/APLOC2 Week 1/APLOC2 Week 1.xcodeproj/project.xcworkspace/xcuserdata/notmyemail.xcuserdatad/UserInterfaceState.xcuserstate and b/Week1/APLOC2 Week 1/APLOC2 Week 1.xcodeproj/project.xcworkspace/xcuserdata/notmyemail.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.pbxproj b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e282fec --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.pbxproj @@ -0,0 +1,329 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 65D407B116CD2D6F00FAE85B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 65D407B016CD2D6F00FAE85B /* UIKit.framework */; }; + 65D407B316CD2D6F00FAE85B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 65D407B216CD2D6F00FAE85B /* Foundation.framework */; }; + 65D407B516CD2D6F00FAE85B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 65D407B416CD2D6F00FAE85B /* CoreGraphics.framework */; }; + 65D407BB16CD2D6F00FAE85B /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 65D407B916CD2D6F00FAE85B /* InfoPlist.strings */; }; + 65D407BD16CD2D6F00FAE85B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 65D407BC16CD2D6F00FAE85B /* main.m */; }; + 65D407C116CD2D6F00FAE85B /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 65D407C016CD2D6F00FAE85B /* AppDelegate.m */; }; + 65D407C316CD2D6F00FAE85B /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 65D407C216CD2D6F00FAE85B /* Default.png */; }; + 65D407C516CD2D6F00FAE85B /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 65D407C416CD2D6F00FAE85B /* Default@2x.png */; }; + 65D407C716CD2D6F00FAE85B /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 65D407C616CD2D6F00FAE85B /* Default-568h@2x.png */; }; + 65D407CA16CD2D6F00FAE85B /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 65D407C916CD2D6F00FAE85B /* ViewController.m */; }; + 65D407CD16CD2D6F00FAE85B /* ViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 65D407CB16CD2D6F00FAE85B /* ViewController_iPhone.xib */; }; + 65D407D016CD2D6F00FAE85B /* ViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 65D407CE16CD2D6F00FAE85B /* ViewController_iPad.xib */; }; + 65D407D716CD4EF900FAE85B /* ViewController2.xib in Resources */ = {isa = PBXBuildFile; fileRef = 65D407D616CD4EF900FAE85B /* ViewController2.xib */; }; + 65D407DA16CD572700FAE85B /* ViewController2.m in Sources */ = {isa = PBXBuildFile; fileRef = 65D407D916CD572700FAE85B /* ViewController2.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 65D407AD16CD2D6F00FAE85B /* APLOCWeek2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = APLOCWeek2.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 65D407B016CD2D6F00FAE85B /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 65D407B216CD2D6F00FAE85B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 65D407B416CD2D6F00FAE85B /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 65D407B816CD2D6F00FAE85B /* APLOCWeek2-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "APLOCWeek2-Info.plist"; sourceTree = ""; }; + 65D407BA16CD2D6F00FAE85B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 65D407BC16CD2D6F00FAE85B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 65D407BE16CD2D6F00FAE85B /* APLOCWeek2-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "APLOCWeek2-Prefix.pch"; sourceTree = ""; }; + 65D407BF16CD2D6F00FAE85B /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 65D407C016CD2D6F00FAE85B /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 65D407C216CD2D6F00FAE85B /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + 65D407C416CD2D6F00FAE85B /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + 65D407C616CD2D6F00FAE85B /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + 65D407C816CD2D6F00FAE85B /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 65D407C916CD2D6F00FAE85B /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 65D407CC16CD2D6F00FAE85B /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPhone.xib; sourceTree = ""; }; + 65D407CF16CD2D6F00FAE85B /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPad.xib; sourceTree = ""; }; + 65D407D616CD4EF900FAE85B /* ViewController2.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ViewController2.xib; sourceTree = ""; }; + 65D407D816CD572700FAE85B /* ViewController2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController2.h; sourceTree = ""; }; + 65D407D916CD572700FAE85B /* ViewController2.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController2.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 65D407AA16CD2D6F00FAE85B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 65D407B116CD2D6F00FAE85B /* UIKit.framework in Frameworks */, + 65D407B316CD2D6F00FAE85B /* Foundation.framework in Frameworks */, + 65D407B516CD2D6F00FAE85B /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 65D407A416CD2D6F00FAE85B = { + isa = PBXGroup; + children = ( + 65D407B616CD2D6F00FAE85B /* APLOCWeek2 */, + 65D407AF16CD2D6F00FAE85B /* Frameworks */, + 65D407AE16CD2D6F00FAE85B /* Products */, + ); + sourceTree = ""; + }; + 65D407AE16CD2D6F00FAE85B /* Products */ = { + isa = PBXGroup; + children = ( + 65D407AD16CD2D6F00FAE85B /* APLOCWeek2.app */, + ); + name = Products; + sourceTree = ""; + }; + 65D407AF16CD2D6F00FAE85B /* Frameworks */ = { + isa = PBXGroup; + children = ( + 65D407B016CD2D6F00FAE85B /* UIKit.framework */, + 65D407B216CD2D6F00FAE85B /* Foundation.framework */, + 65D407B416CD2D6F00FAE85B /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 65D407B616CD2D6F00FAE85B /* APLOCWeek2 */ = { + isa = PBXGroup; + children = ( + 65D407BF16CD2D6F00FAE85B /* AppDelegate.h */, + 65D407C016CD2D6F00FAE85B /* AppDelegate.m */, + 65D407C816CD2D6F00FAE85B /* ViewController.h */, + 65D407C916CD2D6F00FAE85B /* ViewController.m */, + 65D407CB16CD2D6F00FAE85B /* ViewController_iPhone.xib */, + 65D407CE16CD2D6F00FAE85B /* ViewController_iPad.xib */, + 65D407B716CD2D6F00FAE85B /* Supporting Files */, + 65D407D616CD4EF900FAE85B /* ViewController2.xib */, + 65D407D816CD572700FAE85B /* ViewController2.h */, + 65D407D916CD572700FAE85B /* ViewController2.m */, + ); + path = APLOCWeek2; + sourceTree = ""; + }; + 65D407B716CD2D6F00FAE85B /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 65D407B816CD2D6F00FAE85B /* APLOCWeek2-Info.plist */, + 65D407B916CD2D6F00FAE85B /* InfoPlist.strings */, + 65D407BC16CD2D6F00FAE85B /* main.m */, + 65D407BE16CD2D6F00FAE85B /* APLOCWeek2-Prefix.pch */, + 65D407C216CD2D6F00FAE85B /* Default.png */, + 65D407C416CD2D6F00FAE85B /* Default@2x.png */, + 65D407C616CD2D6F00FAE85B /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 65D407AC16CD2D6F00FAE85B /* APLOCWeek2 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 65D407D316CD2D6F00FAE85B /* Build configuration list for PBXNativeTarget "APLOCWeek2" */; + buildPhases = ( + 65D407A916CD2D6F00FAE85B /* Sources */, + 65D407AA16CD2D6F00FAE85B /* Frameworks */, + 65D407AB16CD2D6F00FAE85B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = APLOCWeek2; + productName = APLOCWeek2; + productReference = 65D407AD16CD2D6F00FAE85B /* APLOCWeek2.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 65D407A516CD2D6F00FAE85B /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Brent Marohnic"; + }; + buildConfigurationList = 65D407A816CD2D6F00FAE85B /* Build configuration list for PBXProject "APLOCWeek2" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 65D407A416CD2D6F00FAE85B; + productRefGroup = 65D407AE16CD2D6F00FAE85B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 65D407AC16CD2D6F00FAE85B /* APLOCWeek2 */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 65D407AB16CD2D6F00FAE85B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 65D407BB16CD2D6F00FAE85B /* InfoPlist.strings in Resources */, + 65D407C316CD2D6F00FAE85B /* Default.png in Resources */, + 65D407C516CD2D6F00FAE85B /* Default@2x.png in Resources */, + 65D407C716CD2D6F00FAE85B /* Default-568h@2x.png in Resources */, + 65D407CD16CD2D6F00FAE85B /* ViewController_iPhone.xib in Resources */, + 65D407D016CD2D6F00FAE85B /* ViewController_iPad.xib in Resources */, + 65D407D716CD4EF900FAE85B /* ViewController2.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 65D407A916CD2D6F00FAE85B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 65D407BD16CD2D6F00FAE85B /* main.m in Sources */, + 65D407C116CD2D6F00FAE85B /* AppDelegate.m in Sources */, + 65D407CA16CD2D6F00FAE85B /* ViewController.m in Sources */, + 65D407DA16CD572700FAE85B /* ViewController2.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 65D407B916CD2D6F00FAE85B /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 65D407BA16CD2D6F00FAE85B /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 65D407CB16CD2D6F00FAE85B /* ViewController_iPhone.xib */ = { + isa = PBXVariantGroup; + children = ( + 65D407CC16CD2D6F00FAE85B /* en */, + ); + name = ViewController_iPhone.xib; + sourceTree = ""; + }; + 65D407CE16CD2D6F00FAE85B /* ViewController_iPad.xib */ = { + isa = PBXVariantGroup; + children = ( + 65D407CF16CD2D6F00FAE85B /* en */, + ); + name = ViewController_iPad.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 65D407D116CD2D6F00FAE85B /* 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_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = 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.1; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 65D407D216CD2D6F00FAE85B /* 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_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = 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.1; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 65D407D416CD2D6F00FAE85B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "APLOCWeek2/APLOCWeek2-Prefix.pch"; + INFOPLIST_FILE = "APLOCWeek2/APLOCWeek2-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 65D407D516CD2D6F00FAE85B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "APLOCWeek2/APLOCWeek2-Prefix.pch"; + INFOPLIST_FILE = "APLOCWeek2/APLOCWeek2-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 65D407A816CD2D6F00FAE85B /* Build configuration list for PBXProject "APLOCWeek2" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 65D407D116CD2D6F00FAE85B /* Debug */, + 65D407D216CD2D6F00FAE85B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 65D407D316CD2D6F00FAE85B /* Build configuration list for PBXNativeTarget "APLOCWeek2" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 65D407D416CD2D6F00FAE85B /* Debug */, + 65D407D516CD2D6F00FAE85B /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 65D407A516CD2D6F00FAE85B /* Project object */; +} diff --git a/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..78dbc6c --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.xcworkspace/xcuserdata/notmyemail.xcuserdatad/UserInterfaceState.xcuserstate b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.xcworkspace/xcuserdata/notmyemail.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..26fdd6e Binary files /dev/null and b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/project.xcworkspace/xcuserdata/notmyemail.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist new file mode 100644 index 0000000..05301bc --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcschemes/APLOCWeek2.xcscheme b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcschemes/APLOCWeek2.xcscheme new file mode 100644 index 0000000..5dec6e7 --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcschemes/APLOCWeek2.xcscheme @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcschemes/xcschememanagement.plist b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b1a07de --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2.xcodeproj/xcuserdata/notmyemail.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + APLOCWeek2.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 65D407AC16CD2D6F00FAE85B + + primary + + + + + diff --git a/Week2/APLOCWeek2/APLOCWeek2/APLOCWeek2-Info.plist b/Week2/APLOCWeek2/APLOCWeek2/APLOCWeek2-Info.plist new file mode 100644 index 0000000..7bd8875 --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/APLOCWeek2-Info.plist @@ -0,0 +1,45 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.fullsail.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Week2/APLOCWeek2/APLOCWeek2/APLOCWeek2-Prefix.pch b/Week2/APLOCWeek2/APLOCWeek2/APLOCWeek2-Prefix.pch new file mode 100644 index 0000000..83c630d --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/APLOCWeek2-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'APLOCWeek2' target in the 'APLOCWeek2' project +// + +#import + +#ifndef __IPHONE_4_0 +#warning "This project uses features only available in iOS SDK 4.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Week2/APLOCWeek2/APLOCWeek2/AppDelegate.h b/Week2/APLOCWeek2/APLOCWeek2/AppDelegate.h new file mode 100644 index 0000000..ae2c04b --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/AppDelegate.h @@ -0,0 +1,19 @@ +// +// AppDelegate.h +// APLOCWeek2 +// +// Created by Brent Marohnic on 2/14/13. +// Copyright (c) 2013 Brent Marohnic. All rights reserved. +// + +#import + +@class ViewController; + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@property (strong, nonatomic) ViewController *viewController; + +@end diff --git a/Week2/APLOCWeek2/APLOCWeek2/AppDelegate.m b/Week2/APLOCWeek2/APLOCWeek2/AppDelegate.m new file mode 100644 index 0000000..a13cec2 --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/AppDelegate.m @@ -0,0 +1,56 @@ +// +// AppDelegate.m +// APLOCWeek2 +// +// Created by Brent Marohnic on 2/14/13. +// Copyright (c) 2013 Brent Marohnic. All rights reserved. +// + +#import "AppDelegate.h" + +#import "ViewController.h" + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; + // Override point for customization after application launch. + if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) { + self.viewController = [[ViewController alloc] initWithNibName:@"ViewController_iPhone" bundle:nil]; + } else { + self.viewController = [[ViewController alloc] initWithNibName:@"ViewController_iPad" bundle:nil]; + } + self.window.rootViewController = self.viewController; + [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 +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/Week2/APLOCWeek2/APLOCWeek2/Default-568h@2x.png b/Week2/APLOCWeek2/APLOCWeek2/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/Week2/APLOCWeek2/APLOCWeek2/Default-568h@2x.png differ diff --git a/Week2/APLOCWeek2/APLOCWeek2/Default.png b/Week2/APLOCWeek2/APLOCWeek2/Default.png new file mode 100644 index 0000000..4c8ca6f Binary files /dev/null and b/Week2/APLOCWeek2/APLOCWeek2/Default.png differ diff --git a/Week2/APLOCWeek2/APLOCWeek2/Default@2x.png b/Week2/APLOCWeek2/APLOCWeek2/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/Week2/APLOCWeek2/APLOCWeek2/Default@2x.png differ diff --git a/Week2/APLOCWeek2/APLOCWeek2/ViewController.h b/Week2/APLOCWeek2/APLOCWeek2/ViewController.h new file mode 100644 index 0000000..aed7509 --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/ViewController.h @@ -0,0 +1,21 @@ +// +// ViewController.h +// APLOCWeek2 +// +// Created by Brent Marohnic on 2/14/13. +// Copyright (c) 2013 Brent Marohnic. All rights reserved. +// + +#import + +@interface ViewController : UIViewController +{ + IBOutlet UISegmentedControl *segmentControl; + UIViewController *viewController; +} + +-(IBAction)onChange:(id)sender; + +-(IBAction)onClick:(id)sender; + +@end diff --git a/Week2/APLOCWeek2/APLOCWeek2/ViewController.m b/Week2/APLOCWeek2/APLOCWeek2/ViewController.m new file mode 100644 index 0000000..e50c722 --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/ViewController.m @@ -0,0 +1,63 @@ +// +// ViewController.m +// APLOCWeek2 +// +// Created by Brent Marohnic on 2/14/13. +// Copyright (c) 2013 Brent Marohnic. All rights reserved. +// + +#import "ViewController.h" +#import "ViewController2.h" + +@interface ViewController () + +@end + +@implementation ViewController + +-(IBAction)onClick:(id)sender +{ + ViewController2 *secondView = [[ViewController2 alloc] initWithNibName:@"ViewController2" bundle:nil]; + + if (secondView != nil) + { + [self presentViewController:secondView animated:TRUE completion:nil]; + } +} + +-(IBAction)onChange:(id)sender +{ + UISegmentedControl *segControl = (UISegmentedControl*)sender; + if (segControl != nil) + { + int selectedIndex = segControl.selectedSegmentIndex; + + if (selectedIndex == 0) + { + self.view.backgroundColor = [UIColor redColor]; + } + else if (selectedIndex == 1) + { + self.view.backgroundColor = [UIColor blueColor]; + } + else if (selectedIndex == 2) + { + self.view.backgroundColor = [UIColor greenColor]; + } + + } +} + +- (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/Week2/APLOCWeek2/APLOCWeek2/ViewController2.h b/Week2/APLOCWeek2/APLOCWeek2/ViewController2.h new file mode 100644 index 0000000..698113c --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/ViewController2.h @@ -0,0 +1,19 @@ +// +// ViewController2.h +// APLOCWeek2 +// +// Created by Brent Marohnic on 2/14/13. +// Copyright (c) 2013 Brent Marohnic. All rights reserved. +// + +#import + +@interface ViewController2 : UIViewController +{ + +} + + +-(IBAction)onClose:(id)sender; + +@end diff --git a/Week2/APLOCWeek2/APLOCWeek2/ViewController2.m b/Week2/APLOCWeek2/APLOCWeek2/ViewController2.m new file mode 100644 index 0000000..e78e6ec --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/ViewController2.m @@ -0,0 +1,43 @@ +// +// ViewController2.m +// APLOCWeek2 +// +// Created by Brent Marohnic on 2/14/13. +// Copyright (c) 2013 Brent Marohnic. All rights reserved. +// + +#import "ViewController2.h" + +@interface ViewController2 () + +@end + +@implementation ViewController2 + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + } + return self; +} + +-(IBAction)onClose:(id)sender +{ + [self dismissViewControllerAnimated:TRUE completion:nil]; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/Week2/APLOCWeek2/APLOCWeek2/ViewController2.xib b/Week2/APLOCWeek2/APLOCWeek2/ViewController2.xib new file mode 100644 index 0000000..4a4e4b4 --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/ViewController2.xib @@ -0,0 +1,400 @@ + + + + 1552 + 12C60 + 3084 + 1187.34 + 625.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + IBNSLayoutConstraint + IBProxyObject + IBUIButton + IBUILabel + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + + + 292 + {{93, 20}, {122, 30}} + + + + _NS:9 + NO + YES + 7 + NO + IBCocoaTouchFramework + Brent Marohnic + + 1 + MCAwIDAAA + darkTextColor + + + 0 + + 1 + 17 + + + Helvetica + 17 + 16 + + NO + + + + 292 + {{122, 100}, {65, 44}} + + + + _NS:9 + NO + IBCocoaTouchFramework + 0 + 0 + 1 + Close + + 3 + MQA + + + 1 + MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA + + + 3 + MC41AA + + + 2 + 15 + + + Helvetica-Bold + 15 + 16 + + + + {{0, 20}, {320, 548}} + + + + + 3 + MQA + + 2 + + + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 19 + + + + onClose: + + + 7 + + 20 + + + + + + 0 + + + + + + 1 + + + + + 3 + 0 + + 3 + 1 + + 100 + + 1000 + + 3 + 9 + 3 + + + + 5 + 0 + + 5 + 1 + + 93 + + 1000 + + 3 + 9 + 3 + + + + 9 + 0 + + 9 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 3 + 0 + + 3 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + + + + + -1 + + + File's Owner + + + -2 + + + + + 3 + + + + + 8 + 0 + + 0 + 1 + + 30 + + 1000 + + 3 + 9 + 1 + + + + 7 + 0 + + 0 + 1 + + 122 + + 1000 + + 3 + 9 + 1 + + + + + + 6 + + + + + 10 + + + + + 14 + + + + + 15 + + + + + 16 + + + + + 17 + + + + + 18 + + + + + + + ViewController2 + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 20 + + + + + NSLayoutConstraint + NSObject + + IBProjectSource + ./Classes/NSLayoutConstraint.h + + + + ViewController2 + UIViewController + + onClose: + id + + + onClose: + + onClose: + id + + + + IBProjectSource + ./Classes/ViewController2.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 2083 + + diff --git a/Week2/APLOCWeek2/APLOCWeek2/en.lproj/InfoPlist.strings b/Week2/APLOCWeek2/APLOCWeek2/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Week2/APLOCWeek2/APLOCWeek2/en.lproj/ViewController_iPad.xib b/Week2/APLOCWeek2/APLOCWeek2/en.lproj/ViewController_iPad.xib new file mode 100644 index 0000000..963bcaa --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/en.lproj/ViewController_iPad.xib @@ -0,0 +1,121 @@ + + + + 1536 + 12A206j + 2519 + 1172.1 + 613.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1856 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBIPadFramework + + + IBFirstResponder + IBIPadFramework + + + + 274 + {{0, 20}, {768, 1004}} + + + + 3 + MQA + + 2 + + + + 2 + + IBIPadFramework + + + + + + + view + + + + 3 + + + + + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + + + + + ViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 3 + + + + + ViewController + UIViewController + + IBProjectSource + ./Classes/ViewController.h + + + + + 0 + IBIPadFramework + YES + 3 + YES + 1856 + + diff --git a/Week2/APLOCWeek2/APLOCWeek2/en.lproj/ViewController_iPhone.xib b/Week2/APLOCWeek2/APLOCWeek2/en.lproj/ViewController_iPhone.xib new file mode 100644 index 0000000..1fe6e4d --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/en.lproj/ViewController_iPhone.xib @@ -0,0 +1,462 @@ + + + + 1552 + 12C60 + 3084 + 1187.34 + 625.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + IBNSLayoutConstraint + IBProxyObject + IBUIButton + IBUISegmentedControl + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + + + + 292 + {{0, 519}, {320, 30}} + + + + _NS:9 + NO + IBCocoaTouchFramework + 2 + 3 + 0 + + Red + Blue + Green + + + + + + + + + + + + + {0, 0} + {0, 0} + {0, 0} + + + + + + + + + + 292 + {{247, 0}, {73, 33}} + + + _NS:9 + NO + IBCocoaTouchFramework + 0 + 0 + 1 + Info + + 3 + MQA + + + 1 + MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA + + + 3 + MC41AA + + + 2 + 15 + + + Helvetica-Bold + 15 + 16 + + + + {{0, 20}, {320, 548}} + + + + + 3 + MC43NQA + + 2 + + + NO + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 7 + + + + segmentControl + + + + 15 + + + + onChange: + + + 13 + + 17 + + + + onClick: + + + 7 + + 27 + + + + + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 6 + + + + + 6 + 0 + + 6 + 1 + + 0.0 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 8 + 29 + 3 + + + + 4 + 0 + + 4 + 1 + + 0.0 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 3 + 1 + + 0.0 + + 1000 + + 8 + 29 + 3 + + + + 6 + 0 + + 6 + 1 + + 0.0 + + 1000 + + 8 + 29 + 3 + + + + + + + + 8 + + + + + 14 + + + + + 13 + + + + + 11 + + + + + 18 + + + + + 8 + 0 + + 0 + 1 + + 32 + + 1000 + + 3 + 9 + 1 + + + + 7 + 0 + + 0 + 1 + + 73 + + 1000 + + 3 + 9 + 1 + + + + + + 21 + + + + + 22 + + + + + 24 + + + + + 26 + + + + + + + ViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + + + 27 + + + + + NSLayoutConstraint + NSObject + + IBProjectSource + ./Classes/NSLayoutConstraint.h + + + + ViewController + UIViewController + + id + id + + + + onChange: + id + + + onClick: + id + + + + segmentControl + UISegmentedControl + + + segmentControl + + segmentControl + UISegmentedControl + + + + IBProjectSource + ./Classes/ViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 2083 + + diff --git a/Week2/APLOCWeek2/APLOCWeek2/main.m b/Week2/APLOCWeek2/APLOCWeek2/main.m new file mode 100644 index 0000000..d58c724 --- /dev/null +++ b/Week2/APLOCWeek2/APLOCWeek2/main.m @@ -0,0 +1,18 @@ +// +// main.m +// APLOCWeek2 +// +// Created by Brent Marohnic on 2/14/13. +// Copyright (c) 2013 Brent Marohnic. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +}