├── 1 The Problem
├── 1_laggy_table.gif
├── 1_laggy_table.mp4
├── GlitchyTable
│ ├── GlitchyTable.xcodeproj
│ │ ├── project.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── project.pbxproj
│ ├── GlitchyTableTests
│ │ ├── Info.plist
│ │ └── GlitchyTableTests.swift
│ └── GlitchyTable
│ │ ├── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ ├── Info.plist
│ │ ├── GlitchyTableViewController.swift
│ │ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.xib
│ │ └── AppDelegate.swift
└── togif.sh
├── 2 Buggy Solution
├── 2_smooth_scrolling.gif
├── 2_smooth_scrolling.mp4
├── 3_queued_cell_population_bug.gif
├── 3_queued_cell_population_bug.mp4
└── GlitchyTable
│ ├── GlitchyTable.xcodeproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── project.pbxproj
│ ├── GlitchyTableTests
│ ├── Info.plist
│ └── GlitchyTableTests.swift
│ └── GlitchyTable
│ ├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── Info.plist
│ ├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
│ ├── GlitchyTableViewController.swift
│ └── AppDelegate.swift
├── 3 Correct Solution
├── 5_correct_small_lag.gif
├── 5_correct_small_lag.mp4
├── 4_correct_lots_of_lag.gif
├── 4_correct_lots_of_lag.mp4
└── GlitchyTable
│ ├── GlitchyTable.xcodeproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── project.pbxproj
│ ├── GlitchyTableTests
│ ├── Info.plist
│ └── GlitchyTableTests.swift
│ └── GlitchyTable
│ ├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── Info.plist
│ ├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
│ ├── AppDelegate.swift
│ └── GlitchyTableViewController.swift
├── LICENSE
└── README.md
/1 The Problem/1_laggy_table.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/1 The Problem/1_laggy_table.gif
--------------------------------------------------------------------------------
/1 The Problem/1_laggy_table.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/1 The Problem/1_laggy_table.mp4
--------------------------------------------------------------------------------
/2 Buggy Solution/2_smooth_scrolling.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/2 Buggy Solution/2_smooth_scrolling.gif
--------------------------------------------------------------------------------
/2 Buggy Solution/2_smooth_scrolling.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/2 Buggy Solution/2_smooth_scrolling.mp4
--------------------------------------------------------------------------------
/3 Correct Solution/5_correct_small_lag.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/3 Correct Solution/5_correct_small_lag.gif
--------------------------------------------------------------------------------
/3 Correct Solution/5_correct_small_lag.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/3 Correct Solution/5_correct_small_lag.mp4
--------------------------------------------------------------------------------
/3 Correct Solution/4_correct_lots_of_lag.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/3 Correct Solution/4_correct_lots_of_lag.gif
--------------------------------------------------------------------------------
/3 Correct Solution/4_correct_lots_of_lag.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/3 Correct Solution/4_correct_lots_of_lag.mp4
--------------------------------------------------------------------------------
/2 Buggy Solution/3_queued_cell_population_bug.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/2 Buggy Solution/3_queued_cell_population_bug.gif
--------------------------------------------------------------------------------
/2 Buggy Solution/3_queued_cell_population_bug.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cellularmitosis/GlitchyTable/HEAD/2 Buggy Solution/3_queued_cell_population_bug.mp4
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/1 The Problem/togif.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 | set -o pipefail
5 |
6 | fps=24
7 | scale=240
8 |
9 | ffmpeg -y -i ${1} -vf fps=$fps,scale=$scale:-1:flags=lanczos,palettegen palette.png
10 | ffmpeg -i ${1} -i palette.png -filter_complex "fps=$fps,scale=$scale:-1:flags=lanczos[x];[x][1:v]paletteuse" out_${scale}_${fps}.gif
11 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTableTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.uship.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTableTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.uship.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTableTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.uship.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTableTests/GlitchyTableTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // GlitchyTableTests.swift
3 | // GlitchyTableTests
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import XCTest
11 |
12 | class GlitchyTableTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | XCTAssert(true, "Pass")
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock() {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTableTests/GlitchyTableTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // GlitchyTableTests.swift
3 | // GlitchyTableTests
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import XCTest
11 |
12 | class GlitchyTableTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | XCTAssert(true, "Pass")
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock() {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTableTests/GlitchyTableTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // GlitchyTableTests.swift
3 | // GlitchyTableTests
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import XCTest
11 |
12 | class GlitchyTableTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | XCTAssert(true, "Pass")
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock() {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Jason Pepas
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.uship.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.uship.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.uship.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable/GlitchyTableViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // GlitchyTableViewController.swift
3 | // GlitchyTable
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class GlitchyModel
12 | {
13 | func textForIndexPath(indexPath: NSIndexPath) -> String
14 | {
15 | NSThread.sleepForTimeInterval(0.1)
16 | return "\(indexPath.row)"
17 | }
18 | }
19 |
20 | class GlitchyTableCell: UITableViewCell
21 | {
22 | override func prepareForReuse()
23 | {
24 | super.prepareForReuse()
25 | textLabel?.text = ""
26 | }
27 | }
28 |
29 | class GlitchyTableViewController: UITableViewController
30 | {
31 | let model = GlitchyModel()
32 |
33 | override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int
34 | {
35 | return 100
36 | }
37 |
38 | override func tableView(tableView: UITableView,
39 | cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell
40 | {
41 | var cell: GlitchyTableCell? = tableView.dequeueReusableCellWithIdentifier("reuseIdentifier") as? GlitchyTableCell
42 | if cell == nil
43 | {
44 | cell = GlitchyTableCell(style:.Default, reuseIdentifier: "reuseIdentifier")
45 | }
46 |
47 | return cell!
48 | }
49 |
50 | override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath)
51 | {
52 | if let cell = cell as? GlitchyTableCell
53 | {
54 | _configureCell(cell, atIndexPath: indexPath)
55 | }
56 | }
57 |
58 | private func _configureCell(cell: GlitchyTableCell, atIndexPath indexPath: NSIndexPath)
59 | {
60 | cell.textLabel?.text = model.textForIndexPath(indexPath)
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable/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 |
26 |
27 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable/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 |
26 |
27 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable/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 |
26 |
27 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable/GlitchyTableViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // GlitchyTableViewController.swift
3 | // GlitchyTable
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class GlitchyModel
12 | {
13 | func textForIndexPath(indexPath: NSIndexPath) -> String
14 | {
15 | NSThread.sleepForTimeInterval(1)
16 | return "\(indexPath.row)"
17 | }
18 | }
19 |
20 | class GlitchyTableCell: UITableViewCell
21 | {
22 | override func prepareForReuse()
23 | {
24 | super.prepareForReuse()
25 | textLabel?.text = ""
26 | }
27 | }
28 |
29 | class GlitchyTableViewController: UITableViewController
30 | {
31 | let model = GlitchyModel()
32 |
33 | override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int
34 | {
35 | return 300
36 | }
37 |
38 | override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell
39 | {
40 | var cell: GlitchyTableCell? = tableView.dequeueReusableCellWithIdentifier("reuseIdentifier") as? GlitchyTableCell
41 | if cell == nil
42 | {
43 | cell = GlitchyTableCell(style:.Default, reuseIdentifier: "reuseIdentifier")
44 | }
45 |
46 | return cell!
47 | }
48 |
49 | override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath)
50 | {
51 | if let cell = cell as? GlitchyTableCell
52 | {
53 | _configureCell(cell, atIndexPath: indexPath)
54 | }
55 | }
56 |
57 | private func _configureCell(cell: GlitchyTableCell, atIndexPath indexPath: NSIndexPath)
58 | {
59 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), { () -> Void in
60 |
61 | let text = self.model.textForIndexPath(indexPath)
62 |
63 | dispatch_async(dispatch_get_main_queue(), { () -> Void in
64 |
65 | cell.textLabel?.text = text
66 |
67 | })
68 | })
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // GlitchyTable
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
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: [NSObject: AnyObject]?) -> 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 throttle down OpenGL ES frame rates. 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 inactive 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 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // GlitchyTable
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
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: [NSObject: AnyObject]?) -> 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 throttle down OpenGL ES frame rates. 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 inactive 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 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // GlitchyTable
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
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: [NSObject: AnyObject]?) -> 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 throttle down OpenGL ES frame rates. 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 inactive 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 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable/GlitchyTableViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // GlitchyTableViewController.swift
3 | // GlitchyTable
4 | //
5 | // Created by Jason Pepas on 9/2/15.
6 | // Copyright (c) 2015 Jason Pepas. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class GlitchyModel
12 | {
13 | func textForIndexPath(indexPath: NSIndexPath) -> String
14 | {
15 | NSThread.sleepForTimeInterval(1)
16 | return "\(indexPath.row)"
17 | }
18 | }
19 |
20 | class SerialOperationQueue: NSOperationQueue
21 | {
22 | override init()
23 | {
24 | super.init()
25 | maxConcurrentOperationCount = 1
26 | }
27 | }
28 |
29 | class GlitchyTableCell: UITableViewCell
30 | {
31 | let queue = SerialOperationQueue()
32 |
33 | override func prepareForReuse()
34 | {
35 | super.prepareForReuse()
36 | textLabel?.text = ""
37 | }
38 | }
39 |
40 | class GlitchyTableViewController: UITableViewController
41 | {
42 | let model = GlitchyModel()
43 |
44 | override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int
45 | {
46 | return 300
47 | }
48 |
49 | override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell
50 | {
51 | var cell: GlitchyTableCell? = tableView.dequeueReusableCellWithIdentifier("reuseIdentifier") as? GlitchyTableCell
52 | if cell == nil
53 | {
54 | cell = GlitchyTableCell(style:.Default, reuseIdentifier: "reuseIdentifier")
55 | }
56 |
57 | return cell!
58 | }
59 |
60 | override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath)
61 | {
62 | if let cell = cell as? GlitchyTableCell
63 | {
64 | _configureCell(cell, atIndexPath: indexPath)
65 | }
66 | }
67 |
68 | private func _configureCell(cell: GlitchyTableCell, atIndexPath indexPath: NSIndexPath)
69 | {
70 | cell.queue.cancelAllOperations()
71 |
72 | let operation: NSBlockOperation = NSBlockOperation()
73 | operation.addExecutionBlock { [weak operation] () -> Void in
74 |
75 | let text = self.model.textForIndexPath(indexPath)
76 |
77 | dispatch_sync(dispatch_get_main_queue(), { [weak operation] () -> Void in
78 |
79 | if let operation = operation where operation.cancelled { return }
80 |
81 | cell.textLabel?.text = text
82 | })
83 | }
84 |
85 | cell.queue.addOperation(operation)
86 | }
87 | }
88 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Populating `UITableViewCells` Asynchronously to Maintain Scrolling Performance
2 |
3 | ## Abstract
4 |
5 | In general, the key to keeping the iPhone UI responsive is to avoid blocking the main thread. In the case of `UITableView`, this boils down to keeping `tableView(_:cellForRowAtIndexPath:)` as performant as possible.
6 |
7 | However, sometimes it is simply not possible to marshall all of the data needed to populate a complex `UITableViewCell` without causing a drop in framerate. In these cases, it is necessary to switch to an asynchronous strategy for populating `UITableViewCells`. In this article we explore a trivial example of using this technique.
8 |
9 | ## Demonstrating the Problem
10 |
11 | Our first task is to create a simple Xcode project which demonstrates the problem of a slow model leading to laggy scrolling performance.
12 |
13 | We start with a model which blocks for 100ms. This simulates the lag induced by excessive disk access, complex `CoreData` interactions, etc:
14 |
15 | ```Swift
16 | class GlitchyModel
17 | {
18 | func textForIndexPath(indexPath: NSIndexPath) -> String
19 | {
20 | NSThread.sleepForTimeInterval(0.1)
21 | return "\(indexPath.row)"
22 | }
23 | }
24 | ```
25 |
26 | We then hook that model up with some typical boilerplate code in our `GlitchyTableViewController` implementation:
27 |
28 | ```Swift
29 | override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath)
30 | {
31 | if let cell = cell as? GlitchyTableCell
32 | {
33 | _configureCell(cell, atIndexPath: indexPath)
34 | }
35 | }
36 |
37 | private func _configureCell(cell: GlitchyTableCell, atIndexPath indexPath: NSIndexPath)
38 | {
39 | cell.textLabel?.text = model.textForIndexPath(indexPath)
40 | }
41 | ```
42 |
43 | (For additional context, see the [Xcode project](https://github.com/pepaslabs/GlitchyTable/tree/master/1%20The%20Problem/GlitchyTable) and [source code](https://github.com/pepaslabs/GlitchyTable/blob/master/1%20The%20Problem/GlitchyTable/GlitchyTable/GlitchyTableViewController.swift) of this solution).
44 |
45 | The result is a `UITableView` with terrible scrolling performance, as shown in this [video](http://gfycat.com/ImpassionedBoilingCoyote):
46 |
47 | [](http://gfycat.com/ImpassionedBoilingCoyote)
48 |
49 | (Note: It is difficult to demonstrate the problem in the above in-line gif due to its low framerate. Please click the gif or follow the [video link](http://gfycat.com/ImpassionedBoilingCoyote) to see a full framerate HTML5 video demonstration of the problem.)
50 |
51 | ## Populating `UITableViewCell` Asynchronously
52 |
53 | Our first attempt at solving this problem is to rewrite `_configureCell(_,atIndexPath)` such that it dispatches to a background thread to grab the data from the model, then jumps back to the main thread to populate the `UITableViewCell`:
54 |
55 | ```Swift
56 | private func _configureCell(cell: GlitchyTableCell, atIndexPath indexPath: NSIndexPath)
57 | {
58 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), { () -> Void in
59 |
60 | let text = self.model.textForIndexPath(indexPath)
61 |
62 | dispatch_async(dispatch_get_main_queue(), { () -> Void in
63 |
64 | cell.textLabel?.text = text
65 |
66 | })
67 | })
68 | }
69 | ```
70 |
71 | (See also the [Xcode project](https://github.com/pepaslabs/GlitchyTable/tree/master/2%20Buggy%20Solution/GlitchyTable) and [source code](https://github.com/pepaslabs/GlitchyTable/blob/master/2%20Buggy%20Solution/GlitchyTable/GlitchyTable/GlitchyTableViewController.swift) of this solution).
72 |
73 | This change is enough to solve the laggy scrolling performance (as seen in this [video](http://gfycat.com/OnlyAmusingCardinal)):
74 |
75 | [](http://gfycat.com/OnlyAmusingCardinal)
76 |
77 | However, we have introduced a bug. If a `UITableViewCell` scrolls all the way off-screen and gets re-used before the first asynchronous `_configureCell` call has completed, a second `_configureCell` call will be queued up in the distpatch queue.
78 |
79 | In the case where you have both an extremely laggy model and a user whom is scrolling very aggressively, this can result in many such calls getting queued up. The result is that when the `UITableView` stops scrolling, the user will see the content of the cells cycle through all of the queued populate operations.
80 |
81 | To demonstrate this, we increase the simulated lag in `GlitchyModel` to 1000ms and scroll very quickly, as seen in this [video](http://gfycat.com/PleasedConfusedBluejay):
82 |
83 | [](http://gfycat.com/PleasedConfusedBluejay)
84 |
85 | ## Fixing the Queued `UITableViewCell` Population Bug
86 |
87 | To solve this problem, we need to ensure that multiple populate operations aren't allowed to queue up. We can accomplish this by using a serial queue to manage our `UITableViewCell` populate operations, and ensuring that any outstanding operations are cancelled before we queue up the next operation.
88 |
89 | We create a trivial serial queue:
90 |
91 | ```Swift
92 | class SerialOperationQueue: NSOperationQueue
93 | {
94 | override init()
95 | {
96 | super.init()
97 | maxConcurrentOperationCount = 1
98 | }
99 | }
100 | ```
101 |
102 | We then add such a queue to each of our `UITableViewCell` instances:
103 |
104 | ```Swift
105 | class GlitchyTableCell: UITableViewCell
106 | {
107 | let queue = SerialOperationQueue()
108 | }
109 | ```
110 |
111 | Finally, we update our `_configureCell` implementation to use the operation queue:
112 |
113 | ```Swift
114 | private func _configureCell(cell: GlitchyTableCell, atIndexPath indexPath: NSIndexPath)
115 | {
116 | cell.queue.cancelAllOperations()
117 |
118 | let operation: NSBlockOperation = NSBlockOperation()
119 | operation.addExecutionBlock { [weak operation] () -> Void in
120 |
121 | let text = self.model.textForIndexPath(indexPath)
122 |
123 | dispatch_sync(dispatch_get_main_queue(), { [weak operation] () -> Void in
124 |
125 | if let operation = operation where operation.cancelled { return }
126 |
127 | cell.textLabel?.text = text
128 | })
129 | }
130 |
131 | cell.queue.addOperation(operation)
132 | }
133 | ```
134 |
135 | (See also the [Xcode project](https://github.com/pepaslabs/GlitchyTable/tree/master/3%20Correct%20Solution/GlitchyTable) and [source code](https://github.com/pepaslabs/GlitchyTable/blob/master/3%20Correct%20Solution/GlitchyTable/GlitchyTable/GlitchyTableViewController.swift) of this solution).
136 |
137 | Now, we revisit our extremely problematic model (which simulates 1000ms lag) and verify that it behaves correctly (as seen in this [video](http://gfycat.com/LameComfortableGordonsetter)):
138 |
139 | [](http://gfycat.com/LameComfortableGordonsetter)
140 |
141 | Finally, we dial back the simulated lag to 100ms to get a sense of what this would look like in a real-world scenario (as seen in this [video](http://gfycat.com/HeavyEmbellishedIceblueredtopzebra)):
142 |
143 | [](http://gfycat.com/HeavyEmbellishedIceblueredtopzebra)
144 |
145 | The result is a `UITableView` UX which is tollerant of 100ms of data model lag.
146 |
147 | ## Conclusion
148 |
149 | Populating `UITableViewCells` asynchronously ensures that your `UITableView` scrolling performance is decoupled from your data model performance.
150 |
--------------------------------------------------------------------------------
/1 The Problem/GlitchyTable/GlitchyTable.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 5B7F863F1B97C01900546B6F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F863E1B97C01900546B6F /* AppDelegate.swift */; };
11 | 5B7F86441B97C01900546B6F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86421B97C01900546B6F /* Main.storyboard */; };
12 | 5B7F86461B97C01900546B6F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86451B97C01900546B6F /* Images.xcassets */; };
13 | 5B7F86491B97C01900546B6F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86471B97C01900546B6F /* LaunchScreen.xib */; };
14 | 5B7F86551B97C01900546B6F /* GlitchyTableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */; };
15 | 5B7F865F1B97C04200546B6F /* GlitchyTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXContainerItemProxy section */
19 | 5B7F864F1B97C01900546B6F /* PBXContainerItemProxy */ = {
20 | isa = PBXContainerItemProxy;
21 | containerPortal = 5B7F86311B97C01900546B6F /* Project object */;
22 | proxyType = 1;
23 | remoteGlobalIDString = 5B7F86381B97C01900546B6F;
24 | remoteInfo = GlitchyTable;
25 | };
26 | /* End PBXContainerItemProxy section */
27 |
28 | /* Begin PBXFileReference section */
29 | 5B7F86391B97C01900546B6F /* GlitchyTable.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GlitchyTable.app; sourceTree = BUILT_PRODUCTS_DIR; };
30 | 5B7F863D1B97C01900546B6F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
31 | 5B7F863E1B97C01900546B6F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
32 | 5B7F86431B97C01900546B6F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
33 | 5B7F86451B97C01900546B6F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
34 | 5B7F86481B97C01900546B6F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
35 | 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GlitchyTableTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
36 | 5B7F86531B97C01900546B6F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
37 | 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GlitchyTableTests.swift; sourceTree = ""; };
38 | 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GlitchyTableViewController.swift; sourceTree = ""; };
39 | /* End PBXFileReference section */
40 |
41 | /* Begin PBXFrameworksBuildPhase section */
42 | 5B7F86361B97C01900546B6F /* Frameworks */ = {
43 | isa = PBXFrameworksBuildPhase;
44 | buildActionMask = 2147483647;
45 | files = (
46 | );
47 | runOnlyForDeploymentPostprocessing = 0;
48 | };
49 | 5B7F864B1B97C01900546B6F /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | /* End PBXFrameworksBuildPhase section */
57 |
58 | /* Begin PBXGroup section */
59 | 5B7F86301B97C01900546B6F = {
60 | isa = PBXGroup;
61 | children = (
62 | 5B7F863B1B97C01900546B6F /* GlitchyTable */,
63 | 5B7F86511B97C01900546B6F /* GlitchyTableTests */,
64 | 5B7F863A1B97C01900546B6F /* Products */,
65 | );
66 | sourceTree = "";
67 | };
68 | 5B7F863A1B97C01900546B6F /* Products */ = {
69 | isa = PBXGroup;
70 | children = (
71 | 5B7F86391B97C01900546B6F /* GlitchyTable.app */,
72 | 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */,
73 | );
74 | name = Products;
75 | sourceTree = "";
76 | };
77 | 5B7F863B1B97C01900546B6F /* GlitchyTable */ = {
78 | isa = PBXGroup;
79 | children = (
80 | 5B7F863E1B97C01900546B6F /* AppDelegate.swift */,
81 | 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */,
82 | 5B7F86421B97C01900546B6F /* Main.storyboard */,
83 | 5B7F86451B97C01900546B6F /* Images.xcassets */,
84 | 5B7F86471B97C01900546B6F /* LaunchScreen.xib */,
85 | 5B7F863C1B97C01900546B6F /* Supporting Files */,
86 | );
87 | path = GlitchyTable;
88 | sourceTree = "";
89 | };
90 | 5B7F863C1B97C01900546B6F /* Supporting Files */ = {
91 | isa = PBXGroup;
92 | children = (
93 | 5B7F863D1B97C01900546B6F /* Info.plist */,
94 | );
95 | name = "Supporting Files";
96 | sourceTree = "";
97 | };
98 | 5B7F86511B97C01900546B6F /* GlitchyTableTests */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */,
102 | 5B7F86521B97C01900546B6F /* Supporting Files */,
103 | );
104 | path = GlitchyTableTests;
105 | sourceTree = "";
106 | };
107 | 5B7F86521B97C01900546B6F /* Supporting Files */ = {
108 | isa = PBXGroup;
109 | children = (
110 | 5B7F86531B97C01900546B6F /* Info.plist */,
111 | );
112 | name = "Supporting Files";
113 | sourceTree = "";
114 | };
115 | /* End PBXGroup section */
116 |
117 | /* Begin PBXNativeTarget section */
118 | 5B7F86381B97C01900546B6F /* GlitchyTable */ = {
119 | isa = PBXNativeTarget;
120 | buildConfigurationList = 5B7F86581B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTable" */;
121 | buildPhases = (
122 | 5B7F86351B97C01900546B6F /* Sources */,
123 | 5B7F86361B97C01900546B6F /* Frameworks */,
124 | 5B7F86371B97C01900546B6F /* Resources */,
125 | );
126 | buildRules = (
127 | );
128 | dependencies = (
129 | );
130 | name = GlitchyTable;
131 | productName = GlitchyTable;
132 | productReference = 5B7F86391B97C01900546B6F /* GlitchyTable.app */;
133 | productType = "com.apple.product-type.application";
134 | };
135 | 5B7F864D1B97C01900546B6F /* GlitchyTableTests */ = {
136 | isa = PBXNativeTarget;
137 | buildConfigurationList = 5B7F865B1B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTableTests" */;
138 | buildPhases = (
139 | 5B7F864A1B97C01900546B6F /* Sources */,
140 | 5B7F864B1B97C01900546B6F /* Frameworks */,
141 | 5B7F864C1B97C01900546B6F /* Resources */,
142 | );
143 | buildRules = (
144 | );
145 | dependencies = (
146 | 5B7F86501B97C01900546B6F /* PBXTargetDependency */,
147 | );
148 | name = GlitchyTableTests;
149 | productName = GlitchyTableTests;
150 | productReference = 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */;
151 | productType = "com.apple.product-type.bundle.unit-test";
152 | };
153 | /* End PBXNativeTarget section */
154 |
155 | /* Begin PBXProject section */
156 | 5B7F86311B97C01900546B6F /* Project object */ = {
157 | isa = PBXProject;
158 | attributes = {
159 | LastUpgradeCheck = 0640;
160 | ORGANIZATIONNAME = "Jason Pepas";
161 | TargetAttributes = {
162 | 5B7F86381B97C01900546B6F = {
163 | CreatedOnToolsVersion = 6.4;
164 | };
165 | 5B7F864D1B97C01900546B6F = {
166 | CreatedOnToolsVersion = 6.4;
167 | TestTargetID = 5B7F86381B97C01900546B6F;
168 | };
169 | };
170 | };
171 | buildConfigurationList = 5B7F86341B97C01900546B6F /* Build configuration list for PBXProject "GlitchyTable" */;
172 | compatibilityVersion = "Xcode 3.2";
173 | developmentRegion = English;
174 | hasScannedForEncodings = 0;
175 | knownRegions = (
176 | en,
177 | Base,
178 | );
179 | mainGroup = 5B7F86301B97C01900546B6F;
180 | productRefGroup = 5B7F863A1B97C01900546B6F /* Products */;
181 | projectDirPath = "";
182 | projectRoot = "";
183 | targets = (
184 | 5B7F86381B97C01900546B6F /* GlitchyTable */,
185 | 5B7F864D1B97C01900546B6F /* GlitchyTableTests */,
186 | );
187 | };
188 | /* End PBXProject section */
189 |
190 | /* Begin PBXResourcesBuildPhase section */
191 | 5B7F86371B97C01900546B6F /* Resources */ = {
192 | isa = PBXResourcesBuildPhase;
193 | buildActionMask = 2147483647;
194 | files = (
195 | 5B7F86441B97C01900546B6F /* Main.storyboard in Resources */,
196 | 5B7F86491B97C01900546B6F /* LaunchScreen.xib in Resources */,
197 | 5B7F86461B97C01900546B6F /* Images.xcassets in Resources */,
198 | );
199 | runOnlyForDeploymentPostprocessing = 0;
200 | };
201 | 5B7F864C1B97C01900546B6F /* Resources */ = {
202 | isa = PBXResourcesBuildPhase;
203 | buildActionMask = 2147483647;
204 | files = (
205 | );
206 | runOnlyForDeploymentPostprocessing = 0;
207 | };
208 | /* End PBXResourcesBuildPhase section */
209 |
210 | /* Begin PBXSourcesBuildPhase section */
211 | 5B7F86351B97C01900546B6F /* Sources */ = {
212 | isa = PBXSourcesBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | 5B7F865F1B97C04200546B6F /* GlitchyTableViewController.swift in Sources */,
216 | 5B7F863F1B97C01900546B6F /* AppDelegate.swift in Sources */,
217 | );
218 | runOnlyForDeploymentPostprocessing = 0;
219 | };
220 | 5B7F864A1B97C01900546B6F /* Sources */ = {
221 | isa = PBXSourcesBuildPhase;
222 | buildActionMask = 2147483647;
223 | files = (
224 | 5B7F86551B97C01900546B6F /* GlitchyTableTests.swift in Sources */,
225 | );
226 | runOnlyForDeploymentPostprocessing = 0;
227 | };
228 | /* End PBXSourcesBuildPhase section */
229 |
230 | /* Begin PBXTargetDependency section */
231 | 5B7F86501B97C01900546B6F /* PBXTargetDependency */ = {
232 | isa = PBXTargetDependency;
233 | target = 5B7F86381B97C01900546B6F /* GlitchyTable */;
234 | targetProxy = 5B7F864F1B97C01900546B6F /* PBXContainerItemProxy */;
235 | };
236 | /* End PBXTargetDependency section */
237 |
238 | /* Begin PBXVariantGroup section */
239 | 5B7F86421B97C01900546B6F /* Main.storyboard */ = {
240 | isa = PBXVariantGroup;
241 | children = (
242 | 5B7F86431B97C01900546B6F /* Base */,
243 | );
244 | name = Main.storyboard;
245 | sourceTree = "";
246 | };
247 | 5B7F86471B97C01900546B6F /* LaunchScreen.xib */ = {
248 | isa = PBXVariantGroup;
249 | children = (
250 | 5B7F86481B97C01900546B6F /* Base */,
251 | );
252 | name = LaunchScreen.xib;
253 | sourceTree = "";
254 | };
255 | /* End PBXVariantGroup section */
256 |
257 | /* Begin XCBuildConfiguration section */
258 | 5B7F86561B97C01900546B6F /* Debug */ = {
259 | isa = XCBuildConfiguration;
260 | buildSettings = {
261 | ALWAYS_SEARCH_USER_PATHS = NO;
262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
263 | CLANG_CXX_LIBRARY = "libc++";
264 | CLANG_ENABLE_MODULES = YES;
265 | CLANG_ENABLE_OBJC_ARC = YES;
266 | CLANG_WARN_BOOL_CONVERSION = YES;
267 | CLANG_WARN_CONSTANT_CONVERSION = YES;
268 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
269 | CLANG_WARN_EMPTY_BODY = YES;
270 | CLANG_WARN_ENUM_CONVERSION = YES;
271 | CLANG_WARN_INT_CONVERSION = YES;
272 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273 | CLANG_WARN_UNREACHABLE_CODE = YES;
274 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
275 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
276 | COPY_PHASE_STRIP = NO;
277 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
278 | ENABLE_STRICT_OBJC_MSGSEND = YES;
279 | GCC_C_LANGUAGE_STANDARD = gnu99;
280 | GCC_DYNAMIC_NO_PIC = NO;
281 | GCC_NO_COMMON_BLOCKS = YES;
282 | GCC_OPTIMIZATION_LEVEL = 0;
283 | GCC_PREPROCESSOR_DEFINITIONS = (
284 | "DEBUG=1",
285 | "$(inherited)",
286 | );
287 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
288 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
289 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
290 | GCC_WARN_UNDECLARED_SELECTOR = YES;
291 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
292 | GCC_WARN_UNUSED_FUNCTION = YES;
293 | GCC_WARN_UNUSED_VARIABLE = YES;
294 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
295 | MTL_ENABLE_DEBUG_INFO = YES;
296 | ONLY_ACTIVE_ARCH = YES;
297 | SDKROOT = iphoneos;
298 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
299 | TARGETED_DEVICE_FAMILY = "1,2";
300 | };
301 | name = Debug;
302 | };
303 | 5B7F86571B97C01900546B6F /* Release */ = {
304 | isa = XCBuildConfiguration;
305 | buildSettings = {
306 | ALWAYS_SEARCH_USER_PATHS = NO;
307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
308 | CLANG_CXX_LIBRARY = "libc++";
309 | CLANG_ENABLE_MODULES = YES;
310 | CLANG_ENABLE_OBJC_ARC = YES;
311 | CLANG_WARN_BOOL_CONVERSION = YES;
312 | CLANG_WARN_CONSTANT_CONVERSION = YES;
313 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
314 | CLANG_WARN_EMPTY_BODY = YES;
315 | CLANG_WARN_ENUM_CONVERSION = YES;
316 | CLANG_WARN_INT_CONVERSION = YES;
317 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
318 | CLANG_WARN_UNREACHABLE_CODE = YES;
319 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
320 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
321 | COPY_PHASE_STRIP = NO;
322 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
323 | ENABLE_NS_ASSERTIONS = NO;
324 | ENABLE_STRICT_OBJC_MSGSEND = YES;
325 | GCC_C_LANGUAGE_STANDARD = gnu99;
326 | GCC_NO_COMMON_BLOCKS = YES;
327 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
328 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
329 | GCC_WARN_UNDECLARED_SELECTOR = YES;
330 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
331 | GCC_WARN_UNUSED_FUNCTION = YES;
332 | GCC_WARN_UNUSED_VARIABLE = YES;
333 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
334 | MTL_ENABLE_DEBUG_INFO = NO;
335 | SDKROOT = iphoneos;
336 | TARGETED_DEVICE_FAMILY = "1,2";
337 | VALIDATE_PRODUCT = YES;
338 | };
339 | name = Release;
340 | };
341 | 5B7F86591B97C01900546B6F /* Debug */ = {
342 | isa = XCBuildConfiguration;
343 | buildSettings = {
344 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
345 | INFOPLIST_FILE = GlitchyTable/Info.plist;
346 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
347 | PRODUCT_NAME = "$(TARGET_NAME)";
348 | };
349 | name = Debug;
350 | };
351 | 5B7F865A1B97C01900546B6F /* Release */ = {
352 | isa = XCBuildConfiguration;
353 | buildSettings = {
354 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
355 | INFOPLIST_FILE = GlitchyTable/Info.plist;
356 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
357 | PRODUCT_NAME = "$(TARGET_NAME)";
358 | };
359 | name = Release;
360 | };
361 | 5B7F865C1B97C01900546B6F /* Debug */ = {
362 | isa = XCBuildConfiguration;
363 | buildSettings = {
364 | BUNDLE_LOADER = "$(TEST_HOST)";
365 | FRAMEWORK_SEARCH_PATHS = (
366 | "$(SDKROOT)/Developer/Library/Frameworks",
367 | "$(inherited)",
368 | );
369 | GCC_PREPROCESSOR_DEFINITIONS = (
370 | "DEBUG=1",
371 | "$(inherited)",
372 | );
373 | INFOPLIST_FILE = GlitchyTableTests/Info.plist;
374 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
375 | PRODUCT_NAME = "$(TARGET_NAME)";
376 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GlitchyTable.app/GlitchyTable";
377 | };
378 | name = Debug;
379 | };
380 | 5B7F865D1B97C01900546B6F /* Release */ = {
381 | isa = XCBuildConfiguration;
382 | buildSettings = {
383 | BUNDLE_LOADER = "$(TEST_HOST)";
384 | FRAMEWORK_SEARCH_PATHS = (
385 | "$(SDKROOT)/Developer/Library/Frameworks",
386 | "$(inherited)",
387 | );
388 | INFOPLIST_FILE = GlitchyTableTests/Info.plist;
389 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
390 | PRODUCT_NAME = "$(TARGET_NAME)";
391 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GlitchyTable.app/GlitchyTable";
392 | };
393 | name = Release;
394 | };
395 | /* End XCBuildConfiguration section */
396 |
397 | /* Begin XCConfigurationList section */
398 | 5B7F86341B97C01900546B6F /* Build configuration list for PBXProject "GlitchyTable" */ = {
399 | isa = XCConfigurationList;
400 | buildConfigurations = (
401 | 5B7F86561B97C01900546B6F /* Debug */,
402 | 5B7F86571B97C01900546B6F /* Release */,
403 | );
404 | defaultConfigurationIsVisible = 0;
405 | defaultConfigurationName = Release;
406 | };
407 | 5B7F86581B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTable" */ = {
408 | isa = XCConfigurationList;
409 | buildConfigurations = (
410 | 5B7F86591B97C01900546B6F /* Debug */,
411 | 5B7F865A1B97C01900546B6F /* Release */,
412 | );
413 | defaultConfigurationIsVisible = 0;
414 | defaultConfigurationName = Release;
415 | };
416 | 5B7F865B1B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTableTests" */ = {
417 | isa = XCConfigurationList;
418 | buildConfigurations = (
419 | 5B7F865C1B97C01900546B6F /* Debug */,
420 | 5B7F865D1B97C01900546B6F /* Release */,
421 | );
422 | defaultConfigurationIsVisible = 0;
423 | defaultConfigurationName = Release;
424 | };
425 | /* End XCConfigurationList section */
426 | };
427 | rootObject = 5B7F86311B97C01900546B6F /* Project object */;
428 | }
429 |
--------------------------------------------------------------------------------
/2 Buggy Solution/GlitchyTable/GlitchyTable.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 5B7F863F1B97C01900546B6F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F863E1B97C01900546B6F /* AppDelegate.swift */; };
11 | 5B7F86441B97C01900546B6F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86421B97C01900546B6F /* Main.storyboard */; };
12 | 5B7F86461B97C01900546B6F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86451B97C01900546B6F /* Images.xcassets */; };
13 | 5B7F86491B97C01900546B6F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86471B97C01900546B6F /* LaunchScreen.xib */; };
14 | 5B7F86551B97C01900546B6F /* GlitchyTableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */; };
15 | 5B7F865F1B97C04200546B6F /* GlitchyTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXContainerItemProxy section */
19 | 5B7F864F1B97C01900546B6F /* PBXContainerItemProxy */ = {
20 | isa = PBXContainerItemProxy;
21 | containerPortal = 5B7F86311B97C01900546B6F /* Project object */;
22 | proxyType = 1;
23 | remoteGlobalIDString = 5B7F86381B97C01900546B6F;
24 | remoteInfo = GlitchyTable;
25 | };
26 | /* End PBXContainerItemProxy section */
27 |
28 | /* Begin PBXFileReference section */
29 | 5B7F86391B97C01900546B6F /* GlitchyTable.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GlitchyTable.app; sourceTree = BUILT_PRODUCTS_DIR; };
30 | 5B7F863D1B97C01900546B6F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
31 | 5B7F863E1B97C01900546B6F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
32 | 5B7F86431B97C01900546B6F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
33 | 5B7F86451B97C01900546B6F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
34 | 5B7F86481B97C01900546B6F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
35 | 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GlitchyTableTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
36 | 5B7F86531B97C01900546B6F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
37 | 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GlitchyTableTests.swift; sourceTree = ""; };
38 | 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GlitchyTableViewController.swift; sourceTree = ""; };
39 | /* End PBXFileReference section */
40 |
41 | /* Begin PBXFrameworksBuildPhase section */
42 | 5B7F86361B97C01900546B6F /* Frameworks */ = {
43 | isa = PBXFrameworksBuildPhase;
44 | buildActionMask = 2147483647;
45 | files = (
46 | );
47 | runOnlyForDeploymentPostprocessing = 0;
48 | };
49 | 5B7F864B1B97C01900546B6F /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | /* End PBXFrameworksBuildPhase section */
57 |
58 | /* Begin PBXGroup section */
59 | 5B7F86301B97C01900546B6F = {
60 | isa = PBXGroup;
61 | children = (
62 | 5B7F863B1B97C01900546B6F /* GlitchyTable */,
63 | 5B7F86511B97C01900546B6F /* GlitchyTableTests */,
64 | 5B7F863A1B97C01900546B6F /* Products */,
65 | );
66 | sourceTree = "";
67 | };
68 | 5B7F863A1B97C01900546B6F /* Products */ = {
69 | isa = PBXGroup;
70 | children = (
71 | 5B7F86391B97C01900546B6F /* GlitchyTable.app */,
72 | 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */,
73 | );
74 | name = Products;
75 | sourceTree = "";
76 | };
77 | 5B7F863B1B97C01900546B6F /* GlitchyTable */ = {
78 | isa = PBXGroup;
79 | children = (
80 | 5B7F863E1B97C01900546B6F /* AppDelegate.swift */,
81 | 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */,
82 | 5B7F86421B97C01900546B6F /* Main.storyboard */,
83 | 5B7F86451B97C01900546B6F /* Images.xcassets */,
84 | 5B7F86471B97C01900546B6F /* LaunchScreen.xib */,
85 | 5B7F863C1B97C01900546B6F /* Supporting Files */,
86 | );
87 | path = GlitchyTable;
88 | sourceTree = "";
89 | };
90 | 5B7F863C1B97C01900546B6F /* Supporting Files */ = {
91 | isa = PBXGroup;
92 | children = (
93 | 5B7F863D1B97C01900546B6F /* Info.plist */,
94 | );
95 | name = "Supporting Files";
96 | sourceTree = "";
97 | };
98 | 5B7F86511B97C01900546B6F /* GlitchyTableTests */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */,
102 | 5B7F86521B97C01900546B6F /* Supporting Files */,
103 | );
104 | path = GlitchyTableTests;
105 | sourceTree = "";
106 | };
107 | 5B7F86521B97C01900546B6F /* Supporting Files */ = {
108 | isa = PBXGroup;
109 | children = (
110 | 5B7F86531B97C01900546B6F /* Info.plist */,
111 | );
112 | name = "Supporting Files";
113 | sourceTree = "";
114 | };
115 | /* End PBXGroup section */
116 |
117 | /* Begin PBXNativeTarget section */
118 | 5B7F86381B97C01900546B6F /* GlitchyTable */ = {
119 | isa = PBXNativeTarget;
120 | buildConfigurationList = 5B7F86581B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTable" */;
121 | buildPhases = (
122 | 5B7F86351B97C01900546B6F /* Sources */,
123 | 5B7F86361B97C01900546B6F /* Frameworks */,
124 | 5B7F86371B97C01900546B6F /* Resources */,
125 | );
126 | buildRules = (
127 | );
128 | dependencies = (
129 | );
130 | name = GlitchyTable;
131 | productName = GlitchyTable;
132 | productReference = 5B7F86391B97C01900546B6F /* GlitchyTable.app */;
133 | productType = "com.apple.product-type.application";
134 | };
135 | 5B7F864D1B97C01900546B6F /* GlitchyTableTests */ = {
136 | isa = PBXNativeTarget;
137 | buildConfigurationList = 5B7F865B1B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTableTests" */;
138 | buildPhases = (
139 | 5B7F864A1B97C01900546B6F /* Sources */,
140 | 5B7F864B1B97C01900546B6F /* Frameworks */,
141 | 5B7F864C1B97C01900546B6F /* Resources */,
142 | );
143 | buildRules = (
144 | );
145 | dependencies = (
146 | 5B7F86501B97C01900546B6F /* PBXTargetDependency */,
147 | );
148 | name = GlitchyTableTests;
149 | productName = GlitchyTableTests;
150 | productReference = 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */;
151 | productType = "com.apple.product-type.bundle.unit-test";
152 | };
153 | /* End PBXNativeTarget section */
154 |
155 | /* Begin PBXProject section */
156 | 5B7F86311B97C01900546B6F /* Project object */ = {
157 | isa = PBXProject;
158 | attributes = {
159 | LastUpgradeCheck = 0640;
160 | ORGANIZATIONNAME = "Jason Pepas";
161 | TargetAttributes = {
162 | 5B7F86381B97C01900546B6F = {
163 | CreatedOnToolsVersion = 6.4;
164 | };
165 | 5B7F864D1B97C01900546B6F = {
166 | CreatedOnToolsVersion = 6.4;
167 | TestTargetID = 5B7F86381B97C01900546B6F;
168 | };
169 | };
170 | };
171 | buildConfigurationList = 5B7F86341B97C01900546B6F /* Build configuration list for PBXProject "GlitchyTable" */;
172 | compatibilityVersion = "Xcode 3.2";
173 | developmentRegion = English;
174 | hasScannedForEncodings = 0;
175 | knownRegions = (
176 | en,
177 | Base,
178 | );
179 | mainGroup = 5B7F86301B97C01900546B6F;
180 | productRefGroup = 5B7F863A1B97C01900546B6F /* Products */;
181 | projectDirPath = "";
182 | projectRoot = "";
183 | targets = (
184 | 5B7F86381B97C01900546B6F /* GlitchyTable */,
185 | 5B7F864D1B97C01900546B6F /* GlitchyTableTests */,
186 | );
187 | };
188 | /* End PBXProject section */
189 |
190 | /* Begin PBXResourcesBuildPhase section */
191 | 5B7F86371B97C01900546B6F /* Resources */ = {
192 | isa = PBXResourcesBuildPhase;
193 | buildActionMask = 2147483647;
194 | files = (
195 | 5B7F86441B97C01900546B6F /* Main.storyboard in Resources */,
196 | 5B7F86491B97C01900546B6F /* LaunchScreen.xib in Resources */,
197 | 5B7F86461B97C01900546B6F /* Images.xcassets in Resources */,
198 | );
199 | runOnlyForDeploymentPostprocessing = 0;
200 | };
201 | 5B7F864C1B97C01900546B6F /* Resources */ = {
202 | isa = PBXResourcesBuildPhase;
203 | buildActionMask = 2147483647;
204 | files = (
205 | );
206 | runOnlyForDeploymentPostprocessing = 0;
207 | };
208 | /* End PBXResourcesBuildPhase section */
209 |
210 | /* Begin PBXSourcesBuildPhase section */
211 | 5B7F86351B97C01900546B6F /* Sources */ = {
212 | isa = PBXSourcesBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | 5B7F865F1B97C04200546B6F /* GlitchyTableViewController.swift in Sources */,
216 | 5B7F863F1B97C01900546B6F /* AppDelegate.swift in Sources */,
217 | );
218 | runOnlyForDeploymentPostprocessing = 0;
219 | };
220 | 5B7F864A1B97C01900546B6F /* Sources */ = {
221 | isa = PBXSourcesBuildPhase;
222 | buildActionMask = 2147483647;
223 | files = (
224 | 5B7F86551B97C01900546B6F /* GlitchyTableTests.swift in Sources */,
225 | );
226 | runOnlyForDeploymentPostprocessing = 0;
227 | };
228 | /* End PBXSourcesBuildPhase section */
229 |
230 | /* Begin PBXTargetDependency section */
231 | 5B7F86501B97C01900546B6F /* PBXTargetDependency */ = {
232 | isa = PBXTargetDependency;
233 | target = 5B7F86381B97C01900546B6F /* GlitchyTable */;
234 | targetProxy = 5B7F864F1B97C01900546B6F /* PBXContainerItemProxy */;
235 | };
236 | /* End PBXTargetDependency section */
237 |
238 | /* Begin PBXVariantGroup section */
239 | 5B7F86421B97C01900546B6F /* Main.storyboard */ = {
240 | isa = PBXVariantGroup;
241 | children = (
242 | 5B7F86431B97C01900546B6F /* Base */,
243 | );
244 | name = Main.storyboard;
245 | sourceTree = "";
246 | };
247 | 5B7F86471B97C01900546B6F /* LaunchScreen.xib */ = {
248 | isa = PBXVariantGroup;
249 | children = (
250 | 5B7F86481B97C01900546B6F /* Base */,
251 | );
252 | name = LaunchScreen.xib;
253 | sourceTree = "";
254 | };
255 | /* End PBXVariantGroup section */
256 |
257 | /* Begin XCBuildConfiguration section */
258 | 5B7F86561B97C01900546B6F /* Debug */ = {
259 | isa = XCBuildConfiguration;
260 | buildSettings = {
261 | ALWAYS_SEARCH_USER_PATHS = NO;
262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
263 | CLANG_CXX_LIBRARY = "libc++";
264 | CLANG_ENABLE_MODULES = YES;
265 | CLANG_ENABLE_OBJC_ARC = YES;
266 | CLANG_WARN_BOOL_CONVERSION = YES;
267 | CLANG_WARN_CONSTANT_CONVERSION = YES;
268 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
269 | CLANG_WARN_EMPTY_BODY = YES;
270 | CLANG_WARN_ENUM_CONVERSION = YES;
271 | CLANG_WARN_INT_CONVERSION = YES;
272 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273 | CLANG_WARN_UNREACHABLE_CODE = YES;
274 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
275 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
276 | COPY_PHASE_STRIP = NO;
277 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
278 | ENABLE_STRICT_OBJC_MSGSEND = YES;
279 | GCC_C_LANGUAGE_STANDARD = gnu99;
280 | GCC_DYNAMIC_NO_PIC = NO;
281 | GCC_NO_COMMON_BLOCKS = YES;
282 | GCC_OPTIMIZATION_LEVEL = 0;
283 | GCC_PREPROCESSOR_DEFINITIONS = (
284 | "DEBUG=1",
285 | "$(inherited)",
286 | );
287 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
288 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
289 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
290 | GCC_WARN_UNDECLARED_SELECTOR = YES;
291 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
292 | GCC_WARN_UNUSED_FUNCTION = YES;
293 | GCC_WARN_UNUSED_VARIABLE = YES;
294 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
295 | MTL_ENABLE_DEBUG_INFO = YES;
296 | ONLY_ACTIVE_ARCH = YES;
297 | SDKROOT = iphoneos;
298 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
299 | TARGETED_DEVICE_FAMILY = "1,2";
300 | };
301 | name = Debug;
302 | };
303 | 5B7F86571B97C01900546B6F /* Release */ = {
304 | isa = XCBuildConfiguration;
305 | buildSettings = {
306 | ALWAYS_SEARCH_USER_PATHS = NO;
307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
308 | CLANG_CXX_LIBRARY = "libc++";
309 | CLANG_ENABLE_MODULES = YES;
310 | CLANG_ENABLE_OBJC_ARC = YES;
311 | CLANG_WARN_BOOL_CONVERSION = YES;
312 | CLANG_WARN_CONSTANT_CONVERSION = YES;
313 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
314 | CLANG_WARN_EMPTY_BODY = YES;
315 | CLANG_WARN_ENUM_CONVERSION = YES;
316 | CLANG_WARN_INT_CONVERSION = YES;
317 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
318 | CLANG_WARN_UNREACHABLE_CODE = YES;
319 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
320 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
321 | COPY_PHASE_STRIP = NO;
322 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
323 | ENABLE_NS_ASSERTIONS = NO;
324 | ENABLE_STRICT_OBJC_MSGSEND = YES;
325 | GCC_C_LANGUAGE_STANDARD = gnu99;
326 | GCC_NO_COMMON_BLOCKS = YES;
327 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
328 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
329 | GCC_WARN_UNDECLARED_SELECTOR = YES;
330 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
331 | GCC_WARN_UNUSED_FUNCTION = YES;
332 | GCC_WARN_UNUSED_VARIABLE = YES;
333 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
334 | MTL_ENABLE_DEBUG_INFO = NO;
335 | SDKROOT = iphoneos;
336 | TARGETED_DEVICE_FAMILY = "1,2";
337 | VALIDATE_PRODUCT = YES;
338 | };
339 | name = Release;
340 | };
341 | 5B7F86591B97C01900546B6F /* Debug */ = {
342 | isa = XCBuildConfiguration;
343 | buildSettings = {
344 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
345 | INFOPLIST_FILE = GlitchyTable/Info.plist;
346 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
347 | PRODUCT_NAME = "$(TARGET_NAME)";
348 | };
349 | name = Debug;
350 | };
351 | 5B7F865A1B97C01900546B6F /* Release */ = {
352 | isa = XCBuildConfiguration;
353 | buildSettings = {
354 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
355 | INFOPLIST_FILE = GlitchyTable/Info.plist;
356 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
357 | PRODUCT_NAME = "$(TARGET_NAME)";
358 | };
359 | name = Release;
360 | };
361 | 5B7F865C1B97C01900546B6F /* Debug */ = {
362 | isa = XCBuildConfiguration;
363 | buildSettings = {
364 | BUNDLE_LOADER = "$(TEST_HOST)";
365 | FRAMEWORK_SEARCH_PATHS = (
366 | "$(SDKROOT)/Developer/Library/Frameworks",
367 | "$(inherited)",
368 | );
369 | GCC_PREPROCESSOR_DEFINITIONS = (
370 | "DEBUG=1",
371 | "$(inherited)",
372 | );
373 | INFOPLIST_FILE = GlitchyTableTests/Info.plist;
374 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
375 | PRODUCT_NAME = "$(TARGET_NAME)";
376 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GlitchyTable.app/GlitchyTable";
377 | };
378 | name = Debug;
379 | };
380 | 5B7F865D1B97C01900546B6F /* Release */ = {
381 | isa = XCBuildConfiguration;
382 | buildSettings = {
383 | BUNDLE_LOADER = "$(TEST_HOST)";
384 | FRAMEWORK_SEARCH_PATHS = (
385 | "$(SDKROOT)/Developer/Library/Frameworks",
386 | "$(inherited)",
387 | );
388 | INFOPLIST_FILE = GlitchyTableTests/Info.plist;
389 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
390 | PRODUCT_NAME = "$(TARGET_NAME)";
391 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GlitchyTable.app/GlitchyTable";
392 | };
393 | name = Release;
394 | };
395 | /* End XCBuildConfiguration section */
396 |
397 | /* Begin XCConfigurationList section */
398 | 5B7F86341B97C01900546B6F /* Build configuration list for PBXProject "GlitchyTable" */ = {
399 | isa = XCConfigurationList;
400 | buildConfigurations = (
401 | 5B7F86561B97C01900546B6F /* Debug */,
402 | 5B7F86571B97C01900546B6F /* Release */,
403 | );
404 | defaultConfigurationIsVisible = 0;
405 | defaultConfigurationName = Release;
406 | };
407 | 5B7F86581B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTable" */ = {
408 | isa = XCConfigurationList;
409 | buildConfigurations = (
410 | 5B7F86591B97C01900546B6F /* Debug */,
411 | 5B7F865A1B97C01900546B6F /* Release */,
412 | );
413 | defaultConfigurationIsVisible = 0;
414 | defaultConfigurationName = Release;
415 | };
416 | 5B7F865B1B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTableTests" */ = {
417 | isa = XCConfigurationList;
418 | buildConfigurations = (
419 | 5B7F865C1B97C01900546B6F /* Debug */,
420 | 5B7F865D1B97C01900546B6F /* Release */,
421 | );
422 | defaultConfigurationIsVisible = 0;
423 | defaultConfigurationName = Release;
424 | };
425 | /* End XCConfigurationList section */
426 | };
427 | rootObject = 5B7F86311B97C01900546B6F /* Project object */;
428 | }
429 |
--------------------------------------------------------------------------------
/3 Correct Solution/GlitchyTable/GlitchyTable.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 5B7F863F1B97C01900546B6F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F863E1B97C01900546B6F /* AppDelegate.swift */; };
11 | 5B7F86441B97C01900546B6F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86421B97C01900546B6F /* Main.storyboard */; };
12 | 5B7F86461B97C01900546B6F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86451B97C01900546B6F /* Images.xcassets */; };
13 | 5B7F86491B97C01900546B6F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5B7F86471B97C01900546B6F /* LaunchScreen.xib */; };
14 | 5B7F86551B97C01900546B6F /* GlitchyTableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */; };
15 | 5B7F865F1B97C04200546B6F /* GlitchyTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXContainerItemProxy section */
19 | 5B7F864F1B97C01900546B6F /* PBXContainerItemProxy */ = {
20 | isa = PBXContainerItemProxy;
21 | containerPortal = 5B7F86311B97C01900546B6F /* Project object */;
22 | proxyType = 1;
23 | remoteGlobalIDString = 5B7F86381B97C01900546B6F;
24 | remoteInfo = GlitchyTable;
25 | };
26 | /* End PBXContainerItemProxy section */
27 |
28 | /* Begin PBXFileReference section */
29 | 5B7F86391B97C01900546B6F /* GlitchyTable.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GlitchyTable.app; sourceTree = BUILT_PRODUCTS_DIR; };
30 | 5B7F863D1B97C01900546B6F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
31 | 5B7F863E1B97C01900546B6F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
32 | 5B7F86431B97C01900546B6F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
33 | 5B7F86451B97C01900546B6F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
34 | 5B7F86481B97C01900546B6F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
35 | 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GlitchyTableTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
36 | 5B7F86531B97C01900546B6F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
37 | 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GlitchyTableTests.swift; sourceTree = ""; };
38 | 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GlitchyTableViewController.swift; sourceTree = ""; };
39 | /* End PBXFileReference section */
40 |
41 | /* Begin PBXFrameworksBuildPhase section */
42 | 5B7F86361B97C01900546B6F /* Frameworks */ = {
43 | isa = PBXFrameworksBuildPhase;
44 | buildActionMask = 2147483647;
45 | files = (
46 | );
47 | runOnlyForDeploymentPostprocessing = 0;
48 | };
49 | 5B7F864B1B97C01900546B6F /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | /* End PBXFrameworksBuildPhase section */
57 |
58 | /* Begin PBXGroup section */
59 | 5B7F86301B97C01900546B6F = {
60 | isa = PBXGroup;
61 | children = (
62 | 5B7F863B1B97C01900546B6F /* GlitchyTable */,
63 | 5B7F86511B97C01900546B6F /* GlitchyTableTests */,
64 | 5B7F863A1B97C01900546B6F /* Products */,
65 | );
66 | sourceTree = "";
67 | };
68 | 5B7F863A1B97C01900546B6F /* Products */ = {
69 | isa = PBXGroup;
70 | children = (
71 | 5B7F86391B97C01900546B6F /* GlitchyTable.app */,
72 | 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */,
73 | );
74 | name = Products;
75 | sourceTree = "";
76 | };
77 | 5B7F863B1B97C01900546B6F /* GlitchyTable */ = {
78 | isa = PBXGroup;
79 | children = (
80 | 5B7F863E1B97C01900546B6F /* AppDelegate.swift */,
81 | 5B7F865E1B97C04200546B6F /* GlitchyTableViewController.swift */,
82 | 5B7F86421B97C01900546B6F /* Main.storyboard */,
83 | 5B7F86451B97C01900546B6F /* Images.xcassets */,
84 | 5B7F86471B97C01900546B6F /* LaunchScreen.xib */,
85 | 5B7F863C1B97C01900546B6F /* Supporting Files */,
86 | );
87 | path = GlitchyTable;
88 | sourceTree = "";
89 | };
90 | 5B7F863C1B97C01900546B6F /* Supporting Files */ = {
91 | isa = PBXGroup;
92 | children = (
93 | 5B7F863D1B97C01900546B6F /* Info.plist */,
94 | );
95 | name = "Supporting Files";
96 | sourceTree = "";
97 | };
98 | 5B7F86511B97C01900546B6F /* GlitchyTableTests */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 5B7F86541B97C01900546B6F /* GlitchyTableTests.swift */,
102 | 5B7F86521B97C01900546B6F /* Supporting Files */,
103 | );
104 | path = GlitchyTableTests;
105 | sourceTree = "";
106 | };
107 | 5B7F86521B97C01900546B6F /* Supporting Files */ = {
108 | isa = PBXGroup;
109 | children = (
110 | 5B7F86531B97C01900546B6F /* Info.plist */,
111 | );
112 | name = "Supporting Files";
113 | sourceTree = "";
114 | };
115 | /* End PBXGroup section */
116 |
117 | /* Begin PBXNativeTarget section */
118 | 5B7F86381B97C01900546B6F /* GlitchyTable */ = {
119 | isa = PBXNativeTarget;
120 | buildConfigurationList = 5B7F86581B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTable" */;
121 | buildPhases = (
122 | 5B7F86351B97C01900546B6F /* Sources */,
123 | 5B7F86361B97C01900546B6F /* Frameworks */,
124 | 5B7F86371B97C01900546B6F /* Resources */,
125 | );
126 | buildRules = (
127 | );
128 | dependencies = (
129 | );
130 | name = GlitchyTable;
131 | productName = GlitchyTable;
132 | productReference = 5B7F86391B97C01900546B6F /* GlitchyTable.app */;
133 | productType = "com.apple.product-type.application";
134 | };
135 | 5B7F864D1B97C01900546B6F /* GlitchyTableTests */ = {
136 | isa = PBXNativeTarget;
137 | buildConfigurationList = 5B7F865B1B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTableTests" */;
138 | buildPhases = (
139 | 5B7F864A1B97C01900546B6F /* Sources */,
140 | 5B7F864B1B97C01900546B6F /* Frameworks */,
141 | 5B7F864C1B97C01900546B6F /* Resources */,
142 | );
143 | buildRules = (
144 | );
145 | dependencies = (
146 | 5B7F86501B97C01900546B6F /* PBXTargetDependency */,
147 | );
148 | name = GlitchyTableTests;
149 | productName = GlitchyTableTests;
150 | productReference = 5B7F864E1B97C01900546B6F /* GlitchyTableTests.xctest */;
151 | productType = "com.apple.product-type.bundle.unit-test";
152 | };
153 | /* End PBXNativeTarget section */
154 |
155 | /* Begin PBXProject section */
156 | 5B7F86311B97C01900546B6F /* Project object */ = {
157 | isa = PBXProject;
158 | attributes = {
159 | LastUpgradeCheck = 0640;
160 | ORGANIZATIONNAME = "Jason Pepas";
161 | TargetAttributes = {
162 | 5B7F86381B97C01900546B6F = {
163 | CreatedOnToolsVersion = 6.4;
164 | };
165 | 5B7F864D1B97C01900546B6F = {
166 | CreatedOnToolsVersion = 6.4;
167 | TestTargetID = 5B7F86381B97C01900546B6F;
168 | };
169 | };
170 | };
171 | buildConfigurationList = 5B7F86341B97C01900546B6F /* Build configuration list for PBXProject "GlitchyTable" */;
172 | compatibilityVersion = "Xcode 3.2";
173 | developmentRegion = English;
174 | hasScannedForEncodings = 0;
175 | knownRegions = (
176 | en,
177 | Base,
178 | );
179 | mainGroup = 5B7F86301B97C01900546B6F;
180 | productRefGroup = 5B7F863A1B97C01900546B6F /* Products */;
181 | projectDirPath = "";
182 | projectRoot = "";
183 | targets = (
184 | 5B7F86381B97C01900546B6F /* GlitchyTable */,
185 | 5B7F864D1B97C01900546B6F /* GlitchyTableTests */,
186 | );
187 | };
188 | /* End PBXProject section */
189 |
190 | /* Begin PBXResourcesBuildPhase section */
191 | 5B7F86371B97C01900546B6F /* Resources */ = {
192 | isa = PBXResourcesBuildPhase;
193 | buildActionMask = 2147483647;
194 | files = (
195 | 5B7F86441B97C01900546B6F /* Main.storyboard in Resources */,
196 | 5B7F86491B97C01900546B6F /* LaunchScreen.xib in Resources */,
197 | 5B7F86461B97C01900546B6F /* Images.xcassets in Resources */,
198 | );
199 | runOnlyForDeploymentPostprocessing = 0;
200 | };
201 | 5B7F864C1B97C01900546B6F /* Resources */ = {
202 | isa = PBXResourcesBuildPhase;
203 | buildActionMask = 2147483647;
204 | files = (
205 | );
206 | runOnlyForDeploymentPostprocessing = 0;
207 | };
208 | /* End PBXResourcesBuildPhase section */
209 |
210 | /* Begin PBXSourcesBuildPhase section */
211 | 5B7F86351B97C01900546B6F /* Sources */ = {
212 | isa = PBXSourcesBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | 5B7F865F1B97C04200546B6F /* GlitchyTableViewController.swift in Sources */,
216 | 5B7F863F1B97C01900546B6F /* AppDelegate.swift in Sources */,
217 | );
218 | runOnlyForDeploymentPostprocessing = 0;
219 | };
220 | 5B7F864A1B97C01900546B6F /* Sources */ = {
221 | isa = PBXSourcesBuildPhase;
222 | buildActionMask = 2147483647;
223 | files = (
224 | 5B7F86551B97C01900546B6F /* GlitchyTableTests.swift in Sources */,
225 | );
226 | runOnlyForDeploymentPostprocessing = 0;
227 | };
228 | /* End PBXSourcesBuildPhase section */
229 |
230 | /* Begin PBXTargetDependency section */
231 | 5B7F86501B97C01900546B6F /* PBXTargetDependency */ = {
232 | isa = PBXTargetDependency;
233 | target = 5B7F86381B97C01900546B6F /* GlitchyTable */;
234 | targetProxy = 5B7F864F1B97C01900546B6F /* PBXContainerItemProxy */;
235 | };
236 | /* End PBXTargetDependency section */
237 |
238 | /* Begin PBXVariantGroup section */
239 | 5B7F86421B97C01900546B6F /* Main.storyboard */ = {
240 | isa = PBXVariantGroup;
241 | children = (
242 | 5B7F86431B97C01900546B6F /* Base */,
243 | );
244 | name = Main.storyboard;
245 | sourceTree = "";
246 | };
247 | 5B7F86471B97C01900546B6F /* LaunchScreen.xib */ = {
248 | isa = PBXVariantGroup;
249 | children = (
250 | 5B7F86481B97C01900546B6F /* Base */,
251 | );
252 | name = LaunchScreen.xib;
253 | sourceTree = "";
254 | };
255 | /* End PBXVariantGroup section */
256 |
257 | /* Begin XCBuildConfiguration section */
258 | 5B7F86561B97C01900546B6F /* Debug */ = {
259 | isa = XCBuildConfiguration;
260 | buildSettings = {
261 | ALWAYS_SEARCH_USER_PATHS = NO;
262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
263 | CLANG_CXX_LIBRARY = "libc++";
264 | CLANG_ENABLE_MODULES = YES;
265 | CLANG_ENABLE_OBJC_ARC = YES;
266 | CLANG_WARN_BOOL_CONVERSION = YES;
267 | CLANG_WARN_CONSTANT_CONVERSION = YES;
268 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
269 | CLANG_WARN_EMPTY_BODY = YES;
270 | CLANG_WARN_ENUM_CONVERSION = YES;
271 | CLANG_WARN_INT_CONVERSION = YES;
272 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273 | CLANG_WARN_UNREACHABLE_CODE = YES;
274 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
275 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
276 | COPY_PHASE_STRIP = NO;
277 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
278 | ENABLE_STRICT_OBJC_MSGSEND = YES;
279 | GCC_C_LANGUAGE_STANDARD = gnu99;
280 | GCC_DYNAMIC_NO_PIC = NO;
281 | GCC_NO_COMMON_BLOCKS = YES;
282 | GCC_OPTIMIZATION_LEVEL = 0;
283 | GCC_PREPROCESSOR_DEFINITIONS = (
284 | "DEBUG=1",
285 | "$(inherited)",
286 | );
287 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
288 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
289 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
290 | GCC_WARN_UNDECLARED_SELECTOR = YES;
291 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
292 | GCC_WARN_UNUSED_FUNCTION = YES;
293 | GCC_WARN_UNUSED_VARIABLE = YES;
294 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
295 | MTL_ENABLE_DEBUG_INFO = YES;
296 | ONLY_ACTIVE_ARCH = YES;
297 | SDKROOT = iphoneos;
298 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
299 | TARGETED_DEVICE_FAMILY = "1,2";
300 | };
301 | name = Debug;
302 | };
303 | 5B7F86571B97C01900546B6F /* Release */ = {
304 | isa = XCBuildConfiguration;
305 | buildSettings = {
306 | ALWAYS_SEARCH_USER_PATHS = NO;
307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
308 | CLANG_CXX_LIBRARY = "libc++";
309 | CLANG_ENABLE_MODULES = YES;
310 | CLANG_ENABLE_OBJC_ARC = YES;
311 | CLANG_WARN_BOOL_CONVERSION = YES;
312 | CLANG_WARN_CONSTANT_CONVERSION = YES;
313 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
314 | CLANG_WARN_EMPTY_BODY = YES;
315 | CLANG_WARN_ENUM_CONVERSION = YES;
316 | CLANG_WARN_INT_CONVERSION = YES;
317 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
318 | CLANG_WARN_UNREACHABLE_CODE = YES;
319 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
320 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
321 | COPY_PHASE_STRIP = NO;
322 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
323 | ENABLE_NS_ASSERTIONS = NO;
324 | ENABLE_STRICT_OBJC_MSGSEND = YES;
325 | GCC_C_LANGUAGE_STANDARD = gnu99;
326 | GCC_NO_COMMON_BLOCKS = YES;
327 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
328 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
329 | GCC_WARN_UNDECLARED_SELECTOR = YES;
330 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
331 | GCC_WARN_UNUSED_FUNCTION = YES;
332 | GCC_WARN_UNUSED_VARIABLE = YES;
333 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
334 | MTL_ENABLE_DEBUG_INFO = NO;
335 | SDKROOT = iphoneos;
336 | TARGETED_DEVICE_FAMILY = "1,2";
337 | VALIDATE_PRODUCT = YES;
338 | };
339 | name = Release;
340 | };
341 | 5B7F86591B97C01900546B6F /* Debug */ = {
342 | isa = XCBuildConfiguration;
343 | buildSettings = {
344 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
345 | INFOPLIST_FILE = GlitchyTable/Info.plist;
346 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
347 | PRODUCT_NAME = "$(TARGET_NAME)";
348 | };
349 | name = Debug;
350 | };
351 | 5B7F865A1B97C01900546B6F /* Release */ = {
352 | isa = XCBuildConfiguration;
353 | buildSettings = {
354 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
355 | INFOPLIST_FILE = GlitchyTable/Info.plist;
356 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
357 | PRODUCT_NAME = "$(TARGET_NAME)";
358 | };
359 | name = Release;
360 | };
361 | 5B7F865C1B97C01900546B6F /* Debug */ = {
362 | isa = XCBuildConfiguration;
363 | buildSettings = {
364 | BUNDLE_LOADER = "$(TEST_HOST)";
365 | FRAMEWORK_SEARCH_PATHS = (
366 | "$(SDKROOT)/Developer/Library/Frameworks",
367 | "$(inherited)",
368 | );
369 | GCC_PREPROCESSOR_DEFINITIONS = (
370 | "DEBUG=1",
371 | "$(inherited)",
372 | );
373 | INFOPLIST_FILE = GlitchyTableTests/Info.plist;
374 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
375 | PRODUCT_NAME = "$(TARGET_NAME)";
376 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GlitchyTable.app/GlitchyTable";
377 | };
378 | name = Debug;
379 | };
380 | 5B7F865D1B97C01900546B6F /* Release */ = {
381 | isa = XCBuildConfiguration;
382 | buildSettings = {
383 | BUNDLE_LOADER = "$(TEST_HOST)";
384 | FRAMEWORK_SEARCH_PATHS = (
385 | "$(SDKROOT)/Developer/Library/Frameworks",
386 | "$(inherited)",
387 | );
388 | INFOPLIST_FILE = GlitchyTableTests/Info.plist;
389 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
390 | PRODUCT_NAME = "$(TARGET_NAME)";
391 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GlitchyTable.app/GlitchyTable";
392 | };
393 | name = Release;
394 | };
395 | /* End XCBuildConfiguration section */
396 |
397 | /* Begin XCConfigurationList section */
398 | 5B7F86341B97C01900546B6F /* Build configuration list for PBXProject "GlitchyTable" */ = {
399 | isa = XCConfigurationList;
400 | buildConfigurations = (
401 | 5B7F86561B97C01900546B6F /* Debug */,
402 | 5B7F86571B97C01900546B6F /* Release */,
403 | );
404 | defaultConfigurationIsVisible = 0;
405 | defaultConfigurationName = Release;
406 | };
407 | 5B7F86581B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTable" */ = {
408 | isa = XCConfigurationList;
409 | buildConfigurations = (
410 | 5B7F86591B97C01900546B6F /* Debug */,
411 | 5B7F865A1B97C01900546B6F /* Release */,
412 | );
413 | defaultConfigurationIsVisible = 0;
414 | defaultConfigurationName = Release;
415 | };
416 | 5B7F865B1B97C01900546B6F /* Build configuration list for PBXNativeTarget "GlitchyTableTests" */ = {
417 | isa = XCConfigurationList;
418 | buildConfigurations = (
419 | 5B7F865C1B97C01900546B6F /* Debug */,
420 | 5B7F865D1B97C01900546B6F /* Release */,
421 | );
422 | defaultConfigurationIsVisible = 0;
423 | defaultConfigurationName = Release;
424 | };
425 | /* End XCConfigurationList section */
426 | };
427 | rootObject = 5B7F86311B97C01900546B6F /* Project object */;
428 | }
429 |
--------------------------------------------------------------------------------