├── I Am Poor
├── Assets.xcassets
│ ├── Contents.json
│ ├── coal.imageset
│ │ ├── coal@2x.png
│ │ └── Contents.json
│ └── AppIcon.appiconset
│ │ ├── Icon-20@2x.png
│ │ ├── Icon-20@3x.png
│ │ ├── Icon-40@2x.png
│ │ ├── Icon-40@3x.png
│ │ ├── Icon-60@2x.png
│ │ ├── Icon-60@3x.png
│ │ ├── Icon-Small@2x.png
│ │ ├── Icon-Small@3x.png
│ │ └── Contents.json
├── ViewController.swift
├── Info.plist
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
└── AppDelegate.swift
├── I Am Poor.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ ├── xcuserdata
│ │ └── a1.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── xcshareddata
│ │ └── I Am Poor.xcscmblueprint
├── xcuserdata
│ └── a1.xcuserdatad
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── I Am Poor.xcscheme
└── project.pbxproj
├── README.md
├── I Am PoorTests
├── Info.plist
└── I_Am_PoorTests.swift
└── I Am PoorUITests
├── Info.plist
└── I_Am_PoorUITests.swift
/I Am Poor/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/coal.imageset/coal@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/coal.imageset/coal@2x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png
--------------------------------------------------------------------------------
/I Am Poor.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/I Am Poor.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/i-am-poor-angelabauer/HEAD/I Am Poor.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # I-Am-Poor
2 | Learn to make iOS Apps 📱 | Project Stub | (Swift 3.0/Xcode 8) - Flash Chat App
3 |
4 | Download the starter project files as .zip and extract the files to your desktop.
5 |
6 | ## Finished App
7 | 
8 |
9 |
10 |
11 | Copyright 2016 London App Brewery
12 |
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/coal.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "coal@2x.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/I Am Poor/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // I Am Poor
4 | //
5 | // Created by Angela Yu on 24/08/2016.
6 | //
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 | // Do any additional setup after loading the view, typically from a nib.
16 | }
17 |
18 | override func didReceiveMemoryWarning() {
19 | super.didReceiveMemoryWarning()
20 | // Dispose of any resources that can be recreated.
21 | }
22 |
23 |
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/I Am PoorTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/I Am PoorUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/I Am Poor.xcodeproj/xcuserdata/a1.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | I Am Poor.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 63D96B7F1D6DE4AE004CD752
16 |
17 | primary
18 |
19 |
20 | 63DE37961D6DD3EF000AB4B6
21 |
22 | primary
23 |
24 |
25 | 63F0304C1D71939300F171BD
26 |
27 | primary
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/I Am Poor/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/I Am Poor/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-Small@2x.png",
19 | "scale" : "2x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-Small@3x.png",
25 | "scale" : "3x"
26 | },
27 | {
28 | "size" : "40x40",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-40@2x.png",
31 | "scale" : "2x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-40@3x.png",
37 | "scale" : "3x"
38 | },
39 | {
40 | "size" : "60x60",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-60@2x.png",
43 | "scale" : "2x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-60@3x.png",
49 | "scale" : "3x"
50 | }
51 | ],
52 | "info" : {
53 | "version" : 1,
54 | "author" : "xcode"
55 | }
56 | }
--------------------------------------------------------------------------------
/I Am Poor.xcodeproj/project.xcworkspace/xcshareddata/I Am Poor.xcscmblueprint:
--------------------------------------------------------------------------------
1 | {
2 | "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "A32F0CED67AEBCB01ADF55A18B5B800DD8803C66",
3 | "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
4 |
5 | },
6 | "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
7 | "A32F0CED67AEBCB01ADF55A18B5B800DD8803C66" : 9223372036854775807,
8 | "CC7D4C83F89543DC5D7313A87002A3A288282EF1" : 9223372036854775807
9 | },
10 | "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "41F840CB-6F0F-4038-9715-FF528A85BB8D",
11 | "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
12 | "A32F0CED67AEBCB01ADF55A18B5B800DD8803C66" : "I%20Am%20Poor\/",
13 | "CC7D4C83F89543DC5D7313A87002A3A288282EF1" : ".."
14 | },
15 | "DVTSourceControlWorkspaceBlueprintNameKey" : "I Am Poor",
16 | "DVTSourceControlWorkspaceBlueprintVersion" : 204,
17 | "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "I Am Poor.xcodeproj",
18 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
19 | {
20 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/londonappbrewery\/I-Am-Poor.git",
21 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
22 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "A32F0CED67AEBCB01ADF55A18B5B800DD8803C66"
23 | },
24 | {
25 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/londonappbrewery\/Vixion.git",
26 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
27 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "CC7D4C83F89543DC5D7313A87002A3A288282EF1"
28 | }
29 | ]
30 | }
--------------------------------------------------------------------------------
/I Am Poor/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/I Am Poor/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // I Am Poor
4 | //
5 | // Created by Angela Yu on 24/08/2016.
6 | //
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // 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.
24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // 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.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
33 | // 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.
34 | }
35 |
36 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // 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.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/I Am PoorTests/I_Am_PoorTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // I_Am_PoorTests.swift
3 | // I Am PoorTests
4 | //
5 | // Created by Angela Yu on 27/08/2016.
6 | //
7 | //
8 |
9 | import XCTest
10 |
11 | class I_Am_PoorTests: XCTestCase {
12 |
13 | override func setUp() {
14 | super.setUp()
15 | // Put setup code here. This method is called before the invocation of each test method in the class.
16 | }
17 |
18 | override func tearDown() {
19 | // Put teardown code here. This method is called after the invocation of each test method in the class.
20 | super.tearDown()
21 | }
22 |
23 | func testExample() {
24 |
25 | // This is an example of a functional test case.
26 | // Use XCTAssert and related functions to verify your tests produce the correct results.
27 |
28 | /*
29 |
30 | func testLongPressTogglesFirstTodayItemFinished() {
31 | XCUIApplication().tables.staticTexts["Due Today"].tap()
32 |
33 | /* For a bit, both the old and the new table will be found.
34 | * This leads to us finding 5 (3 + 2) rather than just 2 cells. */
35 | _ = self.expectationForPredicate(
36 | NSPredicate(format: "self.count = 1"),
37 | evaluatedWithObject: XCUIApplication().tables,
38 | handler: nil)
39 | self.waitForExpectationsWithTimeout(5.0, handler: nil)
40 |
41 | let cells = XCUIApplication().tables.cells
42 | XCTAssertEqual(cells.count, 2, "found instead: \(cells.debugDescription)")
43 |
44 | let staticTextOfFirstCell = cells.elementBoundByIndex(0)
45 | .staticTexts.elementBoundByIndex(0)
46 | let beforeLabel = staticTextOfFirstCell.label
47 |
48 | staticTextOfFirstCell.bnr_longPress()
49 |
50 | let afterLabel = staticTextOfFirstCell.label
51 | let finishedStateDidChange = (isFinishedTodoCellLabel(beforeLabel)
52 | != isFinishedTodoCellLabel(afterLabel))
53 | XCTAssert(finishedStateDidChange, "before: \(beforeLabel) -> after: \(afterLabel)")
54 | }
55 |
56 | */
57 | print("8HDGI32JHSJHFKJH")
58 | }
59 |
60 | func testPerformanceExample() {
61 |
62 | // This is an example of a performance test case.
63 | self.measure {
64 | // Put the code you want to measure the time of here.
65 | print("JDFGKS53BV9SHF6S")
66 | }
67 | }
68 | // //MARK: - JSON Parsing
69 | // /***************************************************************/
70 | //
71 | // //Write the updateWeatherDataWithCityName method here:
72 | // func updateWeatherData(json: JSON) {
73 | //
74 | // if let tempResult = json["main"]["temp"].double {
75 | //
76 | // weatherData.temperature = Int(round(tempResult) - 273.15)
77 | //
78 | // weatherData.city = json["name"].stringValue
79 | // weatherData.condition = json["weather"][0]["id"].intValue
80 | //
81 | // weatherData.weatherIconName = weatherData.updateWeatherIcon(weatherData.condition)
82 | //
83 | // updateUIWithWeatherData()
84 | //
85 | // } else {
86 | // cityLabel.text = "Weather Unavailable"
87 | // }
88 | // }
89 |
90 |
91 | // //MARK: - UI Updates
92 | // /***************************************************************/
93 | //
94 | //
95 | // //Write the updateUIWithWeatherData method here:
96 | // func updateUIWithWeatherData() {
97 | // cityLabel.text = weatherData.city
98 | //
99 | // temperatureLabel.text = "\(weatherData.temperature)°"
100 | //
101 | // weatherIcon.image = UIImage(named: weatherData.weatherIconName)
102 | // }
103 |
104 | }
105 |
--------------------------------------------------------------------------------
/I Am Poor/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
32 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/I Am Poor.xcodeproj/xcuserdata/a1.xcuserdatad/xcschemes/I Am Poor.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
61 |
62 |
63 |
64 |
74 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/I Am PoorUITests/I_Am_PoorUITests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // I_Am_PoorUITests.swift
3 | // I Am PoorUITests
4 | //
5 | // Created by Angela Yu on 24/08/2016.
6 | //
7 | //
8 |
9 | import XCTest
10 |
11 | class I_Am_PoorUITests: XCTestCase {
12 |
13 | override func setUp() {
14 | super.setUp()
15 |
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 |
18 | // In UI tests it is usually best to stop immediately when a failure occurs.
19 | continueAfterFailure = false
20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
21 | XCUIApplication().launch()
22 |
23 | // 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.
24 |
25 | /*
26 |
27 | func testLongPressTogglesFirstTodayItemFinished() {
28 | XCUIApplication().tables.staticTexts["Due Today"].tap()
29 |
30 | /* For a bit, both the old and the new table will be found.
31 | * This leads to us finding 5 (3 + 2) rather than just 2 cells. */
32 | _ = self.expectationForPredicate(
33 | NSPredicate(format: "self.count = 1"),
34 | evaluatedWithObject: XCUIApplication().tables,
35 | handler: nil)
36 | self.waitForExpectationsWithTimeout(5.0, handler: nil)
37 |
38 | let cells = XCUIApplication().tables.cells
39 | XCTAssertEqual(cells.count, 2, "found instead: \(cells.debugDescription)")
40 |
41 | let staticTextOfFirstCell = cells.elementBoundByIndex(0)
42 | .staticTexts.elementBoundByIndex(0)
43 | let beforeLabel = staticTextOfFirstCell.label
44 |
45 | staticTextOfFirstCell.bnr_longPress()
46 |
47 | let afterLabel = staticTextOfFirstCell.label
48 | let finishedStateDidChange = (isFinishedTodoCellLabel(beforeLabel)
49 | != isFinishedTodoCellLabel(afterLabel))
50 | XCTAssert(finishedStateDidChange, "before: \(beforeLabel) -> after: \(afterLabel)")
51 | }
52 |
53 | */
54 |
55 |
56 | }
57 |
58 | override func tearDown() {
59 | // Put teardown code here. This method is called after the invocation of each test method in the class.
60 | super.tearDown()
61 | }
62 |
63 | func testExample() {
64 | // //MARK: - Networking
65 | // /***************************************************************/
66 | //
67 | // //Write the getWeatherData method here:
68 | // func getWeatherData(url: String, parameters: [String : String]) {
69 | //
70 | // Alamofire.request(.GET, url, parameters: parameters)
71 | // .responseJSON { response in
72 | // if response.result.isSuccess {
73 | //
74 | // print("Success! Got the weather data")
75 | // let weatherJSON:JSON = JSON(response.result.value!)
76 | //
77 | // self.updateWeatherData(weatherJSON)
78 | //
79 | // } else {
80 | //
81 | // print("Error: \(response.result.error)")
82 | // self.cityLabel.text = "No Internet"
83 | // }
84 | // }
85 | // }
86 |
87 | XCTAssert(XCUIApplication().images["coal"].exists)
88 |
89 |
90 | // //MARK: - JSON Parsing
91 | // /***************************************************************/
92 | //
93 | // //Write the updateWeatherDataWithCityName method here:
94 | // func updateWeatherData(json: JSON) {
95 | //
96 | // if let tempResult = json["main"]["temp"].double {
97 | //
98 | // weatherData.temperature = Int(round(tempResult) - 273.15)
99 | //
100 | // weatherData.city = json["name"].stringValue
101 | // weatherData.condition = json["weather"][0]["id"].intValue
102 | //
103 | // weatherData.weatherIconName = weatherData.updateWeatherIcon(weatherData.condition)
104 | //
105 | // updateUIWithWeatherData()
106 | //
107 | // } else {
108 | // cityLabel.text = "Weather Unavailable"
109 | // }
110 | // }
111 |
112 |
113 | // //MARK: - UI Updates
114 | // /***************************************************************/
115 | //
116 | //
117 | // //Write the updateUIWithWeatherData method here:
118 | // func updateUIWithWeatherData() {
119 | // cityLabel.text = weatherData.city
120 | //
121 | // temperatureLabel.text = "\(weatherData.temperature)°"
122 | //
123 | // weatherIcon.image = UIImage(named: weatherData.weatherIconName)
124 | // }
125 | // //MARK: - JSON Parsing
126 | // /***************************************************************/
127 | //
128 | // //Write the updateWeatherDataWithCityName method here:
129 | // func updateWeatherData(json: JSON) {
130 | //
131 | // if let tempResult = json["main"]["temp"].double {
132 | //
133 | // weatherData.temperature = Int(round(tempResult) - 273.15)
134 | //
135 | // weatherData.city = json["name"].stringValue
136 | // weatherData.condition = json["weather"][0]["id"].intValue
137 | //
138 | // weatherData.weatherIconName = weatherData.updateWeatherIcon(weatherData.condition)
139 | //
140 | // updateUIWithWeatherData()
141 | //
142 | // } else {
143 | // cityLabel.text = "Weather Unavailable"
144 | // }
145 | // }
146 | print("J9DN3BBFKKS03SS4")
147 | }
148 |
149 | // //MARK: - UI Updates
150 | // /***************************************************************/
151 | //
152 | //
153 | // //Write the updateUIWithWeatherData method here:
154 | // func updateUIWithWeatherData() {
155 | // cityLabel.text = weatherData.city
156 | //
157 | // temperatureLabel.text = "\(weatherData.temperature)°"
158 | //
159 | // weatherIcon.image = UIImage(named: weatherData.weatherIconName)
160 | // }
161 |
162 | }
163 |
--------------------------------------------------------------------------------
/I Am Poor.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 63D96B831D6DE4AE004CD752 /* I_Am_PoorUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63D96B821D6DE4AE004CD752 /* I_Am_PoorUITests.swift */; };
11 | 63DE379B1D6DD3EF000AB4B6 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63DE379A1D6DD3EF000AB4B6 /* AppDelegate.swift */; };
12 | 63DE379D1D6DD3EF000AB4B6 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63DE379C1D6DD3EF000AB4B6 /* ViewController.swift */; };
13 | 63DE37A01D6DD3EF000AB4B6 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63DE379E1D6DD3EF000AB4B6 /* Main.storyboard */; };
14 | 63DE37A21D6DD3EF000AB4B6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 63DE37A11D6DD3EF000AB4B6 /* Assets.xcassets */; };
15 | 63DE37A51D6DD3EF000AB4B6 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63DE37A31D6DD3EF000AB4B6 /* LaunchScreen.storyboard */; };
16 | 63F030501D71939300F171BD /* I_Am_PoorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63F0304F1D71939300F171BD /* I_Am_PoorTests.swift */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXContainerItemProxy section */
20 | 63D96B851D6DE4AE004CD752 /* PBXContainerItemProxy */ = {
21 | isa = PBXContainerItemProxy;
22 | containerPortal = 63DE378F1D6DD3EF000AB4B6 /* Project object */;
23 | proxyType = 1;
24 | remoteGlobalIDString = 63DE37961D6DD3EF000AB4B6;
25 | remoteInfo = "I Am Poor";
26 | };
27 | 63F030521D71939300F171BD /* PBXContainerItemProxy */ = {
28 | isa = PBXContainerItemProxy;
29 | containerPortal = 63DE378F1D6DD3EF000AB4B6 /* Project object */;
30 | proxyType = 1;
31 | remoteGlobalIDString = 63DE37961D6DD3EF000AB4B6;
32 | remoteInfo = "I Am Poor";
33 | };
34 | /* End PBXContainerItemProxy section */
35 |
36 | /* Begin PBXFileReference section */
37 | 63D96B801D6DE4AE004CD752 /* I Am PoorUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "I Am PoorUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
38 | 63D96B821D6DE4AE004CD752 /* I_Am_PoorUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = I_Am_PoorUITests.swift; sourceTree = ""; };
39 | 63D96B841D6DE4AE004CD752 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
40 | 63DE37971D6DD3EF000AB4B6 /* I Am Poor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "I Am Poor.app"; sourceTree = BUILT_PRODUCTS_DIR; };
41 | 63DE379A1D6DD3EF000AB4B6 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
42 | 63DE379C1D6DD3EF000AB4B6 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
43 | 63DE379F1D6DD3EF000AB4B6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
44 | 63DE37A11D6DD3EF000AB4B6 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
45 | 63DE37A41D6DD3EF000AB4B6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
46 | 63DE37A61D6DD3EF000AB4B6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
47 | 63F0304D1D71939300F171BD /* I Am PoorTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "I Am PoorTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
48 | 63F0304F1D71939300F171BD /* I_Am_PoorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = I_Am_PoorTests.swift; sourceTree = ""; };
49 | 63F030511D71939300F171BD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
50 | /* End PBXFileReference section */
51 |
52 | /* Begin PBXFrameworksBuildPhase section */
53 | 63D96B7D1D6DE4AE004CD752 /* Frameworks */ = {
54 | isa = PBXFrameworksBuildPhase;
55 | buildActionMask = 2147483647;
56 | files = (
57 | );
58 | runOnlyForDeploymentPostprocessing = 0;
59 | };
60 | 63DE37941D6DD3EF000AB4B6 /* Frameworks */ = {
61 | isa = PBXFrameworksBuildPhase;
62 | buildActionMask = 2147483647;
63 | files = (
64 | );
65 | runOnlyForDeploymentPostprocessing = 0;
66 | };
67 | 63F0304A1D71939300F171BD /* Frameworks */ = {
68 | isa = PBXFrameworksBuildPhase;
69 | buildActionMask = 2147483647;
70 | files = (
71 | );
72 | runOnlyForDeploymentPostprocessing = 0;
73 | };
74 | /* End PBXFrameworksBuildPhase section */
75 |
76 | /* Begin PBXGroup section */
77 | 63D96B811D6DE4AE004CD752 /* I Am PoorUITests */ = {
78 | isa = PBXGroup;
79 | children = (
80 | 63D96B821D6DE4AE004CD752 /* I_Am_PoorUITests.swift */,
81 | 63D96B841D6DE4AE004CD752 /* Info.plist */,
82 | );
83 | name = "I Am PoorUITests";
84 | path = "../I Am PoorUITests";
85 | sourceTree = "";
86 | };
87 | 63DE378E1D6DD3EF000AB4B6 = {
88 | isa = PBXGroup;
89 | children = (
90 | 63DE37991D6DD3EF000AB4B6 /* I Am Poor */,
91 | 63F0304E1D71939300F171BD /* I Am PoorTests */,
92 | 63DE37981D6DD3EF000AB4B6 /* Products */,
93 | );
94 | sourceTree = "";
95 | };
96 | 63DE37981D6DD3EF000AB4B6 /* Products */ = {
97 | isa = PBXGroup;
98 | children = (
99 | 63DE37971D6DD3EF000AB4B6 /* I Am Poor.app */,
100 | 63D96B801D6DE4AE004CD752 /* I Am PoorUITests.xctest */,
101 | 63F0304D1D71939300F171BD /* I Am PoorTests.xctest */,
102 | );
103 | name = Products;
104 | sourceTree = "";
105 | };
106 | 63DE37991D6DD3EF000AB4B6 /* I Am Poor */ = {
107 | isa = PBXGroup;
108 | children = (
109 | 63DE379A1D6DD3EF000AB4B6 /* AppDelegate.swift */,
110 | 63DE379C1D6DD3EF000AB4B6 /* ViewController.swift */,
111 | 63DE379E1D6DD3EF000AB4B6 /* Main.storyboard */,
112 | 63DE37A11D6DD3EF000AB4B6 /* Assets.xcassets */,
113 | 63DE37A31D6DD3EF000AB4B6 /* LaunchScreen.storyboard */,
114 | 63DE37A61D6DD3EF000AB4B6 /* Info.plist */,
115 | );
116 | path = "I Am Poor";
117 | sourceTree = "";
118 | };
119 | 63F0304E1D71939300F171BD /* I Am PoorTests */ = {
120 | isa = PBXGroup;
121 | children = (
122 | 63D96B811D6DE4AE004CD752 /* I Am PoorUITests */,
123 | 63F0304F1D71939300F171BD /* I_Am_PoorTests.swift */,
124 | 63F030511D71939300F171BD /* Info.plist */,
125 | );
126 | path = "I Am PoorTests";
127 | sourceTree = "";
128 | };
129 | /* End PBXGroup section */
130 |
131 | /* Begin PBXNativeTarget section */
132 | 63D96B7F1D6DE4AE004CD752 /* I Am PoorUITests */ = {
133 | isa = PBXNativeTarget;
134 | buildConfigurationList = 63D96B891D6DE4AE004CD752 /* Build configuration list for PBXNativeTarget "I Am PoorUITests" */;
135 | buildPhases = (
136 | 63D96B7C1D6DE4AE004CD752 /* Sources */,
137 | 63D96B7D1D6DE4AE004CD752 /* Frameworks */,
138 | 63D96B7E1D6DE4AE004CD752 /* Resources */,
139 | );
140 | buildRules = (
141 | );
142 | dependencies = (
143 | 63D96B861D6DE4AE004CD752 /* PBXTargetDependency */,
144 | );
145 | name = "I Am PoorUITests";
146 | productName = "I Am PoorUITests";
147 | productReference = 63D96B801D6DE4AE004CD752 /* I Am PoorUITests.xctest */;
148 | productType = "com.apple.product-type.bundle.ui-testing";
149 | };
150 | 63DE37961D6DD3EF000AB4B6 /* I Am Poor */ = {
151 | isa = PBXNativeTarget;
152 | buildConfigurationList = 63DE37A91D6DD3EF000AB4B6 /* Build configuration list for PBXNativeTarget "I Am Poor" */;
153 | buildPhases = (
154 | 63DE37931D6DD3EF000AB4B6 /* Sources */,
155 | 63DE37941D6DD3EF000AB4B6 /* Frameworks */,
156 | 63DE37951D6DD3EF000AB4B6 /* Resources */,
157 | );
158 | buildRules = (
159 | );
160 | dependencies = (
161 | );
162 | name = "I Am Poor";
163 | productName = "I Am Poor";
164 | productReference = 63DE37971D6DD3EF000AB4B6 /* I Am Poor.app */;
165 | productType = "com.apple.product-type.application";
166 | };
167 | 63F0304C1D71939300F171BD /* I Am PoorTests */ = {
168 | isa = PBXNativeTarget;
169 | buildConfigurationList = 63F030561D71939300F171BD /* Build configuration list for PBXNativeTarget "I Am PoorTests" */;
170 | buildPhases = (
171 | 63F030491D71939300F171BD /* Sources */,
172 | 63F0304A1D71939300F171BD /* Frameworks */,
173 | 63F0304B1D71939300F171BD /* Resources */,
174 | );
175 | buildRules = (
176 | );
177 | dependencies = (
178 | 63F030531D71939300F171BD /* PBXTargetDependency */,
179 | );
180 | name = "I Am PoorTests";
181 | productName = "I Am PoorTests";
182 | productReference = 63F0304D1D71939300F171BD /* I Am PoorTests.xctest */;
183 | productType = "com.apple.product-type.bundle.unit-test";
184 | };
185 | /* End PBXNativeTarget section */
186 |
187 | /* Begin PBXProject section */
188 | 63DE378F1D6DD3EF000AB4B6 /* Project object */ = {
189 | isa = PBXProject;
190 | attributes = {
191 | LastSwiftUpdateCheck = 0800;
192 | LastUpgradeCheck = 0800;
193 | TargetAttributes = {
194 | 63D96B7F1D6DE4AE004CD752 = {
195 | CreatedOnToolsVersion = 8.0;
196 | ProvisioningStyle = Automatic;
197 | TestTargetID = 63DE37961D6DD3EF000AB4B6;
198 | };
199 | 63DE37961D6DD3EF000AB4B6 = {
200 | CreatedOnToolsVersion = 8.0;
201 | DevelopmentTeam = 3ECFYJZ64T;
202 | ProvisioningStyle = Automatic;
203 | };
204 | 63F0304C1D71939300F171BD = {
205 | CreatedOnToolsVersion = 8.0;
206 | ProvisioningStyle = Automatic;
207 | TestTargetID = 63DE37961D6DD3EF000AB4B6;
208 | };
209 | };
210 | };
211 | buildConfigurationList = 63DE37921D6DD3EF000AB4B6 /* Build configuration list for PBXProject "I Am Poor" */;
212 | compatibilityVersion = "Xcode 3.2";
213 | developmentRegion = English;
214 | hasScannedForEncodings = 0;
215 | knownRegions = (
216 | en,
217 | Base,
218 | );
219 | mainGroup = 63DE378E1D6DD3EF000AB4B6;
220 | productRefGroup = 63DE37981D6DD3EF000AB4B6 /* Products */;
221 | projectDirPath = "";
222 | projectRoot = "";
223 | targets = (
224 | 63DE37961D6DD3EF000AB4B6 /* I Am Poor */,
225 | 63D96B7F1D6DE4AE004CD752 /* I Am PoorUITests */,
226 | 63F0304C1D71939300F171BD /* I Am PoorTests */,
227 | );
228 | };
229 | /* End PBXProject section */
230 |
231 | /* Begin PBXResourcesBuildPhase section */
232 | 63D96B7E1D6DE4AE004CD752 /* Resources */ = {
233 | isa = PBXResourcesBuildPhase;
234 | buildActionMask = 2147483647;
235 | files = (
236 | );
237 | runOnlyForDeploymentPostprocessing = 0;
238 | };
239 | 63DE37951D6DD3EF000AB4B6 /* Resources */ = {
240 | isa = PBXResourcesBuildPhase;
241 | buildActionMask = 2147483647;
242 | files = (
243 | 63DE37A51D6DD3EF000AB4B6 /* LaunchScreen.storyboard in Resources */,
244 | 63DE37A21D6DD3EF000AB4B6 /* Assets.xcassets in Resources */,
245 | 63DE37A01D6DD3EF000AB4B6 /* Main.storyboard in Resources */,
246 | );
247 | runOnlyForDeploymentPostprocessing = 0;
248 | };
249 | 63F0304B1D71939300F171BD /* Resources */ = {
250 | isa = PBXResourcesBuildPhase;
251 | buildActionMask = 2147483647;
252 | files = (
253 | );
254 | runOnlyForDeploymentPostprocessing = 0;
255 | };
256 | /* End PBXResourcesBuildPhase section */
257 |
258 | /* Begin PBXSourcesBuildPhase section */
259 | 63D96B7C1D6DE4AE004CD752 /* Sources */ = {
260 | isa = PBXSourcesBuildPhase;
261 | buildActionMask = 2147483647;
262 | files = (
263 | 63D96B831D6DE4AE004CD752 /* I_Am_PoorUITests.swift in Sources */,
264 | );
265 | runOnlyForDeploymentPostprocessing = 0;
266 | };
267 | 63DE37931D6DD3EF000AB4B6 /* Sources */ = {
268 | isa = PBXSourcesBuildPhase;
269 | buildActionMask = 2147483647;
270 | files = (
271 | 63DE379D1D6DD3EF000AB4B6 /* ViewController.swift in Sources */,
272 | 63DE379B1D6DD3EF000AB4B6 /* AppDelegate.swift in Sources */,
273 | );
274 | runOnlyForDeploymentPostprocessing = 0;
275 | };
276 | 63F030491D71939300F171BD /* Sources */ = {
277 | isa = PBXSourcesBuildPhase;
278 | buildActionMask = 2147483647;
279 | files = (
280 | 63F030501D71939300F171BD /* I_Am_PoorTests.swift in Sources */,
281 | );
282 | runOnlyForDeploymentPostprocessing = 0;
283 | };
284 | /* End PBXSourcesBuildPhase section */
285 |
286 | /* Begin PBXTargetDependency section */
287 | 63D96B861D6DE4AE004CD752 /* PBXTargetDependency */ = {
288 | isa = PBXTargetDependency;
289 | target = 63DE37961D6DD3EF000AB4B6 /* I Am Poor */;
290 | targetProxy = 63D96B851D6DE4AE004CD752 /* PBXContainerItemProxy */;
291 | };
292 | 63F030531D71939300F171BD /* PBXTargetDependency */ = {
293 | isa = PBXTargetDependency;
294 | target = 63DE37961D6DD3EF000AB4B6 /* I Am Poor */;
295 | targetProxy = 63F030521D71939300F171BD /* PBXContainerItemProxy */;
296 | };
297 | /* End PBXTargetDependency section */
298 |
299 | /* Begin PBXVariantGroup section */
300 | 63DE379E1D6DD3EF000AB4B6 /* Main.storyboard */ = {
301 | isa = PBXVariantGroup;
302 | children = (
303 | 63DE379F1D6DD3EF000AB4B6 /* Base */,
304 | );
305 | name = Main.storyboard;
306 | sourceTree = "";
307 | };
308 | 63DE37A31D6DD3EF000AB4B6 /* LaunchScreen.storyboard */ = {
309 | isa = PBXVariantGroup;
310 | children = (
311 | 63DE37A41D6DD3EF000AB4B6 /* Base */,
312 | );
313 | name = LaunchScreen.storyboard;
314 | sourceTree = "";
315 | };
316 | /* End PBXVariantGroup section */
317 |
318 | /* Begin XCBuildConfiguration section */
319 | 63D96B871D6DE4AE004CD752 /* Debug */ = {
320 | isa = XCBuildConfiguration;
321 | buildSettings = {
322 | INFOPLIST_FILE = "I Am PoorUITests/Info.plist";
323 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
324 | PRODUCT_BUNDLE_IDENTIFIER = "com.YourName.I-Am-PoorUITests";
325 | PRODUCT_NAME = "$(TARGET_NAME)";
326 | SWIFT_VERSION = 3.0;
327 | TEST_TARGET_NAME = "I Am Poor";
328 | };
329 | name = Debug;
330 | };
331 | 63D96B881D6DE4AE004CD752 /* Release */ = {
332 | isa = XCBuildConfiguration;
333 | buildSettings = {
334 | INFOPLIST_FILE = "I Am PoorUITests/Info.plist";
335 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
336 | PRODUCT_BUNDLE_IDENTIFIER = "com.YourName.I-Am-PoorUITests";
337 | PRODUCT_NAME = "$(TARGET_NAME)";
338 | SWIFT_VERSION = 3.0;
339 | TEST_TARGET_NAME = "I Am Poor";
340 | };
341 | name = Release;
342 | };
343 | 63DE37A71D6DD3EF000AB4B6 /* Debug */ = {
344 | isa = XCBuildConfiguration;
345 | buildSettings = {
346 | ALWAYS_SEARCH_USER_PATHS = NO;
347 | CLANG_ANALYZER_NONNULL = YES;
348 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
349 | CLANG_CXX_LIBRARY = "libc++";
350 | CLANG_ENABLE_MODULES = YES;
351 | CLANG_ENABLE_OBJC_ARC = YES;
352 | CLANG_WARN_BOOL_CONVERSION = YES;
353 | CLANG_WARN_CONSTANT_CONVERSION = YES;
354 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
355 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
356 | CLANG_WARN_EMPTY_BODY = YES;
357 | CLANG_WARN_ENUM_CONVERSION = YES;
358 | CLANG_WARN_INFINITE_RECURSION = YES;
359 | CLANG_WARN_INT_CONVERSION = YES;
360 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
361 | CLANG_WARN_SUSPICIOUS_MOVES = YES;
362 | CLANG_WARN_UNREACHABLE_CODE = YES;
363 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
364 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
365 | COPY_PHASE_STRIP = NO;
366 | DEBUG_INFORMATION_FORMAT = dwarf;
367 | ENABLE_STRICT_OBJC_MSGSEND = YES;
368 | ENABLE_TESTABILITY = YES;
369 | GCC_C_LANGUAGE_STANDARD = gnu99;
370 | GCC_DYNAMIC_NO_PIC = NO;
371 | GCC_NO_COMMON_BLOCKS = YES;
372 | GCC_OPTIMIZATION_LEVEL = 0;
373 | GCC_PREPROCESSOR_DEFINITIONS = (
374 | "DEBUG=1",
375 | "$(inherited)",
376 | );
377 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
378 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
379 | GCC_WARN_UNDECLARED_SELECTOR = YES;
380 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
381 | GCC_WARN_UNUSED_FUNCTION = YES;
382 | GCC_WARN_UNUSED_VARIABLE = YES;
383 | IPHONEOS_DEPLOYMENT_TARGET = 10.0;
384 | MTL_ENABLE_DEBUG_INFO = YES;
385 | ONLY_ACTIVE_ARCH = YES;
386 | SDKROOT = iphoneos;
387 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
388 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
389 | };
390 | name = Debug;
391 | };
392 | 63DE37A81D6DD3EF000AB4B6 /* Release */ = {
393 | isa = XCBuildConfiguration;
394 | buildSettings = {
395 | ALWAYS_SEARCH_USER_PATHS = NO;
396 | CLANG_ANALYZER_NONNULL = YES;
397 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
398 | CLANG_CXX_LIBRARY = "libc++";
399 | CLANG_ENABLE_MODULES = YES;
400 | CLANG_ENABLE_OBJC_ARC = YES;
401 | CLANG_WARN_BOOL_CONVERSION = YES;
402 | CLANG_WARN_CONSTANT_CONVERSION = YES;
403 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
404 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
405 | CLANG_WARN_EMPTY_BODY = YES;
406 | CLANG_WARN_ENUM_CONVERSION = YES;
407 | CLANG_WARN_INFINITE_RECURSION = YES;
408 | CLANG_WARN_INT_CONVERSION = YES;
409 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
410 | CLANG_WARN_SUSPICIOUS_MOVES = YES;
411 | CLANG_WARN_UNREACHABLE_CODE = YES;
412 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
414 | COPY_PHASE_STRIP = NO;
415 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
416 | ENABLE_NS_ASSERTIONS = NO;
417 | ENABLE_STRICT_OBJC_MSGSEND = YES;
418 | GCC_C_LANGUAGE_STANDARD = gnu99;
419 | GCC_NO_COMMON_BLOCKS = YES;
420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
422 | GCC_WARN_UNDECLARED_SELECTOR = YES;
423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424 | GCC_WARN_UNUSED_FUNCTION = YES;
425 | GCC_WARN_UNUSED_VARIABLE = YES;
426 | IPHONEOS_DEPLOYMENT_TARGET = 10.0;
427 | MTL_ENABLE_DEBUG_INFO = NO;
428 | SDKROOT = iphoneos;
429 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
430 | VALIDATE_PRODUCT = YES;
431 | };
432 | name = Release;
433 | };
434 | 63DE37AA1D6DD3EF000AB4B6 /* Debug */ = {
435 | isa = XCBuildConfiguration;
436 | buildSettings = {
437 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
438 | DEVELOPMENT_TEAM = 3ECFYJZ64T;
439 | INFOPLIST_FILE = "I Am Poor/Info.plist";
440 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
441 | PRODUCT_BUNDLE_IDENTIFIER = "com.angelayu-Am-Poor";
442 | PRODUCT_NAME = "$(TARGET_NAME)";
443 | SWIFT_VERSION = 3.0;
444 | };
445 | name = Debug;
446 | };
447 | 63DE37AB1D6DD3EF000AB4B6 /* Release */ = {
448 | isa = XCBuildConfiguration;
449 | buildSettings = {
450 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
451 | DEVELOPMENT_TEAM = 3ECFYJZ64T;
452 | INFOPLIST_FILE = "I Am Poor/Info.plist";
453 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
454 | PRODUCT_BUNDLE_IDENTIFIER = "com.angelayu-Am-Poor";
455 | PRODUCT_NAME = "$(TARGET_NAME)";
456 | SWIFT_VERSION = 3.0;
457 | };
458 | name = Release;
459 | };
460 | 63F030541D71939300F171BD /* Debug */ = {
461 | isa = XCBuildConfiguration;
462 | buildSettings = {
463 | BUNDLE_LOADER = "$(TEST_HOST)";
464 | INFOPLIST_FILE = "I Am PoorTests/Info.plist";
465 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
466 | PRODUCT_BUNDLE_IDENTIFIER = "com.YourName.I-Am-PoorTests";
467 | PRODUCT_NAME = "$(TARGET_NAME)";
468 | SWIFT_VERSION = 3.0;
469 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/I Am Poor.app/I Am Poor";
470 | };
471 | name = Debug;
472 | };
473 | 63F030551D71939300F171BD /* Release */ = {
474 | isa = XCBuildConfiguration;
475 | buildSettings = {
476 | BUNDLE_LOADER = "$(TEST_HOST)";
477 | INFOPLIST_FILE = "I Am PoorTests/Info.plist";
478 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
479 | PRODUCT_BUNDLE_IDENTIFIER = "com.YourName.I-Am-PoorTests";
480 | PRODUCT_NAME = "$(TARGET_NAME)";
481 | SWIFT_VERSION = 3.0;
482 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/I Am Poor.app/I Am Poor";
483 | };
484 | name = Release;
485 | };
486 | /* End XCBuildConfiguration section */
487 |
488 | /* Begin XCConfigurationList section */
489 | 63D96B891D6DE4AE004CD752 /* Build configuration list for PBXNativeTarget "I Am PoorUITests" */ = {
490 | isa = XCConfigurationList;
491 | buildConfigurations = (
492 | 63D96B871D6DE4AE004CD752 /* Debug */,
493 | 63D96B881D6DE4AE004CD752 /* Release */,
494 | );
495 | defaultConfigurationIsVisible = 0;
496 | defaultConfigurationName = Release;
497 | };
498 | 63DE37921D6DD3EF000AB4B6 /* Build configuration list for PBXProject "I Am Poor" */ = {
499 | isa = XCConfigurationList;
500 | buildConfigurations = (
501 | 63DE37A71D6DD3EF000AB4B6 /* Debug */,
502 | 63DE37A81D6DD3EF000AB4B6 /* Release */,
503 | );
504 | defaultConfigurationIsVisible = 0;
505 | defaultConfigurationName = Release;
506 | };
507 | 63DE37A91D6DD3EF000AB4B6 /* Build configuration list for PBXNativeTarget "I Am Poor" */ = {
508 | isa = XCConfigurationList;
509 | buildConfigurations = (
510 | 63DE37AA1D6DD3EF000AB4B6 /* Debug */,
511 | 63DE37AB1D6DD3EF000AB4B6 /* Release */,
512 | );
513 | defaultConfigurationIsVisible = 0;
514 | defaultConfigurationName = Release;
515 | };
516 | 63F030561D71939300F171BD /* Build configuration list for PBXNativeTarget "I Am PoorTests" */ = {
517 | isa = XCConfigurationList;
518 | buildConfigurations = (
519 | 63F030541D71939300F171BD /* Debug */,
520 | 63F030551D71939300F171BD /* Release */,
521 | );
522 | defaultConfigurationIsVisible = 0;
523 | defaultConfigurationName = Release;
524 | };
525 | /* End XCConfigurationList section */
526 | };
527 | rootObject = 63DE378F1D6DD3EF000AB4B6 /* Project object */;
528 | }
529 |
--------------------------------------------------------------------------------