├── .DS_Store
├── Quizzler
├── Images.xcassets
│ └── AppIcon.appiconset
│ │ ├── Icon-1024.png
│ │ ├── Icon-40@2x.png
│ │ ├── Icon-40@3x.png
│ │ ├── Icon-60@2x.png
│ │ ├── Icon-60@3x.png
│ │ ├── Icon-Small@2x.png
│ │ ├── Icon-Small@3x.png
│ │ └── Contents.json
├── ViewController.swift
├── Base.lproj
│ ├── LaunchScreen.xib
│ └── Main.storyboard
├── Info.plist
└── AppDelegate.swift
├── Quizzler.xcodeproj
├── project.xcworkspace
│ ├── contents(2).xcworkspacedata
│ ├── contents.xcworkspacedata
│ └── xcuserdata
│ │ ├── a1.xcuserdatad
│ │ ├── UserInterfaceState.xcuserstate
│ │ └── UserInterfaceState(2).xcuserstate
│ │ ├── angelayu.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
│ │ └── philippmuellauer.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
├── xcuserdata
│ ├── angelayu.xcuserdatad
│ │ └── xcschemes
│ │ │ └── xcschememanagement.plist
│ ├── a1.xcuserdatad
│ │ ├── xcdebugger
│ │ │ ├── Breakpoints_v2(2).xcbkptlist
│ │ │ └── Breakpoints_v2.xcbkptlist
│ │ └── xcschemes
│ │ │ ├── xcschememanagement(2).plist
│ │ │ ├── xcschememanagement.plist
│ │ │ └── Quizzler.xcscheme
│ └── philippmuellauer.xcuserdatad
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── Quizzler.xcscheme
└── project.pbxproj
└── README.md
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/.DS_Store
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-1024.png
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/project.xcworkspace/contents(2).xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState(2).xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState(2).xcuserstate
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/angelayu.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/angelayu.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/philippmuellauer.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/londonappbrewery/Quizzler-iOS11/HEAD/Quizzler.xcodeproj/project.xcworkspace/xcuserdata/philippmuellauer.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/angelayu.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Quizzler.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/a1.xcuserdatad/xcdebugger/Breakpoints_v2(2).xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/a1.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/a1.xcuserdatad/xcschemes/xcschememanagement(2).plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Quizzler.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 633646B81B8C657400FF45E2
16 |
17 | primary
18 |
19 |
20 | 633646CD1B8C657400FF45E2
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/a1.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Quizzler.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 633646B81B8C657400FF45E2
16 |
17 | primary
18 |
19 |
20 | 633646CD1B8C657400FF45E2
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/philippmuellauer.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Quizzler.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 633646B81B8C657400FF45E2
16 |
17 | primary
18 |
19 |
20 | 633646CD1B8C657400FF45E2
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Quizzler/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Quizzler
4 | //
5 | // Created by Angela Yu on 25/08/2015.
6 | // Copyright (c) 2015 London App Brewery. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | //Place your instance variables here
14 |
15 |
16 | @IBOutlet weak var questionLabel: UILabel!
17 | @IBOutlet weak var scoreLabel: UILabel!
18 | @IBOutlet var progressBar: UIView!
19 | @IBOutlet weak var progressLabel: UILabel!
20 |
21 | override func viewDidLoad() {
22 | super.viewDidLoad()
23 |
24 | }
25 |
26 |
27 | @IBAction func answerPressed(_ sender: AnyObject) {
28 |
29 | }
30 |
31 |
32 | func updateUI() {
33 |
34 | }
35 |
36 |
37 | func nextQuestion() {
38 |
39 | }
40 |
41 |
42 | func checkAnswer() {
43 |
44 | }
45 |
46 |
47 | func startOver() {
48 |
49 | }
50 |
51 |
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/Quizzler/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Quizzler/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UIStatusBarStyle
34 | UIStatusBarStyleLightContent
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Quizzler/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "size" : "29x29",
15 | "idiom" : "iphone",
16 | "filename" : "Icon-Small@2x.png",
17 | "scale" : "2x"
18 | },
19 | {
20 | "size" : "29x29",
21 | "idiom" : "iphone",
22 | "filename" : "Icon-Small@3x.png",
23 | "scale" : "3x"
24 | },
25 | {
26 | "size" : "40x40",
27 | "idiom" : "iphone",
28 | "filename" : "Icon-40@2x.png",
29 | "scale" : "2x"
30 | },
31 | {
32 | "size" : "40x40",
33 | "idiom" : "iphone",
34 | "filename" : "Icon-40@3x.png",
35 | "scale" : "3x"
36 | },
37 | {
38 | "size" : "60x60",
39 | "idiom" : "iphone",
40 | "filename" : "Icon-60@2x.png",
41 | "scale" : "2x"
42 | },
43 | {
44 | "size" : "60x60",
45 | "idiom" : "iphone",
46 | "filename" : "Icon-60@3x.png",
47 | "scale" : "3x"
48 | },
49 | {
50 | "size" : "1024x1024",
51 | "idiom" : "ios-marketing",
52 | "filename" : "Icon-1024.png",
53 | "scale" : "1x"
54 | }
55 | ],
56 | "info" : {
57 | "version" : 1,
58 | "author" : "xcode"
59 | }
60 | }
--------------------------------------------------------------------------------
/Quizzler/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // Quizzler
4 | //
5 | // Created by Angela Yu on 25/08/2015.
6 | // Copyright (c) 2015 London App Brewery. 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: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 |
19 |
20 | // Override point for customization after application launch.
21 | return true
22 | }
23 |
24 | func applicationWillResignActive(_ application: UIApplication) {
25 | // 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.
26 | // 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.
27 | }
28 |
29 | func applicationDidEnterBackground(_ application: UIApplication) {
30 | // 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.
31 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
32 | }
33 |
34 | func applicationWillEnterForeground(_ application: UIApplication) {
35 | // 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.
36 | }
37 |
38 | func applicationDidBecomeActive(_ application: UIApplication) {
39 | // 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.
40 | }
41 |
42 | func applicationWillTerminate(_ application: UIApplication) {
43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
44 | }
45 |
46 |
47 |
48 |
49 | }
50 |
51 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Quizzler
2 | Learn to make iOS Apps with [The App Brewery](https://www.appbrewery.co) 📱 | Project Stub | (Swift 4.0/Xcode 9) - Quizzler App
3 |
4 | Beginner: Download the starter project files as .zip and extract the files to your desktop.
5 |
6 | Pro: Git clone to your Xcode projects folder.
7 |
8 | ## Finished App
9 | 
10 |
11 |
12 |
13 | ## Quiz Text Strings
14 |
15 | // Creating a quiz item and appending it to the list
16 | let item = Question(text: "Valentine\'s day is banned in Saudi Arabia.", correctAnswer: true)
17 |
18 | // Add the Question to the list of questions
19 | list.append(item)
20 |
21 | // skipping one step and just creating the quiz item inside the append function
22 | list.append(Question(text: "A slug\'s blood is green.", correctAnswer: true))
23 |
24 | list.append(Question(text: "Approximately one quarter of human bones are in the feet.", correctAnswer: true))
25 |
26 | list.append(Question(text: "The total surface area of two human lungs is approximately 70 square metres.", correctAnswer: true))
27 |
28 | list.append(Question(text: "In West Virginia, USA, if you accidentally hit an animal with your car, you are free to take it home to eat.", correctAnswer: true))
29 |
30 | list.append(Question(text: "In London, UK, if you happen to die in the House of Parliament, you are technically entitled to a state funeral, because the building is considered too sacred a place.", correctAnswer: false))
31 |
32 | list.append(Question(text: "It is illegal to pee in the Ocean in Portugal.", correctAnswer: true))
33 |
34 | list.append(Question(text: "You can lead a cow down stairs but not up stairs.", correctAnswer: false))
35 |
36 | list.append(Question(text: "Google was originally called \"Backrub\".", correctAnswer: true))
37 |
38 | list.append(Question(text: "Buzz Aldrin\'s mother\'s maiden name was \"Moon\".", correctAnswer: true))
39 |
40 | list.append(Question(text: "The loudest sound produced by any animal is 188 decibels. That animal is the African Elephant.", correctAnswer: false))
41 |
42 | list.append(Question(text: "No piece of square dry paper can be folded in half more than 7 times.", correctAnswer: false))
43 |
44 | list.append(Question(text: "Chocolate affects a dog\'s heart and nervous system; a few ounces are enough to kill a small dog.", correctAnswer: true))
45 |
46 |
47 |
48 | Copyright © The App Brewery
49 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/a1.xcuserdatad/xcschemes/Quizzler.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/xcuserdata/philippmuellauer.xcuserdatad/xcschemes/Quizzler.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
77 |
83 |
84 |
85 |
86 |
87 |
88 |
94 |
96 |
102 |
103 |
104 |
105 |
107 |
108 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/Quizzler.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 633646BF1B8C657400FF45E2 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 633646BE1B8C657400FF45E2 /* AppDelegate.swift */; };
11 | 633646C11B8C657400FF45E2 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 633646C01B8C657400FF45E2 /* ViewController.swift */; };
12 | 633646C61B8C657400FF45E2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 633646C51B8C657400FF45E2 /* Images.xcassets */; };
13 | 633646C91B8C657400FF45E2 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 633646C71B8C657400FF45E2 /* LaunchScreen.xib */; };
14 | ADEB04ED1FBDFEAA00026359 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 633646C21B8C657400FF45E2 /* Main.storyboard */; };
15 | /* End PBXBuildFile section */
16 |
17 | /* Begin PBXFileReference section */
18 | 633646B91B8C657400FF45E2 /* Quizzler.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Quizzler.app; sourceTree = BUILT_PRODUCTS_DIR; };
19 | 633646BD1B8C657400FF45E2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
20 | 633646BE1B8C657400FF45E2 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
21 | 633646C01B8C657400FF45E2 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
22 | 633646C31B8C657400FF45E2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
23 | 633646C51B8C657400FF45E2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
24 | 633646C81B8C657400FF45E2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
25 | /* End PBXFileReference section */
26 |
27 | /* Begin PBXFrameworksBuildPhase section */
28 | 633646B61B8C657400FF45E2 /* Frameworks */ = {
29 | isa = PBXFrameworksBuildPhase;
30 | buildActionMask = 2147483647;
31 | files = (
32 | );
33 | runOnlyForDeploymentPostprocessing = 0;
34 | };
35 | /* End PBXFrameworksBuildPhase section */
36 |
37 | /* Begin PBXGroup section */
38 | 633646B01B8C657400FF45E2 = {
39 | isa = PBXGroup;
40 | children = (
41 | 633646BB1B8C657400FF45E2 /* Quizzler */,
42 | 633646BA1B8C657400FF45E2 /* Products */,
43 | );
44 | sourceTree = "";
45 | };
46 | 633646BA1B8C657400FF45E2 /* Products */ = {
47 | isa = PBXGroup;
48 | children = (
49 | 633646B91B8C657400FF45E2 /* Quizzler.app */,
50 | );
51 | name = Products;
52 | sourceTree = "";
53 | };
54 | 633646BB1B8C657400FF45E2 /* Quizzler */ = {
55 | isa = PBXGroup;
56 | children = (
57 | EBB1C72D1B946C580011F5C3 /* Controller */,
58 | EBB1C72C1B946C530011F5C3 /* Model */,
59 | EBB1C72B1B946C4B0011F5C3 /* View */,
60 | 633646BC1B8C657400FF45E2 /* Supporting Files */,
61 | );
62 | path = Quizzler;
63 | sourceTree = "";
64 | };
65 | 633646BC1B8C657400FF45E2 /* Supporting Files */ = {
66 | isa = PBXGroup;
67 | children = (
68 | 633646C71B8C657400FF45E2 /* LaunchScreen.xib */,
69 | 633646BD1B8C657400FF45E2 /* Info.plist */,
70 | );
71 | name = "Supporting Files";
72 | sourceTree = "";
73 | };
74 | EBB1C72B1B946C4B0011F5C3 /* View */ = {
75 | isa = PBXGroup;
76 | children = (
77 | 633646C21B8C657400FF45E2 /* Main.storyboard */,
78 | 633646C51B8C657400FF45E2 /* Images.xcassets */,
79 | );
80 | name = View;
81 | sourceTree = "";
82 | };
83 | EBB1C72C1B946C530011F5C3 /* Model */ = {
84 | isa = PBXGroup;
85 | children = (
86 | );
87 | name = Model;
88 | sourceTree = "";
89 | };
90 | EBB1C72D1B946C580011F5C3 /* Controller */ = {
91 | isa = PBXGroup;
92 | children = (
93 | 633646BE1B8C657400FF45E2 /* AppDelegate.swift */,
94 | 633646C01B8C657400FF45E2 /* ViewController.swift */,
95 | );
96 | name = Controller;
97 | sourceTree = "";
98 | };
99 | /* End PBXGroup section */
100 |
101 | /* Begin PBXNativeTarget section */
102 | 633646B81B8C657400FF45E2 /* Quizzler */ = {
103 | isa = PBXNativeTarget;
104 | buildConfigurationList = 633646D81B8C657400FF45E2 /* Build configuration list for PBXNativeTarget "Quizzler" */;
105 | buildPhases = (
106 | 633646B51B8C657400FF45E2 /* Sources */,
107 | 633646B61B8C657400FF45E2 /* Frameworks */,
108 | 633646B71B8C657400FF45E2 /* Resources */,
109 | );
110 | buildRules = (
111 | );
112 | dependencies = (
113 | );
114 | name = Quizzler;
115 | productName = Quizzler;
116 | productReference = 633646B91B8C657400FF45E2 /* Quizzler.app */;
117 | productType = "com.apple.product-type.application";
118 | };
119 | /* End PBXNativeTarget section */
120 |
121 | /* Begin PBXProject section */
122 | 633646B11B8C657400FF45E2 /* Project object */ = {
123 | isa = PBXProject;
124 | attributes = {
125 | LastSwiftUpdateCheck = 0700;
126 | LastUpgradeCheck = 0900;
127 | ORGANIZATIONNAME = "London App Brewery";
128 | TargetAttributes = {
129 | 633646B81B8C657400FF45E2 = {
130 | CreatedOnToolsVersion = 6.4;
131 | LastSwiftMigration = 0900;
132 | };
133 | };
134 | };
135 | buildConfigurationList = 633646B41B8C657400FF45E2 /* Build configuration list for PBXProject "Quizzler" */;
136 | compatibilityVersion = "Xcode 3.2";
137 | developmentRegion = English;
138 | hasScannedForEncodings = 0;
139 | knownRegions = (
140 | en,
141 | Base,
142 | );
143 | mainGroup = 633646B01B8C657400FF45E2;
144 | productRefGroup = 633646BA1B8C657400FF45E2 /* Products */;
145 | projectDirPath = "";
146 | projectRoot = "";
147 | targets = (
148 | 633646B81B8C657400FF45E2 /* Quizzler */,
149 | );
150 | };
151 | /* End PBXProject section */
152 |
153 | /* Begin PBXResourcesBuildPhase section */
154 | 633646B71B8C657400FF45E2 /* Resources */ = {
155 | isa = PBXResourcesBuildPhase;
156 | buildActionMask = 2147483647;
157 | files = (
158 | ADEB04ED1FBDFEAA00026359 /* Main.storyboard in Resources */,
159 | 633646C91B8C657400FF45E2 /* LaunchScreen.xib in Resources */,
160 | 633646C61B8C657400FF45E2 /* Images.xcassets in Resources */,
161 | );
162 | runOnlyForDeploymentPostprocessing = 0;
163 | };
164 | /* End PBXResourcesBuildPhase section */
165 |
166 | /* Begin PBXSourcesBuildPhase section */
167 | 633646B51B8C657400FF45E2 /* Sources */ = {
168 | isa = PBXSourcesBuildPhase;
169 | buildActionMask = 2147483647;
170 | files = (
171 | 633646C11B8C657400FF45E2 /* ViewController.swift in Sources */,
172 | 633646BF1B8C657400FF45E2 /* AppDelegate.swift in Sources */,
173 | );
174 | runOnlyForDeploymentPostprocessing = 0;
175 | };
176 | /* End PBXSourcesBuildPhase section */
177 |
178 | /* Begin PBXVariantGroup section */
179 | 633646C21B8C657400FF45E2 /* Main.storyboard */ = {
180 | isa = PBXVariantGroup;
181 | children = (
182 | 633646C31B8C657400FF45E2 /* Base */,
183 | );
184 | name = Main.storyboard;
185 | sourceTree = "";
186 | };
187 | 633646C71B8C657400FF45E2 /* LaunchScreen.xib */ = {
188 | isa = PBXVariantGroup;
189 | children = (
190 | 633646C81B8C657400FF45E2 /* Base */,
191 | );
192 | name = LaunchScreen.xib;
193 | sourceTree = "";
194 | };
195 | /* End PBXVariantGroup section */
196 |
197 | /* Begin XCBuildConfiguration section */
198 | 633646D61B8C657400FF45E2 /* Debug */ = {
199 | isa = XCBuildConfiguration;
200 | buildSettings = {
201 | ALWAYS_SEARCH_USER_PATHS = NO;
202 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
203 | CLANG_CXX_LIBRARY = "libc++";
204 | CLANG_ENABLE_MODULES = YES;
205 | CLANG_ENABLE_OBJC_ARC = YES;
206 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
207 | CLANG_WARN_BOOL_CONVERSION = YES;
208 | CLANG_WARN_COMMA = YES;
209 | CLANG_WARN_CONSTANT_CONVERSION = YES;
210 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
211 | CLANG_WARN_EMPTY_BODY = YES;
212 | CLANG_WARN_ENUM_CONVERSION = YES;
213 | CLANG_WARN_INFINITE_RECURSION = YES;
214 | CLANG_WARN_INT_CONVERSION = YES;
215 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
216 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
217 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
218 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
219 | CLANG_WARN_STRICT_PROTOTYPES = YES;
220 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
221 | CLANG_WARN_UNREACHABLE_CODE = YES;
222 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
223 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
224 | COPY_PHASE_STRIP = NO;
225 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
226 | ENABLE_STRICT_OBJC_MSGSEND = YES;
227 | ENABLE_TESTABILITY = YES;
228 | GCC_C_LANGUAGE_STANDARD = gnu99;
229 | GCC_DYNAMIC_NO_PIC = NO;
230 | GCC_NO_COMMON_BLOCKS = YES;
231 | GCC_OPTIMIZATION_LEVEL = 0;
232 | GCC_PREPROCESSOR_DEFINITIONS = (
233 | "DEBUG=1",
234 | "$(inherited)",
235 | );
236 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
237 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
238 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
239 | GCC_WARN_UNDECLARED_SELECTOR = YES;
240 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
241 | GCC_WARN_UNUSED_FUNCTION = YES;
242 | GCC_WARN_UNUSED_VARIABLE = YES;
243 | IPHONEOS_DEPLOYMENT_TARGET = 10.0;
244 | MTL_ENABLE_DEBUG_INFO = YES;
245 | ONLY_ACTIVE_ARCH = YES;
246 | SDKROOT = iphoneos;
247 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
248 | };
249 | name = Debug;
250 | };
251 | 633646D71B8C657400FF45E2 /* Release */ = {
252 | isa = XCBuildConfiguration;
253 | buildSettings = {
254 | ALWAYS_SEARCH_USER_PATHS = NO;
255 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
256 | CLANG_CXX_LIBRARY = "libc++";
257 | CLANG_ENABLE_MODULES = YES;
258 | CLANG_ENABLE_OBJC_ARC = YES;
259 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
260 | CLANG_WARN_BOOL_CONVERSION = YES;
261 | CLANG_WARN_COMMA = YES;
262 | CLANG_WARN_CONSTANT_CONVERSION = YES;
263 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
264 | CLANG_WARN_EMPTY_BODY = YES;
265 | CLANG_WARN_ENUM_CONVERSION = YES;
266 | CLANG_WARN_INFINITE_RECURSION = YES;
267 | CLANG_WARN_INT_CONVERSION = YES;
268 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
269 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
270 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
271 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
272 | CLANG_WARN_STRICT_PROTOTYPES = YES;
273 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
274 | CLANG_WARN_UNREACHABLE_CODE = YES;
275 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
276 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
277 | COPY_PHASE_STRIP = NO;
278 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
279 | ENABLE_NS_ASSERTIONS = NO;
280 | ENABLE_STRICT_OBJC_MSGSEND = YES;
281 | GCC_C_LANGUAGE_STANDARD = gnu99;
282 | GCC_NO_COMMON_BLOCKS = YES;
283 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
284 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
285 | GCC_WARN_UNDECLARED_SELECTOR = YES;
286 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
287 | GCC_WARN_UNUSED_FUNCTION = YES;
288 | GCC_WARN_UNUSED_VARIABLE = YES;
289 | IPHONEOS_DEPLOYMENT_TARGET = 10.0;
290 | MTL_ENABLE_DEBUG_INFO = NO;
291 | SDKROOT = iphoneos;
292 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
293 | VALIDATE_PRODUCT = YES;
294 | };
295 | name = Release;
296 | };
297 | 633646D91B8C657400FF45E2 /* Debug */ = {
298 | isa = XCBuildConfiguration;
299 | buildSettings = {
300 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
301 | CLANG_ENABLE_MODULES = YES;
302 | INFOPLIST_FILE = Quizzler/Info.plist;
303 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
304 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
305 | PRODUCT_BUNDLE_IDENTIFIER = "com.londonappbrewery.$(PRODUCT_NAME:rfc1034identifier)";
306 | PRODUCT_NAME = "$(TARGET_NAME)";
307 | SWIFT_OBJC_BRIDGING_HEADER = "";
308 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
309 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
310 | SWIFT_VERSION = 4.0;
311 | };
312 | name = Debug;
313 | };
314 | 633646DA1B8C657400FF45E2 /* Release */ = {
315 | isa = XCBuildConfiguration;
316 | buildSettings = {
317 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
318 | CLANG_ENABLE_MODULES = YES;
319 | INFOPLIST_FILE = Quizzler/Info.plist;
320 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
321 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
322 | PRODUCT_BUNDLE_IDENTIFIER = "com.londonappbrewery.$(PRODUCT_NAME:rfc1034identifier)";
323 | PRODUCT_NAME = "$(TARGET_NAME)";
324 | SWIFT_OBJC_BRIDGING_HEADER = "";
325 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
326 | SWIFT_VERSION = 4.0;
327 | };
328 | name = Release;
329 | };
330 | /* End XCBuildConfiguration section */
331 |
332 | /* Begin XCConfigurationList section */
333 | 633646B41B8C657400FF45E2 /* Build configuration list for PBXProject "Quizzler" */ = {
334 | isa = XCConfigurationList;
335 | buildConfigurations = (
336 | 633646D61B8C657400FF45E2 /* Debug */,
337 | 633646D71B8C657400FF45E2 /* Release */,
338 | );
339 | defaultConfigurationIsVisible = 0;
340 | defaultConfigurationName = Release;
341 | };
342 | 633646D81B8C657400FF45E2 /* Build configuration list for PBXNativeTarget "Quizzler" */ = {
343 | isa = XCConfigurationList;
344 | buildConfigurations = (
345 | 633646D91B8C657400FF45E2 /* Debug */,
346 | 633646DA1B8C657400FF45E2 /* Release */,
347 | );
348 | defaultConfigurationIsVisible = 0;
349 | defaultConfigurationName = Release;
350 | };
351 | /* End XCConfigurationList section */
352 | };
353 | rootObject = 633646B11B8C657400FF45E2 /* Project object */;
354 | }
355 |
--------------------------------------------------------------------------------
/Quizzler/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | HelveticaNeue-Thin
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
69 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
112 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
--------------------------------------------------------------------------------