Swift code

profileehmagrzm7i
calculator_week2.zip

Calculator Week2/.DS_Store

__MACOSX/Calculator Week2/._.DS_Store

Calculator Week2/.git/COMMIT_EDITMSG

Initial Commit

Calculator Week2/.git/config

[core] bare = false repositoryformatversion = 0 filemode = true ignorecase = true precomposeunicode = true logallrefupdates = true

Calculator Week2/.git/description

Unnamed repository; edit this file 'description' to name the repository.

Calculator Week2/.git/HEAD

ref: refs/heads/master

Calculator Week2/.git/hooks/README.sample

#!/bin/sh # # Place appropriately named executable hook scripts into this directory # to intercept various actions that git takes. See `git help hooks` for # more information.

Calculator Week2/.git/index

Calculator Week2/.git/info/exclude

.DS_Store UserInterfaceState.xcuserstate

__MACOSX/Calculator Week2/.git/info/._exclude

Calculator Week2/.git/logs/HEAD

0000000000000000000000000000000000000000 d7d18e5247a6ad2dcd61424c35de644599b05e6b Kelly Heath <[email protected]> 1475459667 -0400 commit (initial): Initial Commit

Calculator Week2/.git/logs/refs/heads/master

0000000000000000000000000000000000000000 d7d18e5247a6ad2dcd61424c35de644599b05e6b Kelly Heath <[email protected]> 1475459667 -0400 commit (initial): Initial Commit

Calculator Week2/.git/objects/11/8c98f7461bf98b2bc7e061150d8021121ad277

Calculator Week2/.git/objects/11/8c98f7461bf98b2bc7e061150d8021121ad277

