├── .DS_Store ├── BitcoinTicker ├── Assets.xcassets │ ├── Contents.json │ ├── AppIcon.appiconset │ │ ├── Icon-1024.png │ │ ├── Icon-29@2x.png │ │ ├── Icon-29@3x.png │ │ ├── Icon-40@2x.png │ │ ├── Icon-40@3x.png │ │ ├── Icon-60@2x.png │ │ ├── Icon-60@3x.png │ │ └── Contents.json │ ├── bitcoin.imageset │ │ ├── bitcoin@2x.png │ │ ├── bitcoin@3x.png │ │ └── Contents.json │ ├── background.imageset │ │ ├── background.pdf │ │ └── Contents.json │ └── LABLOGONewRound2.imageset │ │ ├── LABLOGONewRound2.png │ │ └── Contents.json ├── Info.plist ├── AppDelegate.swift ├── ViewController.swift └── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── BitcoinTicker.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcuserdata │ │ ├── a1.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ │ └── angelayu.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcshareddata │ │ └── BitcoinTicker.xcscmblueprint ├── xcuserdata │ ├── angelayu.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ └── a1.xcuserdatad │ │ └── xcschemes │ │ ├── xcschememanagement.plist │ │ └── BitcoinTicker.xcscheme └── project.pbxproj └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/.DS_Store -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-1024.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/bitcoin.imageset/bitcoin@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/bitcoin.imageset/bitcoin@2x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/bitcoin.imageset/bitcoin@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/bitcoin.imageset/bitcoin@3x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-29@2x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-29@3x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/background.imageset/background.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/background.imageset/background.pdf -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/LABLOGONewRound2.imageset/LABLOGONewRound2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker/Assets.xcassets/LABLOGONewRound2.imageset/LABLOGONewRound2.png -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker.xcodeproj/project.xcworkspace/xcuserdata/a1.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "background.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/project.xcworkspace/xcuserdata/angelayu.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/londonappbrewery/Bitcoin-Ticker-iOS11/HEAD/BitcoinTicker.xcodeproj/project.xcworkspace/xcuserdata/angelayu.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BitcoinTicker 2 | Learn to make iOS Apps with [The App Brewery](https://www.appbrewery.co) 📱 | Project Stub | (Swift 4.0/Xcode 9) - Bitcoin Ticker 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 | ![Finished App](http://i.giphy.com/l0HlQGzz2MQCKIBI4.gif) 10 | 11 | Copyright © The App Brewery 12 | -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/LABLOGONewRound2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "LABLOGONewRound2.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/xcuserdata/angelayu.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | BitcoinTicker.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /BitcoinTicker/Assets.xcassets/bitcoin.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "bitcoin@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "bitcoin@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/xcuserdata/a1.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | BitcoinTicker.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 63A618241C53C381007AF001 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /BitcoinTicker/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 | NSAppTransportSecurity 26 | 27 | NSAllowsArbitraryLoads 28 | 29 | 30 | UILaunchStoryboardName 31 | LaunchScreen 32 | UIMainStoryboardFile 33 | Main 34 | UIRequiredDeviceCapabilities 35 | 36 | armv7 37 | 38 | UIStatusBarStyle 39 | UIStatusBarStyleLightContent 40 | UISupportedInterfaceOrientations 41 | 42 | UIInterfaceOrientationPortrait 43 | 44 | UIViewControllerBasedStatusBarAppearance 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/project.xcworkspace/xcshareddata/BitcoinTicker.xcscmblueprint: -------------------------------------------------------------------------------- 1 | { 2 | "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "898BDFD9E86D271C2827F390342D3F5F4946C0C6", 3 | "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { 4 | 5 | }, 6 | "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { 7 | "898BDFD9E86D271C2827F390342D3F5F4946C0C6" : 0, 8 | "CC7D4C83F89543DC5D7313A87002A3A288282EF1" : 0 9 | }, 10 | "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "3C1BCD9A-8A0B-408D-B269-9CC0774F00A5", 11 | "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { 12 | "898BDFD9E86D271C2827F390342D3F5F4946C0C6" : "BitcoinTicker\/", 13 | "CC7D4C83F89543DC5D7313A87002A3A288282EF1" : ".." 14 | }, 15 | "DVTSourceControlWorkspaceBlueprintNameKey" : "BitcoinTicker", 16 | "DVTSourceControlWorkspaceBlueprintVersion" : 204, 17 | "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "BitcoinTicker.xcodeproj", 18 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ 19 | { 20 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/londonappbrewery\/BitcoinTicker.git", 21 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 22 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "898BDFD9E86D271C2827F390342D3F5F4946C0C6" 23 | }, 24 | { 25 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/londonappbrewery\/Vixion.git", 26 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 27 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "CC7D4C83F89543DC5D7313A87002A3A288282EF1" 28 | } 29 | ] 30 | } -------------------------------------------------------------------------------- /BitcoinTicker/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // BitcoinTicker 4 | // 5 | // Created by Angela Yu on 23/01/2016. 6 | // Copyright © 2016 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 | // 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 | -------------------------------------------------------------------------------- /BitcoinTicker/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // BitcoinTicker 4 | // 5 | // Created by Angela Yu on 23/01/2016. 6 | // Copyright © 2016 London App Brewery. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | let baseURL = "https://apiv2.bitcoinaverage.com/indices/global/ticker/BTC" 14 | let currencyArray = ["AUD", "BRL","CAD","CNY","EUR","GBP","HKD","IDR","ILS","INR","JPY","MXN","NOK","NZD","PLN","RON","RUB","SEK","SGD","USD","ZAR"] 15 | var finalURL = "" 16 | 17 | //Pre-setup IBOutlets 18 | @IBOutlet weak var bitcoinPriceLabel: UILabel! 19 | @IBOutlet weak var currencyPicker: UIPickerView! 20 | 21 | 22 | 23 | override func viewDidLoad() { 24 | super.viewDidLoad() 25 | 26 | } 27 | 28 | 29 | //TODO: Place your 3 UIPickerView delegate methods here 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | // 38 | // //MARK: - Networking 39 | // /***************************************************************/ 40 | // 41 | // func getWeatherData(url: String, parameters: [String : String]) { 42 | // 43 | // Alamofire.request(url, method: .get, parameters: parameters) 44 | // .responseJSON { response in 45 | // if response.result.isSuccess { 46 | // 47 | // print("Sucess! Got the weather data") 48 | // let weatherJSON : JSON = JSON(response.result.value!) 49 | // 50 | // self.updateWeatherData(json: weatherJSON) 51 | // 52 | // } else { 53 | // print("Error: \(String(describing: response.result.error))") 54 | // self.bitcoinPriceLabel.text = "Connection Issues" 55 | // } 56 | // } 57 | // 58 | // } 59 | // 60 | // 61 | // 62 | // 63 | // 64 | // //MARK: - JSON Parsing 65 | // /***************************************************************/ 66 | // 67 | // func updateWeatherData(json : JSON) { 68 | // 69 | // if let tempResult = json["main"]["temp"].double { 70 | // 71 | // weatherData.temperature = Int(round(tempResult!) - 273.15) 72 | // weatherData.city = json["name"].stringValue 73 | // weatherData.condition = json["weather"][0]["id"].intValue 74 | // weatherData.weatherIconName = weatherData.updateWeatherIcon(condition: weatherData.condition) 75 | // } 76 | // 77 | // updateUIWithWeatherData() 78 | // } 79 | // 80 | 81 | 82 | 83 | 84 | } 85 | 86 | -------------------------------------------------------------------------------- /BitcoinTicker/Assets.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-29@2x.png", 17 | "scale" : "2x" 18 | }, 19 | { 20 | "size" : "29x29", 21 | "idiom" : "iphone", 22 | "filename" : "Icon-29@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 | "idiom" : "ipad", 51 | "size" : "40x40", 52 | "scale" : "1x" 53 | }, 54 | { 55 | "idiom" : "ipad", 56 | "size" : "40x40", 57 | "scale" : "2x" 58 | }, 59 | { 60 | "size" : "1024x1024", 61 | "idiom" : "ios-marketing", 62 | "filename" : "Icon-1024.png", 63 | "scale" : "1x" 64 | }, 65 | { 66 | "size" : "24x24", 67 | "idiom" : "watch", 68 | "scale" : "2x", 69 | "role" : "notificationCenter", 70 | "subtype" : "38mm" 71 | }, 72 | { 73 | "size" : "27.5x27.5", 74 | "idiom" : "watch", 75 | "scale" : "2x", 76 | "role" : "notificationCenter", 77 | "subtype" : "42mm" 78 | }, 79 | { 80 | "size" : "29x29", 81 | "idiom" : "watch", 82 | "role" : "companionSettings", 83 | "scale" : "2x" 84 | }, 85 | { 86 | "size" : "29x29", 87 | "idiom" : "watch", 88 | "role" : "companionSettings", 89 | "scale" : "3x" 90 | }, 91 | { 92 | "size" : "40x40", 93 | "idiom" : "watch", 94 | "scale" : "2x", 95 | "role" : "appLauncher", 96 | "subtype" : "38mm" 97 | }, 98 | { 99 | "size" : "86x86", 100 | "idiom" : "watch", 101 | "scale" : "2x", 102 | "role" : "quickLook", 103 | "subtype" : "38mm" 104 | }, 105 | { 106 | "size" : "98x98", 107 | "idiom" : "watch", 108 | "scale" : "2x", 109 | "role" : "quickLook", 110 | "subtype" : "42mm" 111 | }, 112 | { 113 | "idiom" : "watch-marketing", 114 | "size" : "1024x1024", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } -------------------------------------------------------------------------------- /BitcoinTicker/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/xcuserdata/a1.xcuserdatad/xcschemes/BitcoinTicker.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 | 69 | 70 | 71 | 72 | 73 | 74 | 80 | 82 | 88 | 89 | 90 | 91 | 93 | 94 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /BitcoinTicker/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | HelveticaNeue-Light 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /BitcoinTicker.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 63A618291C53C381007AF001 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63A618281C53C381007AF001 /* AppDelegate.swift */; }; 11 | 63A6182B1C53C381007AF001 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63A6182A1C53C381007AF001 /* ViewController.swift */; }; 12 | 63A6182E1C53C381007AF001 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63A6182C1C53C381007AF001 /* Main.storyboard */; }; 13 | 63A618301C53C381007AF001 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 63A6182F1C53C381007AF001 /* Assets.xcassets */; }; 14 | 63A618331C53C381007AF001 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63A618311C53C381007AF001 /* LaunchScreen.storyboard */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 63A618251C53C381007AF001 /* BitcoinTicker.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BitcoinTicker.app; sourceTree = BUILT_PRODUCTS_DIR; }; 19 | 63A618281C53C381007AF001 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 20 | 63A6182A1C53C381007AF001 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 21 | 63A6182D1C53C381007AF001 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 22 | 63A6182F1C53C381007AF001 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 23 | 63A618321C53C381007AF001 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 24 | 63A618341C53C381007AF001 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 25 | /* End PBXFileReference section */ 26 | 27 | /* Begin PBXFrameworksBuildPhase section */ 28 | 63A618221C53C381007AF001 /* Frameworks */ = { 29 | isa = PBXFrameworksBuildPhase; 30 | buildActionMask = 2147483647; 31 | files = ( 32 | ); 33 | runOnlyForDeploymentPostprocessing = 0; 34 | }; 35 | /* End PBXFrameworksBuildPhase section */ 36 | 37 | /* Begin PBXGroup section */ 38 | 63A6181C1C53C381007AF001 = { 39 | isa = PBXGroup; 40 | children = ( 41 | 63A618271C53C381007AF001 /* BitcoinTicker */, 42 | 63A618261C53C381007AF001 /* Products */, 43 | ); 44 | sourceTree = ""; 45 | }; 46 | 63A618261C53C381007AF001 /* Products */ = { 47 | isa = PBXGroup; 48 | children = ( 49 | 63A618251C53C381007AF001 /* BitcoinTicker.app */, 50 | ); 51 | name = Products; 52 | sourceTree = ""; 53 | }; 54 | 63A618271C53C381007AF001 /* BitcoinTicker */ = { 55 | isa = PBXGroup; 56 | children = ( 57 | 63A618281C53C381007AF001 /* AppDelegate.swift */, 58 | 63A6182A1C53C381007AF001 /* ViewController.swift */, 59 | 63A6182C1C53C381007AF001 /* Main.storyboard */, 60 | 63A6182F1C53C381007AF001 /* Assets.xcassets */, 61 | 63A618311C53C381007AF001 /* LaunchScreen.storyboard */, 62 | 63A618341C53C381007AF001 /* Info.plist */, 63 | ); 64 | path = BitcoinTicker; 65 | sourceTree = ""; 66 | }; 67 | /* End PBXGroup section */ 68 | 69 | /* Begin PBXNativeTarget section */ 70 | 63A618241C53C381007AF001 /* BitcoinTicker */ = { 71 | isa = PBXNativeTarget; 72 | buildConfigurationList = 63A618371C53C381007AF001 /* Build configuration list for PBXNativeTarget "BitcoinTicker" */; 73 | buildPhases = ( 74 | 63A618211C53C381007AF001 /* Sources */, 75 | 63A618221C53C381007AF001 /* Frameworks */, 76 | 63A618231C53C381007AF001 /* Resources */, 77 | ); 78 | buildRules = ( 79 | ); 80 | dependencies = ( 81 | ); 82 | name = BitcoinTicker; 83 | productName = BitcoinTicker; 84 | productReference = 63A618251C53C381007AF001 /* BitcoinTicker.app */; 85 | productType = "com.apple.product-type.application"; 86 | }; 87 | /* End PBXNativeTarget section */ 88 | 89 | /* Begin PBXProject section */ 90 | 63A6181D1C53C381007AF001 /* Project object */ = { 91 | isa = PBXProject; 92 | attributes = { 93 | LastSwiftUpdateCheck = 0720; 94 | LastUpgradeCheck = 0900; 95 | ORGANIZATIONNAME = "London App Brewery"; 96 | TargetAttributes = { 97 | 63A618241C53C381007AF001 = { 98 | CreatedOnToolsVersion = 7.2; 99 | LastSwiftMigration = 0900; 100 | }; 101 | }; 102 | }; 103 | buildConfigurationList = 63A618201C53C381007AF001 /* Build configuration list for PBXProject "BitcoinTicker" */; 104 | compatibilityVersion = "Xcode 3.2"; 105 | developmentRegion = English; 106 | hasScannedForEncodings = 0; 107 | knownRegions = ( 108 | en, 109 | Base, 110 | ); 111 | mainGroup = 63A6181C1C53C381007AF001; 112 | productRefGroup = 63A618261C53C381007AF001 /* Products */; 113 | projectDirPath = ""; 114 | projectRoot = ""; 115 | targets = ( 116 | 63A618241C53C381007AF001 /* BitcoinTicker */, 117 | ); 118 | }; 119 | /* End PBXProject section */ 120 | 121 | /* Begin PBXResourcesBuildPhase section */ 122 | 63A618231C53C381007AF001 /* Resources */ = { 123 | isa = PBXResourcesBuildPhase; 124 | buildActionMask = 2147483647; 125 | files = ( 126 | 63A618331C53C381007AF001 /* LaunchScreen.storyboard in Resources */, 127 | 63A618301C53C381007AF001 /* Assets.xcassets in Resources */, 128 | 63A6182E1C53C381007AF001 /* Main.storyboard in Resources */, 129 | ); 130 | runOnlyForDeploymentPostprocessing = 0; 131 | }; 132 | /* End PBXResourcesBuildPhase section */ 133 | 134 | /* Begin PBXSourcesBuildPhase section */ 135 | 63A618211C53C381007AF001 /* Sources */ = { 136 | isa = PBXSourcesBuildPhase; 137 | buildActionMask = 2147483647; 138 | files = ( 139 | 63A6182B1C53C381007AF001 /* ViewController.swift in Sources */, 140 | 63A618291C53C381007AF001 /* AppDelegate.swift in Sources */, 141 | ); 142 | runOnlyForDeploymentPostprocessing = 0; 143 | }; 144 | /* End PBXSourcesBuildPhase section */ 145 | 146 | /* Begin PBXVariantGroup section */ 147 | 63A6182C1C53C381007AF001 /* Main.storyboard */ = { 148 | isa = PBXVariantGroup; 149 | children = ( 150 | 63A6182D1C53C381007AF001 /* Base */, 151 | ); 152 | name = Main.storyboard; 153 | sourceTree = ""; 154 | }; 155 | 63A618311C53C381007AF001 /* LaunchScreen.storyboard */ = { 156 | isa = PBXVariantGroup; 157 | children = ( 158 | 63A618321C53C381007AF001 /* Base */, 159 | ); 160 | name = LaunchScreen.storyboard; 161 | sourceTree = ""; 162 | }; 163 | /* End PBXVariantGroup section */ 164 | 165 | /* Begin XCBuildConfiguration section */ 166 | 63A618351C53C381007AF001 /* Debug */ = { 167 | isa = XCBuildConfiguration; 168 | buildSettings = { 169 | ALWAYS_SEARCH_USER_PATHS = NO; 170 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 171 | CLANG_CXX_LIBRARY = "libc++"; 172 | CLANG_ENABLE_MODULES = YES; 173 | CLANG_ENABLE_OBJC_ARC = YES; 174 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 175 | CLANG_WARN_BOOL_CONVERSION = YES; 176 | CLANG_WARN_COMMA = YES; 177 | CLANG_WARN_CONSTANT_CONVERSION = YES; 178 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 179 | CLANG_WARN_EMPTY_BODY = YES; 180 | CLANG_WARN_ENUM_CONVERSION = YES; 181 | CLANG_WARN_INFINITE_RECURSION = YES; 182 | CLANG_WARN_INT_CONVERSION = YES; 183 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 184 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 185 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 186 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 187 | CLANG_WARN_STRICT_PROTOTYPES = YES; 188 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 189 | CLANG_WARN_UNREACHABLE_CODE = YES; 190 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 191 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 192 | COPY_PHASE_STRIP = NO; 193 | DEBUG_INFORMATION_FORMAT = dwarf; 194 | ENABLE_STRICT_OBJC_MSGSEND = YES; 195 | ENABLE_TESTABILITY = YES; 196 | GCC_C_LANGUAGE_STANDARD = gnu99; 197 | GCC_DYNAMIC_NO_PIC = NO; 198 | GCC_NO_COMMON_BLOCKS = YES; 199 | GCC_OPTIMIZATION_LEVEL = 0; 200 | GCC_PREPROCESSOR_DEFINITIONS = ( 201 | "DEBUG=1", 202 | "$(inherited)", 203 | ); 204 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 205 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 206 | GCC_WARN_UNDECLARED_SELECTOR = YES; 207 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 208 | GCC_WARN_UNUSED_FUNCTION = YES; 209 | GCC_WARN_UNUSED_VARIABLE = YES; 210 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 211 | MTL_ENABLE_DEBUG_INFO = YES; 212 | ONLY_ACTIVE_ARCH = YES; 213 | SDKROOT = iphoneos; 214 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 215 | }; 216 | name = Debug; 217 | }; 218 | 63A618361C53C381007AF001 /* Release */ = { 219 | isa = XCBuildConfiguration; 220 | buildSettings = { 221 | ALWAYS_SEARCH_USER_PATHS = NO; 222 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 223 | CLANG_CXX_LIBRARY = "libc++"; 224 | CLANG_ENABLE_MODULES = YES; 225 | CLANG_ENABLE_OBJC_ARC = YES; 226 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 227 | CLANG_WARN_BOOL_CONVERSION = YES; 228 | CLANG_WARN_COMMA = YES; 229 | CLANG_WARN_CONSTANT_CONVERSION = YES; 230 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 231 | CLANG_WARN_EMPTY_BODY = YES; 232 | CLANG_WARN_ENUM_CONVERSION = YES; 233 | CLANG_WARN_INFINITE_RECURSION = YES; 234 | CLANG_WARN_INT_CONVERSION = YES; 235 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 236 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 237 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 238 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 239 | CLANG_WARN_STRICT_PROTOTYPES = YES; 240 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 241 | CLANG_WARN_UNREACHABLE_CODE = YES; 242 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 243 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 244 | COPY_PHASE_STRIP = NO; 245 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 246 | ENABLE_NS_ASSERTIONS = NO; 247 | ENABLE_STRICT_OBJC_MSGSEND = YES; 248 | GCC_C_LANGUAGE_STANDARD = gnu99; 249 | GCC_NO_COMMON_BLOCKS = YES; 250 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 251 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 252 | GCC_WARN_UNDECLARED_SELECTOR = YES; 253 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 254 | GCC_WARN_UNUSED_FUNCTION = YES; 255 | GCC_WARN_UNUSED_VARIABLE = YES; 256 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 257 | MTL_ENABLE_DEBUG_INFO = NO; 258 | SDKROOT = iphoneos; 259 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 260 | VALIDATE_PRODUCT = YES; 261 | }; 262 | name = Release; 263 | }; 264 | 63A618381C53C381007AF001 /* Debug */ = { 265 | isa = XCBuildConfiguration; 266 | buildSettings = { 267 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 268 | CODE_SIGN_IDENTITY = "iPhone Developer"; 269 | DEVELOPMENT_TEAM = ""; 270 | INFOPLIST_FILE = BitcoinTicker/Info.plist; 271 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 272 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 273 | PRODUCT_BUNDLE_IDENTIFIER = com.YourName.BitcoinTicker; 274 | PRODUCT_NAME = "$(TARGET_NAME)"; 275 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 276 | SWIFT_VERSION = 4.0; 277 | }; 278 | name = Debug; 279 | }; 280 | 63A618391C53C381007AF001 /* Release */ = { 281 | isa = XCBuildConfiguration; 282 | buildSettings = { 283 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 284 | CODE_SIGN_IDENTITY = "iPhone Developer"; 285 | DEVELOPMENT_TEAM = ""; 286 | INFOPLIST_FILE = BitcoinTicker/Info.plist; 287 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 288 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 289 | PRODUCT_BUNDLE_IDENTIFIER = com.YourName.BitcoinTicker; 290 | PRODUCT_NAME = "$(TARGET_NAME)"; 291 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 292 | SWIFT_VERSION = 4.0; 293 | }; 294 | name = Release; 295 | }; 296 | /* End XCBuildConfiguration section */ 297 | 298 | /* Begin XCConfigurationList section */ 299 | 63A618201C53C381007AF001 /* Build configuration list for PBXProject "BitcoinTicker" */ = { 300 | isa = XCConfigurationList; 301 | buildConfigurations = ( 302 | 63A618351C53C381007AF001 /* Debug */, 303 | 63A618361C53C381007AF001 /* Release */, 304 | ); 305 | defaultConfigurationIsVisible = 0; 306 | defaultConfigurationName = Release; 307 | }; 308 | 63A618371C53C381007AF001 /* Build configuration list for PBXNativeTarget "BitcoinTicker" */ = { 309 | isa = XCConfigurationList; 310 | buildConfigurations = ( 311 | 63A618381C53C381007AF001 /* Debug */, 312 | 63A618391C53C381007AF001 /* Release */, 313 | ); 314 | defaultConfigurationIsVisible = 0; 315 | defaultConfigurationName = Release; 316 | }; 317 | /* End XCConfigurationList section */ 318 | }; 319 | rootObject = 63A6181D1C53C381007AF001 /* Project object */; 320 | } 321 | --------------------------------------------------------------------------------