blob 585�{ "images" : [ { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }

Calculator Week2/.git/objects/13/207a4343cc561c3fedce5658ef0893cf449d54

Calculator Week2/.git/objects/13/207a4343cc561c3fedce5658ef0893cf449d54

blob 1489�<?xml version="1.0" encoding="UTF-8"?> <Scheme LastUpgradeVersion = "0800" version = "1.3"> <BuildAction parallelizeBuildables = "YES" buildImplicitDependencies = "YES"> </BuildAction> <TestAction buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> </Testables> <AdditionalOptions> </AdditionalOptions> </TestAction> <LaunchAction buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> <AdditionalOptions> </AdditionalOptions> </LaunchAction> <ProfileAction buildConfiguration = "Release" shouldUseLaunchSchemeArgsEnv = "YES" savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> </ProfileAction> <AnalyzeAction buildConfiguration = "Debug"> </AnalyzeAction> <ArchiveAction buildConfiguration = "Release" revealArchiveInOrganizer = "YES"> </ArchiveAction> </Scheme>

Calculator Week2/.git/objects/17/b331cca6846795e52ebc14cc86a67d8c263f1e

Calculator Week2/.git/objects/17/b331cca6846795e52ebc14cc86a67d8c263f1e

blob 513�// // ViewController.swift // Calculator Week2 // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }

Calculator Week2/.git/objects/19/27b4585a7c5dbdf41445791add5a279538195d

Calculator Week2/.git/objects/19/27b4585a7c5dbdf41445791add5a279538195d

Calculator Week2/.git/objects/27/3375fc70381bd2608e05c03e00ee09c42bdc58

Calculator Week2/.git/objects/27/3375fc70381bd2608e05c03e00ee09c42bdc58

blob 1695�<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> <dependencies> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <scenes> <!--View Controller--> <scene sceneID="tne-QT-ifu"> <objects> <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController"> <layoutGuides> <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/> <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> </layoutGuides> <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> </view> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> </objects> </scene> </scenes> </document>

Calculator Week2/.git/objects/2e/0c248f8f4eeb5c37c6b67f76df4ba3d7208b7b

Calculator Week2/.git/objects/2e/0c248f8f4eeb5c37c6b67f76df4ba3d7208b7b

Calculator Week2/.git/objects/33/cc904517b64f63e982c376d90e1dab33df0ad8

Calculator Week2/.git/objects/33/cc904517b64f63e982c376d90e1dab33df0ad8

blob 161�<?xml version="1.0" encoding="UTF-8"?> <Workspace version = "1.0"> <FileRef location = "self:Calculator Week2.xcodeproj"> </FileRef> </Workspace>

Calculator Week2/.git/objects/38/e98af23d391ddd93a0c47f4113cb2fb64606d5

Calculator Week2/.git/objects/38/e98af23d391ddd93a0c47f4113cb2fb64606d5

blob 1152�<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleVersion</key> <string>1</string> <key>LSRequiresIPhoneOS</key> <true/> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>UIMainStoryboardFile</key> <string>Main</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> </array> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> </dict> </plist>

Calculator Week2/.git/objects/48/fba41489f5a9d13f051d44b7d94c1c1cf5bcd3

Calculator Week2/.git/objects/48/fba41489f5a9d13f051d44b7d94c1c1cf5bcd3

blob 1005�// // Calculator_Week2Tests.swift // Calculator Week2Tests // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import XCTest @testable import Calculator_Week2 class Calculator_Week2Tests: XCTestCase { override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. } override func tearDown() { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } func testExample() { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct results. } func testPerformanceExample() { // This is an example of a performance test case. self.measure { // Put the code you want to measure the time of here. } } }

Calculator Week2/.git/objects/62/af565de35dfef1c7974c6a45fbe230cbf06351

Calculator Week2/.git/objects/62/af565de35dfef1c7974c6a45fbe230cbf06351

Calculator Week2/.git/objects/6c/6c23c43adc88621ce3abfbd1585c8792bd165c

Calculator Week2/.git/objects/6c/6c23c43adc88621ce3abfbd1585c8792bd165c

blob 680�<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>BNDL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleVersion</key> <string>1</string> </dict> </plist>

Calculator Week2/.git/objects/7e/43a3f1230d8ede892e205fc7c3b73b512269ec

Calculator Week2/.git/objects/7e/43a3f1230d8ede892e205fc7c3b73b512269ec

blob 669�{ "images" : [ { "idiom" : "iphone", "size" : "20x20", "scale" : "3x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }

Calculator Week2/.git/objects/8d/420110da4067eab9cd98b06e62f57e91110740

Calculator Week2/.git/objects/8d/420110da4067eab9cd98b06e62f57e91110740

Calculator Week2/.git/objects/8e/6109d7ad4878b08e03dee494402bd6d24ebccf

Calculator Week2/.git/objects/8e/6109d7ad4878b08e03dee494402bd6d24ebccf

Calculator Week2/.git/objects/95/bf7f42b7757b3076a7d2f5afc476488f6613e0

Calculator Week2/.git/objects/95/bf7f42b7757b3076a7d2f5afc476488f6613e0

Calculator Week2/.git/objects/a0/02da4688031f590d6f72373e924dd5a4bc4e5a

Calculator Week2/.git/objects/a0/02da4688031f590d6f72373e924dd5a4bc4e5a

Calculator Week2/.git/objects/a3/60fc5241ba10b8e0460078251141058d6d74ca

Calculator Week2/.git/objects/a3/60fc5241ba10b8e0460078251141058d6d74ca

blob 668�<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SchemeUserState</key> <dict> <key>Calculator Week2.xcscheme</key> <dict> <key>orderHint</key> <integer>0</integer> </dict> </dict> <key>SuppressBuildableAutocreation</key> <dict> <key>A2C2FE001DA1F1D100ED88A7</key> <dict> <key>primary</key> <true/> </dict> <key>A2C2FE141DA1F1D200ED88A7</key> <dict> <key>primary</key> <true/> </dict> <key>A2C2FE1F1DA1F1D200ED88A7</key> <dict> <key>primary</key> <true/> </dict> </dict> </dict> </plist>

Calculator Week2/.git/objects/a5/f806d03b655074373f6b8f819eea61ba558734

Calculator Week2/.git/objects/a5/f806d03b655074373f6b8f819eea61ba558734

blob 1271�// // Calculator_Week2UITests.swift // Calculator Week2UITests // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import XCTest class Calculator_Week2UITests: XCTestCase { override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. // In UI tests it is usually best to stop immediately when a failure occurs. continueAfterFailure = false // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. XCUIApplication().launch() // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. } override func tearDown() { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } func testExample() { // Use recording to get started writing UI tests. // Use XCTAssert and related functions to verify your tests produce the correct results. } }

Calculator Week2/.git/objects/b5/d1cc7e96289f1fe0df9f5c7ebafc89857b2fb1

Calculator Week2/.git/objects/b5/d1cc7e96289f1fe0df9f5c7ebafc89857b2fb1

Calculator Week2/.git/objects/b8/236c65348164bf01a6f5e909f07ea57ade94ce

Calculator Week2/.git/objects/b8/236c65348164bf01a6f5e909f07ea57ade94ce

blob 753�{ "images" : [ { "idiom" : "iphone", "size" : "20x20", "scale" : "2x" }, { "idiom" : "iphone", "size" : "20x20", "scale" : "3x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }

Calculator Week2/.git/objects/c0/81d7f1e631e7bc59b0d101fc755124de83a4f3

Calculator Week2/.git/objects/c0/81d7f1e631e7bc59b0d101fc755124de83a4f3

blob 20562�// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ A2C2FE051DA1F1D100ED88A7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE041DA1F1D100ED88A7 /* AppDelegate.swift */; }; A2C2FE071DA1F1D100ED88A7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE061DA1F1D100ED88A7 /* ViewController.swift */; }; A2C2FE0A1DA1F1D100ED88A7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A2C2FE081DA1F1D100ED88A7 /* Main.storyboard */; }; A2C2FE0C1DA1F1D100ED88A7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A2C2FE0B1DA1F1D100ED88A7 /* Assets.xcassets */; }; A2C2FE0F1DA1F1D100ED88A7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A2C2FE0D1DA1F1D100ED88A7 /* LaunchScreen.storyboard */; }; A2C2FE1A1DA1F1D200ED88A7 /* Calculator_Week2Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE191DA1F1D200ED88A7 /* Calculator_Week2Tests.swift */; }; A2C2FE251DA1F1D200ED88A7 /* Calculator_Week2UITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE241DA1F1D200ED88A7 /* Calculator_Week2UITests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ A2C2FE161DA1F1D200ED88A7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = A2C2FDF91DA1F1D100ED88A7 /* Project object */; proxyType = 1; remoteGlobalIDString = A2C2FE001DA1F1D100ED88A7; remoteInfo = "Calculator Week2"; }; A2C2FE211DA1F1D200ED88A7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = A2C2FDF91DA1F1D100ED88A7 /* Project object */; proxyType = 1; remoteGlobalIDString = A2C2FE001DA1F1D100ED88A7; remoteInfo = "Calculator Week2"; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ A2C2FE011DA1F1D100ED88A7 /* Calculator Week2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Calculator Week2.app"; sourceTree = BUILT_PRODUCTS_DIR; }; A2C2FE041DA1F1D100ED88A7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; A2C2FE061DA1F1D100ED88A7 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; A2C2FE091DA1F1D100ED88A7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; A2C2FE0B1DA1F1D100ED88A7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; A2C2FE0E1DA1F1D100ED88A7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; A2C2FE101DA1F1D100ED88A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; A2C2FE151DA1F1D200ED88A7 /* Calculator Week2Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Calculator Week2Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; A2C2FE191DA1F1D200ED88A7 /* Calculator_Week2Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Calculator_Week2Tests.swift; sourceTree = "<group>"; }; A2C2FE1B1DA1F1D200ED88A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; A2C2FE201DA1F1D200ED88A7 /* Calculator Week2UITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Calculator Week2UITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; A2C2FE241DA1F1D200ED88A7 /* Calculator_Week2UITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Calculator_Week2UITests.swift; sourceTree = "<group>"; }; A2C2FE261DA1F1D200ED88A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ A2C2FDFE1DA1F1D100ED88A7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE121DA1F1D200ED88A7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE1D1DA1F1D200ED88A7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ A2C2FDF81DA1F1D100ED88A7 = { isa = PBXGroup; children = ( A2C2FE031DA1F1D100ED88A7 /* Calculator Week2 */, A2C2FE181DA1F1D200ED88A7 /* Calculator Week2Tests */, A2C2FE231DA1F1D200ED88A7 /* Calculator Week2UITests */, A2C2FE021DA1F1D100ED88A7 /* Products */, ); sourceTree = "<group>"; }; A2C2FE021DA1F1D100ED88A7 /* Products */ = { isa = PBXGroup; children = ( A2C2FE011DA1F1D100ED88A7 /* Calculator Week2.app */, A2C2FE151DA1F1D200ED88A7 /* Calculator Week2Tests.xctest */, A2C2FE201DA1F1D200ED88A7 /* Calculator Week2UITests.xctest */, ); name = Products; sourceTree = "<group>"; }; A2C2FE031DA1F1D100ED88A7 /* Calculator Week2 */ = { isa = PBXGroup; children = ( A2C2FE041DA1F1D100ED88A7 /* AppDelegate.swift */, A2C2FE061DA1F1D100ED88A7 /* ViewController.swift */, A2C2FE081DA1F1D100ED88A7 /* Main.storyboard */, A2C2FE0B1DA1F1D100ED88A7 /* Assets.xcassets */, A2C2FE0D1DA1F1D100ED88A7 /* LaunchScreen.storyboard */, A2C2FE101DA1F1D100ED88A7 /* Info.plist */, ); path = "Calculator Week2"; sourceTree = "<group>"; }; A2C2FE181DA1F1D200ED88A7 /* Calculator Week2Tests */ = { isa = PBXGroup; children = ( A2C2FE191DA1F1D200ED88A7 /* Calculator_Week2Tests.swift */, A2C2FE1B1DA1F1D200ED88A7 /* Info.plist */, ); path = "Calculator Week2Tests"; sourceTree = "<group>"; }; A2C2FE231DA1F1D200ED88A7 /* Calculator Week2UITests */ = { isa = PBXGroup; children = ( A2C2FE241DA1F1D200ED88A7 /* Calculator_Week2UITests.swift */, A2C2FE261DA1F1D200ED88A7 /* Info.plist */, ); path = "Calculator Week2UITests"; sourceTree = "<group>"; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */ = { isa = PBXNativeTarget; buildConfigurationList = A2C2FE291DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2" */; buildPhases = ( A2C2FDFD1DA1F1D100ED88A7 /* Sources */, A2C2FDFE1DA1F1D100ED88A7 /* Frameworks */, A2C2FDFF1DA1F1D100ED88A7 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = "Calculator Week2"; productName = "Calculator Week2"; productReference = A2C2FE011DA1F1D100ED88A7 /* Calculator Week2.app */; productType = "com.apple.product-type.application"; }; A2C2FE141DA1F1D200ED88A7 /* Calculator Week2Tests */ = { isa = PBXNativeTarget; buildConfigurationList = A2C2FE2C1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2Tests" */; buildPhases = ( A2C2FE111DA1F1D200ED88A7 /* Sources */, A2C2FE121DA1F1D200ED88A7 /* Frameworks */, A2C2FE131DA1F1D200ED88A7 /* Resources */, ); buildRules = ( ); dependencies = ( A2C2FE171DA1F1D200ED88A7 /* PBXTargetDependency */, ); name = "Calculator Week2Tests"; productName = "Calculator Week2Tests"; productReference = A2C2FE151DA1F1D200ED88A7 /* Calculator Week2Tests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; A2C2FE1F1DA1F1D200ED88A7 /* Calculator Week2UITests */ = { isa = PBXNativeTarget; buildConfigurationList = A2C2FE2F1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2UITests" */; buildPhases = ( A2C2FE1C1DA1F1D200ED88A7 /* Sources */, A2C2FE1D1DA1F1D200ED88A7 /* Frameworks */, A2C2FE1E1DA1F1D200ED88A7 /* Resources */, ); buildRules = ( ); dependencies = ( A2C2FE221DA1F1D200ED88A7 /* PBXTargetDependency */, ); name = "Calculator Week2UITests"; productName = "Calculator Week2UITests"; productReference = A2C2FE201DA1F1D200ED88A7 /* Calculator Week2UITests.xctest */; productType = "com.apple.product-type.bundle.ui-testing"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ A2C2FDF91DA1F1D100ED88A7 /* Project object */ = { isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0800; LastUpgradeCheck = 0800; ORGANIZATIONNAME = "Kelly Heath"; TargetAttributes = { A2C2FE001DA1F1D100ED88A7 = { CreatedOnToolsVersion = 8.0; ProvisioningStyle = Automatic; }; A2C2FE141DA1F1D200ED88A7 = { CreatedOnToolsVersion = 8.0; ProvisioningStyle = Automatic; TestTargetID = A2C2FE001DA1F1D100ED88A7; }; A2C2FE1F1DA1F1D200ED88A7 = { CreatedOnToolsVersion = 8.0; ProvisioningStyle = Automatic; TestTargetID = A2C2FE001DA1F1D100ED88A7; }; }; }; buildConfigurationList = A2C2FDFC1DA1F1D100ED88A7 /* Build configuration list for PBXProject "Calculator Week2" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = A2C2FDF81DA1F1D100ED88A7; productRefGroup = A2C2FE021DA1F1D100ED88A7 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */, A2C2FE141DA1F1D200ED88A7 /* Calculator Week2Tests */, A2C2FE1F1DA1F1D200ED88A7 /* Calculator Week2UITests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ A2C2FDFF1DA1F1D100ED88A7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE0F1DA1F1D100ED88A7 /* LaunchScreen.storyboard in Resources */, A2C2FE0C1DA1F1D100ED88A7 /* Assets.xcassets in Resources */, A2C2FE0A1DA1F1D100ED88A7 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE131DA1F1D200ED88A7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE1E1DA1F1D200ED88A7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ A2C2FDFD1DA1F1D100ED88A7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE071DA1F1D100ED88A7 /* ViewController.swift in Sources */, A2C2FE051DA1F1D100ED88A7 /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE111DA1F1D200ED88A7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE1A1DA1F1D200ED88A7 /* Calculator_Week2Tests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE1C1DA1F1D200ED88A7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE251DA1F1D200ED88A7 /* Calculator_Week2UITests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ A2C2FE171DA1F1D200ED88A7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */; targetProxy = A2C2FE161DA1F1D200ED88A7 /* PBXContainerItemProxy */; }; A2C2FE221DA1F1D200ED88A7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */; targetProxy = A2C2FE211DA1F1D200ED88A7 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ A2C2FE081DA1F1D100ED88A7 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( A2C2FE091DA1F1D100ED88A7 /* Base */, ); name = Main.storyboard; sourceTree = "<group>"; }; A2C2FE0D1DA1F1D100ED88A7 /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( A2C2FE0E1DA1F1D100ED88A7 /* Base */, ); name = LaunchScreen.storyboard; sourceTree = "<group>"; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ A2C2FE271DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; A2C2FE281DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; VALIDATE_PRODUCT = YES; }; name = Release; }; A2C2FE2A1DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "Calculator Week2/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; }; name = Debug; }; A2C2FE2B1DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "Calculator Week2/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; }; name = Release; }; A2C2FE2D1DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "Calculator Week2Tests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2Tests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Calculator Week2.app/Calculator Week2"; }; name = Debug; }; A2C2FE2E1DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "Calculator Week2Tests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2Tests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Calculator Week2.app/Calculator Week2"; }; name = Release; }; A2C2FE301DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; INFOPLIST_FILE = "Calculator Week2UITests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2UITests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_TARGET_NAME = "Calculator Week2"; }; name = Debug; }; A2C2FE311DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; INFOPLIST_FILE = "Calculator Week2UITests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2UITests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_TARGET_NAME = "Calculator Week2"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ A2C2FDFC1DA1F1D100ED88A7 /* Build configuration list for PBXProject "Calculator Week2" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE271DA1F1D200ED88A7 /* Debug */, A2C2FE281DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; A2C2FE291DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE2A1DA1F1D200ED88A7 /* Debug */, A2C2FE2B1DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; }; A2C2FE2C1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE2D1DA1F1D200ED88A7 /* Debug */, A2C2FE2E1DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; }; A2C2FE2F1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2UITests" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE301DA1F1D200ED88A7 /* Debug */, A2C2FE311DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; }; /* End XCConfigurationList section */ }; rootObject = A2C2FDF91DA1F1D100ED88A7 /* Project object */; }

Calculator Week2/.git/objects/c5/325b6899a404a3ba986873a9231732b021c0bd

Calculator Week2/.git/objects/c5/325b6899a404a3ba986873a9231732b021c0bd

blob 2180�// // AppDelegate.swift // Calculator Week2 // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } func applicationWillResignActive(_ application: UIApplication) { // 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 invalidate graphics rendering callbacks. Games should use this method to pause the game. } func applicationDidEnterBackground(_ application: UIApplication) { // 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. } func applicationWillEnterForeground(_ application: UIApplication) { // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. } func applicationDidBecomeActive(_ application: UIApplication) { // 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. } func applicationWillTerminate(_ application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } }

Calculator Week2/.git/objects/c5/42a8c53f71263314347f805dc61e85931b8204

Calculator Week2/.git/objects/c5/42a8c53f71263314347f805dc61e85931b8204

Calculator Week2/.git/objects/d7/d18e5247a6ad2dcd61424c35de644599b05e6b

Calculator Week2/.git/objects/d7/d18e5247a6ad2dcd61424c35de644599b05e6b

commit 209�tree 62af565de35dfef1c7974c6a45fbe230cbf06351 author Kelly Heath <[email protected]> 1475459667 -0400 committer Kelly Heath <[email protected]> 1475459667 -0400 Initial Commit

Calculator Week2/.git/objects/e6/91a22ab86c7e6411ae1624f5d818cf776ed150

Calculator Week2/.git/objects/e6/91a22ab86c7e6411ae1624f5d818cf776ed150

Calculator Week2/.git/objects/ea/b616f0e8f4487791d50e620e6df67037c621da

Calculator Week2/.git/objects/ea/b616f0e8f4487791d50e620e6df67037c621da

Calculator Week2/.git/objects/ef/e6d036f817624654f77c4a91ae6f20b5ecbe9d

Calculator Week2/.git/objects/ef/e6d036f817624654f77c4a91ae6f20b5ecbe9d

Calculator Week2/.git/objects/fd/f3f97d1b6e9d8d29bb69a88c4d89ca752bd937

Calculator Week2/.git/objects/fd/f3f97d1b6e9d8d29bb69a88c4d89ca752bd937

blob 1740�<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> <dependencies> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <scenes> <!--View Controller--> <scene sceneID="EHf-IW-A2E"> <objects> <viewController id="01J-lp-oVM" sceneMemberID="viewController"> <layoutGuides> <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/> <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/> </layoutGuides> <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> </view> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> <point key="canvasLocation" x="53" y="375"/> </scene> </scenes> </document>

Calculator Week2/.git/refs/heads/master

d7d18e5247a6ad2dcd61424c35de644599b05e6b

Calculator Week2/Calculator Week2/AppDelegate.swift

// // AppDelegate.swift // Calculator Week2 // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } func applicationWillResignActive(_ application: UIApplication) { // 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 invalidate graphics rendering callbacks. Games should use this method to pause the game. } func applicationDidEnterBackground(_ application: UIApplication) { // 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. } func applicationWillEnterForeground(_ application: UIApplication) { // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. } func applicationDidBecomeActive(_ application: UIApplication) { // 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. } func applicationWillTerminate(_ application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } }

__MACOSX/Calculator Week2/Calculator Week2/._AppDelegate.swift

Calculator Week2/Calculator Week2/Assets.xcassets/AppIcon.appiconset/Contents.json

{ "images" : [ { "idiom" : "iphone", "size" : "20x20", "scale" : "2x" }, { "idiom" : "iphone", "size" : "20x20", "scale" : "3x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }

Calculator Week2/Calculator Week2/Base.lproj/LaunchScreen.storyboard

__MACOSX/Calculator Week2/Calculator Week2/Base.lproj/._LaunchScreen.storyboard

Calculator Week2/Calculator Week2/Base.lproj/Main.storyboard

Calculator Week2/Calculator Week2/Info.plist

CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleVersion 1 LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight

Calculator Week2/Calculator Week2/ViewController.swift

// // ViewController.swift // Calculator Week2 // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import UIKit class ViewController: UIViewController { @IBOutlet weak var result: UILabel! @IBOutlet weak var numValue: UITextField! @IBOutlet weak var denomValue: UITextField! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } @IBAction func addPressed(_ sender: AnyObject) { let firstValue = Float (numValue.text!) let secondValue = Float (denomValue.text!) let outputValue = Float (firstValue! + secondValue!) result.text = "The answer is \(outputValue)" } @IBAction func dividePressed(_ sender: AnyObject) { divide(num: Float, by, denum: Float) throws -> Float { guard numValue! = 0 else{throw divisionErrors.nan} guard denomValue! = 0 else{throw divisionErrors.inf} let computedValue = num / denum return computedValue } do { try result = divide(numValue: numerator!, by: denomValue!) } catch divisionErrors.inf { print("Error") display = "0" } catch divisionErrors.nan { print("Error") result = "0" } catch { assert(false, "Other Error") } }

__MACOSX/Calculator Week2/Calculator Week2/._ViewController.swift

Calculator Week2/Calculator Week2.xcodeproj/project.pbxproj

// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ A2C2FE051DA1F1D100ED88A7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE041DA1F1D100ED88A7 /* AppDelegate.swift */; }; A2C2FE071DA1F1D100ED88A7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE061DA1F1D100ED88A7 /* ViewController.swift */; }; A2C2FE0A1DA1F1D100ED88A7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A2C2FE081DA1F1D100ED88A7 /* Main.storyboard */; }; A2C2FE0C1DA1F1D100ED88A7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A2C2FE0B1DA1F1D100ED88A7 /* Assets.xcassets */; }; A2C2FE0F1DA1F1D100ED88A7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A2C2FE0D1DA1F1D100ED88A7 /* LaunchScreen.storyboard */; }; A2C2FE1A1DA1F1D200ED88A7 /* Calculator_Week2Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE191DA1F1D200ED88A7 /* Calculator_Week2Tests.swift */; }; A2C2FE251DA1F1D200ED88A7 /* Calculator_Week2UITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2C2FE241DA1F1D200ED88A7 /* Calculator_Week2UITests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ A2C2FE161DA1F1D200ED88A7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = A2C2FDF91DA1F1D100ED88A7 /* Project object */; proxyType = 1; remoteGlobalIDString = A2C2FE001DA1F1D100ED88A7; remoteInfo = "Calculator Week2"; }; A2C2FE211DA1F1D200ED88A7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = A2C2FDF91DA1F1D100ED88A7 /* Project object */; proxyType = 1; remoteGlobalIDString = A2C2FE001DA1F1D100ED88A7; remoteInfo = "Calculator Week2"; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ A2C2FE011DA1F1D100ED88A7 /* Calculator Week2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Calculator Week2.app"; sourceTree = BUILT_PRODUCTS_DIR; }; A2C2FE041DA1F1D100ED88A7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; A2C2FE061DA1F1D100ED88A7 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; A2C2FE091DA1F1D100ED88A7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; A2C2FE0B1DA1F1D100ED88A7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; A2C2FE0E1DA1F1D100ED88A7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; A2C2FE101DA1F1D100ED88A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; A2C2FE151DA1F1D200ED88A7 /* Calculator Week2Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Calculator Week2Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; A2C2FE191DA1F1D200ED88A7 /* Calculator_Week2Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Calculator_Week2Tests.swift; sourceTree = "<group>"; }; A2C2FE1B1DA1F1D200ED88A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; A2C2FE201DA1F1D200ED88A7 /* Calculator Week2UITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Calculator Week2UITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; A2C2FE241DA1F1D200ED88A7 /* Calculator_Week2UITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Calculator_Week2UITests.swift; sourceTree = "<group>"; }; A2C2FE261DA1F1D200ED88A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ A2C2FDFE1DA1F1D100ED88A7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE121DA1F1D200ED88A7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE1D1DA1F1D200ED88A7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ A2C2FDF81DA1F1D100ED88A7 = { isa = PBXGroup; children = ( A2C2FE031DA1F1D100ED88A7 /* Calculator Week2 */, A2C2FE181DA1F1D200ED88A7 /* Calculator Week2Tests */, A2C2FE231DA1F1D200ED88A7 /* Calculator Week2UITests */, A2C2FE021DA1F1D100ED88A7 /* Products */, ); sourceTree = "<group>"; }; A2C2FE021DA1F1D100ED88A7 /* Products */ = { isa = PBXGroup; children = ( A2C2FE011DA1F1D100ED88A7 /* Calculator Week2.app */, A2C2FE151DA1F1D200ED88A7 /* Calculator Week2Tests.xctest */, A2C2FE201DA1F1D200ED88A7 /* Calculator Week2UITests.xctest */, ); name = Products; sourceTree = "<group>"; }; A2C2FE031DA1F1D100ED88A7 /* Calculator Week2 */ = { isa = PBXGroup; children = ( A2C2FE041DA1F1D100ED88A7 /* AppDelegate.swift */, A2C2FE061DA1F1D100ED88A7 /* ViewController.swift */, A2C2FE081DA1F1D100ED88A7 /* Main.storyboard */, A2C2FE0B1DA1F1D100ED88A7 /* Assets.xcassets */, A2C2FE0D1DA1F1D100ED88A7 /* LaunchScreen.storyboard */, A2C2FE101DA1F1D100ED88A7 /* Info.plist */, ); path = "Calculator Week2"; sourceTree = "<group>"; }; A2C2FE181DA1F1D200ED88A7 /* Calculator Week2Tests */ = { isa = PBXGroup; children = ( A2C2FE191DA1F1D200ED88A7 /* Calculator_Week2Tests.swift */, A2C2FE1B1DA1F1D200ED88A7 /* Info.plist */, ); path = "Calculator Week2Tests"; sourceTree = "<group>"; }; A2C2FE231DA1F1D200ED88A7 /* Calculator Week2UITests */ = { isa = PBXGroup; children = ( A2C2FE241DA1F1D200ED88A7 /* Calculator_Week2UITests.swift */, A2C2FE261DA1F1D200ED88A7 /* Info.plist */, ); path = "Calculator Week2UITests"; sourceTree = "<group>"; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */ = { isa = PBXNativeTarget; buildConfigurationList = A2C2FE291DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2" */; buildPhases = ( A2C2FDFD1DA1F1D100ED88A7 /* Sources */, A2C2FDFE1DA1F1D100ED88A7 /* Frameworks */, A2C2FDFF1DA1F1D100ED88A7 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = "Calculator Week2"; productName = "Calculator Week2"; productReference = A2C2FE011DA1F1D100ED88A7 /* Calculator Week2.app */; productType = "com.apple.product-type.application"; }; A2C2FE141DA1F1D200ED88A7 /* Calculator Week2Tests */ = { isa = PBXNativeTarget; buildConfigurationList = A2C2FE2C1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2Tests" */; buildPhases = ( A2C2FE111DA1F1D200ED88A7 /* Sources */, A2C2FE121DA1F1D200ED88A7 /* Frameworks */, A2C2FE131DA1F1D200ED88A7 /* Resources */, ); buildRules = ( ); dependencies = ( A2C2FE171DA1F1D200ED88A7 /* PBXTargetDependency */, ); name = "Calculator Week2Tests"; productName = "Calculator Week2Tests"; productReference = A2C2FE151DA1F1D200ED88A7 /* Calculator Week2Tests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; A2C2FE1F1DA1F1D200ED88A7 /* Calculator Week2UITests */ = { isa = PBXNativeTarget; buildConfigurationList = A2C2FE2F1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2UITests" */; buildPhases = ( A2C2FE1C1DA1F1D200ED88A7 /* Sources */, A2C2FE1D1DA1F1D200ED88A7 /* Frameworks */, A2C2FE1E1DA1F1D200ED88A7 /* Resources */, ); buildRules = ( ); dependencies = ( A2C2FE221DA1F1D200ED88A7 /* PBXTargetDependency */, ); name = "Calculator Week2UITests"; productName = "Calculator Week2UITests"; productReference = A2C2FE201DA1F1D200ED88A7 /* Calculator Week2UITests.xctest */; productType = "com.apple.product-type.bundle.ui-testing"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ A2C2FDF91DA1F1D100ED88A7 /* Project object */ = { isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0800; LastUpgradeCheck = 0800; ORGANIZATIONNAME = "Kelly Heath"; TargetAttributes = { A2C2FE001DA1F1D100ED88A7 = { CreatedOnToolsVersion = 8.0; ProvisioningStyle = Automatic; }; A2C2FE141DA1F1D200ED88A7 = { CreatedOnToolsVersion = 8.0; ProvisioningStyle = Automatic; TestTargetID = A2C2FE001DA1F1D100ED88A7; }; A2C2FE1F1DA1F1D200ED88A7 = { CreatedOnToolsVersion = 8.0; ProvisioningStyle = Automatic; TestTargetID = A2C2FE001DA1F1D100ED88A7; }; }; }; buildConfigurationList = A2C2FDFC1DA1F1D100ED88A7 /* Build configuration list for PBXProject "Calculator Week2" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = A2C2FDF81DA1F1D100ED88A7; productRefGroup = A2C2FE021DA1F1D100ED88A7 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */, A2C2FE141DA1F1D200ED88A7 /* Calculator Week2Tests */, A2C2FE1F1DA1F1D200ED88A7 /* Calculator Week2UITests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ A2C2FDFF1DA1F1D100ED88A7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE0F1DA1F1D100ED88A7 /* LaunchScreen.storyboard in Resources */, A2C2FE0C1DA1F1D100ED88A7 /* Assets.xcassets in Resources */, A2C2FE0A1DA1F1D100ED88A7 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE131DA1F1D200ED88A7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE1E1DA1F1D200ED88A7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ A2C2FDFD1DA1F1D100ED88A7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE071DA1F1D100ED88A7 /* ViewController.swift in Sources */, A2C2FE051DA1F1D100ED88A7 /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE111DA1F1D200ED88A7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE1A1DA1F1D200ED88A7 /* Calculator_Week2Tests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; A2C2FE1C1DA1F1D200ED88A7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( A2C2FE251DA1F1D200ED88A7 /* Calculator_Week2UITests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ A2C2FE171DA1F1D200ED88A7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */; targetProxy = A2C2FE161DA1F1D200ED88A7 /* PBXContainerItemProxy */; }; A2C2FE221DA1F1D200ED88A7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = A2C2FE001DA1F1D100ED88A7 /* Calculator Week2 */; targetProxy = A2C2FE211DA1F1D200ED88A7 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ A2C2FE081DA1F1D100ED88A7 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( A2C2FE091DA1F1D100ED88A7 /* Base */, ); name = Main.storyboard; sourceTree = "<group>"; }; A2C2FE0D1DA1F1D100ED88A7 /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( A2C2FE0E1DA1F1D100ED88A7 /* Base */, ); name = LaunchScreen.storyboard; sourceTree = "<group>"; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ A2C2FE271DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; A2C2FE281DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; VALIDATE_PRODUCT = YES; }; name = Release; }; A2C2FE2A1DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "Calculator Week2/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; }; name = Debug; }; A2C2FE2B1DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "Calculator Week2/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; }; name = Release; }; A2C2FE2D1DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "Calculator Week2Tests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2Tests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Calculator Week2.app/Calculator Week2"; }; name = Debug; }; A2C2FE2E1DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "Calculator Week2Tests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2Tests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Calculator Week2.app/Calculator Week2"; }; name = Release; }; A2C2FE301DA1F1D200ED88A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; INFOPLIST_FILE = "Calculator Week2UITests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2UITests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_TARGET_NAME = "Calculator Week2"; }; name = Debug; }; A2C2FE311DA1F1D200ED88A7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; INFOPLIST_FILE = "Calculator Week2UITests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "IOSMobile.Calculator-Week2UITests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; TEST_TARGET_NAME = "Calculator Week2"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ A2C2FDFC1DA1F1D100ED88A7 /* Build configuration list for PBXProject "Calculator Week2" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE271DA1F1D200ED88A7 /* Debug */, A2C2FE281DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; A2C2FE291DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE2A1DA1F1D200ED88A7 /* Debug */, A2C2FE2B1DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; }; A2C2FE2C1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE2D1DA1F1D200ED88A7 /* Debug */, A2C2FE2E1DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; }; A2C2FE2F1DA1F1D200ED88A7 /* Build configuration list for PBXNativeTarget "Calculator Week2UITests" */ = { isa = XCConfigurationList; buildConfigurations = ( A2C2FE301DA1F1D200ED88A7 /* Debug */, A2C2FE311DA1F1D200ED88A7 /* Release */, ); defaultConfigurationIsVisible = 0; }; /* End XCConfigurationList section */ }; rootObject = A2C2FDF91DA1F1D100ED88A7 /* Project object */; }

Calculator Week2/Calculator Week2.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Calculator Week2/Calculator Week2.xcodeproj/project.xcworkspace/xcuserdata/Kelly.xcuserdatad/UserInterfaceState.xcuserstate

Calculator Week2/Calculator Week2.xcodeproj/xcuserdata/Kelly.xcuserdatad/xcschemes/Calculator Week2.xcscheme

Calculator Week2/Calculator Week2.xcodeproj/xcuserdata/Kelly.xcuserdatad/xcschemes/xcschememanagement.plist

SchemeUserState Calculator Week2.xcscheme orderHint 0 SuppressBuildableAutocreation A2C2FE001DA1F1D100ED88A7 primary A2C2FE141DA1F1D200ED88A7 primary A2C2FE1F1DA1F1D200ED88A7 primary

Calculator Week2/Calculator Week2Tests/Calculator_Week2Tests.swift

// // Calculator_Week2Tests.swift // Calculator Week2Tests // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import XCTest @testable import Calculator_Week2 class Calculator_Week2Tests: XCTestCase { override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. } override func tearDown() { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } func testExample() { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct results. } func testPerformanceExample() { // This is an example of a performance test case. self.measure { // Put the code you want to measure the time of here. } } }

__MACOSX/Calculator Week2/Calculator Week2Tests/._Calculator_Week2Tests.swift

Calculator Week2/Calculator Week2Tests/Info.plist

CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType BNDL CFBundleShortVersionString 1.0 CFBundleVersion 1

Calculator Week2/Calculator Week2UITests/Calculator_Week2UITests.swift

// // Calculator_Week2UITests.swift // Calculator Week2UITests // // Created by Kelly Heath on 10/2/16. // Copyright © 2016 Kelly Heath. All rights reserved. // import XCTest class Calculator_Week2UITests: XCTestCase { override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. // In UI tests it is usually best to stop immediately when a failure occurs. continueAfterFailure = false // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. XCUIApplication().launch() // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. } override func tearDown() { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } func testExample() { // Use recording to get started writing UI tests. // Use XCTAssert and related functions to verify your tests produce the correct results. } }

__MACOSX/Calculator Week2/Calculator Week2UITests/._Calculator_Week2UITests.swift

Calculator Week2/Calculator Week2UITests/Info.plist

CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType BNDL CFBundleShortVersionString 1.0 CFBundleVersion 1