├── .gitignore ├── Gemfile ├── DerivedData └── Kalo │ ├── Index │ └── Debug │ │ └── iphonesimulator8.0-i386 │ │ └── Kalo.xcindex │ │ ├── db.xcindexdb │ │ ├── db.xcindexdb-shm │ │ └── db.xcindexdb-wal │ ├── scm.plist │ └── info.plist ├── Kalo.xcworkspace └── contents.xcworkspacedata ├── Kalo.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata ├── xcuserdata │ └── english.xcuserdatad │ │ └── xcschemes │ │ ├── xcschememanagement.plist │ │ └── Kalo.xcscheme └── project.pbxproj ├── Podfile ├── Podfile.lock ├── Kalo ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json ├── Kalo-Bridging-Header.h ├── Info.plist ├── AppDelegate.swift ├── ViewController.swift └── Base.lproj │ └── Main.storyboard ├── KaloTests ├── Info.plist └── KaloTests.swift └── Gemfile.lock /.gitignore: -------------------------------------------------------------------------------- 1 | DerivedData/Build/ 2 | DerivedData/ModuleCache/ 3 | vendor/bundle 4 | Pods/ 5 | .bundle/ 6 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | # A sample Gemfile 2 | source "https://rubygems.org" 3 | 4 | gem "cocoapods" 5 | 6 | # gem "rails" 7 | -------------------------------------------------------------------------------- /DerivedData/Kalo/Index/Debug/iphonesimulator8.0-i386/Kalo.xcindex/db.xcindexdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattieb/kalo/master/DerivedData/Kalo/Index/Debug/iphonesimulator8.0-i386/Kalo.xcindex/db.xcindexdb -------------------------------------------------------------------------------- /Kalo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DerivedData/Kalo/Index/Debug/iphonesimulator8.0-i386/Kalo.xcindex/db.xcindexdb-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattieb/kalo/master/DerivedData/Kalo/Index/Debug/iphonesimulator8.0-i386/Kalo.xcindex/db.xcindexdb-shm -------------------------------------------------------------------------------- /DerivedData/Kalo/Index/Debug/iphonesimulator8.0-i386/Kalo.xcindex/db.xcindexdb-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattieb/kalo/master/DerivedData/Kalo/Index/Debug/iphonesimulator8.0-i386/Kalo.xcindex/db.xcindexdb-wal -------------------------------------------------------------------------------- /Kalo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DerivedData/Kalo/scm.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Version 6 | 5 7 | 8 | 9 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, "6.0" 3 | 4 | target "Kalo" do 5 | 6 | pod 'MQTTKit', :git => 'https://github.com/mobile-web-messaging/MQTTKit.git' 7 | 8 | end 9 | 10 | target "KaloTests" do 11 | 12 | end 13 | 14 | -------------------------------------------------------------------------------- /DerivedData/Kalo/info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WorkspacePath 6 | /Users/english/git/kalo/Kalo/Kalo.xcodeproj 7 | 8 | 9 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MQTTKit (0.1.0-next) 3 | 4 | DEPENDENCIES: 5 | - MQTTKit (from `https://github.com/mobile-web-messaging/MQTTKit.git`) 6 | 7 | EXTERNAL SOURCES: 8 | MQTTKit: 9 | :git: https://github.com/mobile-web-messaging/MQTTKit.git 10 | 11 | SPEC CHECKSUMS: 12 | MQTTKit: eca7270c24d16fe7865143d3e86f393f3275c544 13 | 14 | COCOAPODS: 0.33.1 15 | -------------------------------------------------------------------------------- /Kalo/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" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Kalo/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Kalo/Kalo-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Kalo-Bridging-Header.h 3 | // Kalo 4 | // 5 | // Created by Matt Behrens on 6/12/14. 6 | // Copyright (c) 2014 Mike English. All rights reserved. 7 | // 8 | // Bridging header for using Objective-C code (e.g. MQTTKit, brought in via 9 | // CocoaPods. In here, we're importing header files that Swift code needs. 10 | // Foundation.h is separately imported because MQTTKit.h uses Foundation 11 | // items, but doesn't import it itself. 12 | // 13 | // To use this file, it needs to be configured in the project settings at 14 | // Build Settings > Swift Compiler - Code Generation > Objective-C Bridging 15 | // Header. 16 | // 17 | 18 | #import 19 | #import "MQTTKit.h" 20 | -------------------------------------------------------------------------------- /Kalo.xcodeproj/xcuserdata/english.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Kalo.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 5D578DE3193D31940075A645 16 | 17 | primary 18 | 19 | 20 | 5D578DF5193D31940075A645 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /KaloTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.atomicobject.${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 | -------------------------------------------------------------------------------- /KaloTests/KaloTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // KaloTests.swift 3 | // KaloTests 4 | // 5 | // Created by Mike English on 6/2/14. 6 | // Copyright (c) 2014 Mike English. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class KaloTests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | // Put setup code here. This method is called before the invocation of each test method in the class. 16 | } 17 | 18 | override func tearDown() { 19 | // Put teardown code here. This method is called after the invocation of each test method in the class. 20 | super.tearDown() 21 | } 22 | 23 | func testExample() { 24 | // This is an example of a functional test case. 25 | XCTAssert(true, "Pass") 26 | } 27 | 28 | func testPerformanceExample() { 29 | // This is an example of a performance test case. 30 | self.measureBlock() { 31 | // Put the code you want to measure the time of here. 32 | } 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /Kalo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.atomicobject.${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 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | activesupport (3.2.18) 5 | i18n (~> 0.6, >= 0.6.4) 6 | multi_json (~> 1.0) 7 | claide (0.6.1) 8 | cocoapods (0.33.1) 9 | activesupport (>= 3.2.15, < 4) 10 | claide (~> 0.6.1) 11 | cocoapods-core (= 0.33.1) 12 | cocoapods-downloader (~> 0.6.1) 13 | cocoapods-plugins (~> 0.2.0) 14 | cocoapods-trunk (~> 0.1.1) 15 | cocoapods-try (~> 0.3.0) 16 | colored (~> 1.2) 17 | escape (~> 0.0.4) 18 | json_pure (~> 1.8) 19 | nap (~> 0.7) 20 | open4 (~> 1.3) 21 | xcodeproj (~> 0.17.0) 22 | cocoapods-core (0.33.1) 23 | activesupport (>= 3.2.15) 24 | fuzzy_match (~> 2.0.4) 25 | json_pure (~> 1.8) 26 | nap (~> 0.5) 27 | cocoapods-downloader (0.6.1) 28 | cocoapods-plugins (0.2.0) 29 | nap 30 | cocoapods-trunk (0.1.3) 31 | json_pure (~> 1.8) 32 | nap (>= 0.6) 33 | netrc 34 | cocoapods-try (0.3.0) 35 | colored (1.2) 36 | escape (0.0.4) 37 | fuzzy_match (2.0.4) 38 | i18n (0.6.9) 39 | json_pure (1.8.1) 40 | multi_json (1.10.1) 41 | nap (0.8.0) 42 | netrc (0.7.7) 43 | open4 (1.3.4) 44 | xcodeproj (0.17.0) 45 | activesupport (~> 3.0) 46 | colored (~> 1.2) 47 | 48 | PLATFORMS 49 | ruby 50 | 51 | DEPENDENCIES 52 | cocoapods 53 | -------------------------------------------------------------------------------- /Kalo/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Kalo 4 | // 5 | // Created by Mike English on 6/2/14. 6 | // Copyright (c) 2014 Mike English. 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: NSDictionary?) -> 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 | -------------------------------------------------------------------------------- /Kalo/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // Kalo 4 | // 5 | // Created by Mike English on 6/2/14. 6 | // Copyright (c) 2014 Mike English. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | // 14 | // These outlets allow us to connect the status text to the view in the 15 | // storyboard. 16 | // 17 | 18 | @IBOutlet var upstairsStatus: UILabel 19 | @IBOutlet var downstairsStatus: UILabel 20 | 21 | func updateStatus(label: UILabel, message: String) { 22 | 23 | // 24 | // Dispatch the update to the main thread. If you don't do this, the 25 | // labels won't redraw. 26 | // 27 | 28 | dispatch_async(dispatch_get_main_queue()) { 29 | 30 | switch message { 31 | 32 | case "open": 33 | label.textColor = UIColor.greenColor() 34 | label.text = "Open" 35 | 36 | case "closed": 37 | label.textColor = UIColor.redColor() 38 | label.text = "Closed" 39 | 40 | default: 41 | label.textColor = UIColor.yellowColor() 42 | label.text = "Error" 43 | 44 | } 45 | 46 | } 47 | 48 | } 49 | 50 | override func viewDidLoad() { 51 | 52 | // 53 | // We do our initialization here because it's called when the app view 54 | // loads. 55 | // 56 | 57 | super.viewDidLoad() 58 | 59 | // 60 | // Generate ourselves a unique client identifier and initalize a client 61 | // object. 62 | // 63 | 64 | var uuid = NSUUID.UUID().UUIDString 65 | var client = MQTTClient(clientId: uuid) 66 | 67 | // 68 | // Set up a message handler. This one just logs the MQTT topic and 69 | // payload string. 70 | // 71 | 72 | client.messageHandler = {(message: MQTTMessage!) in 73 | 74 | var status = message.payloadString() 75 | NSLog("message received on %@: %@", message.topic, status) 76 | 77 | switch message.topic! { 78 | 79 | case "callaloo/upstairs": 80 | self.updateStatus(self.upstairsStatus, message: status) 81 | 82 | case "callaloo/downstairs": 83 | self.updateStatus(self.downstairsStatus, message: status) 84 | 85 | default: 86 | NSLog("don't know how to handle this message") 87 | } 88 | 89 | } 90 | 91 | // 92 | // Finally, connect (to localhost, in this case.) Once connected, we'll 93 | // run an additional closure to subscribe to all topics starting with 94 | // callaloo/. 95 | // 96 | 97 | NSLog("connecting") 98 | client.connectToHost("localhost", {(code: MQTTConnectionReturnCode) in 99 | if code.value == ConnectionAccepted.value { 100 | NSLog("connected; subscribing") 101 | client.subscribe("callaloo/#", nil) 102 | } 103 | }) 104 | 105 | } 106 | 107 | override func didReceiveMemoryWarning() { 108 | super.didReceiveMemoryWarning() 109 | // Dispose of any resources that can be recreated. 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /Kalo.xcodeproj/xcuserdata/english.xcuserdatad/xcschemes/Kalo.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /Kalo/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 26 | 32 | 41 | 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 | -------------------------------------------------------------------------------- /Kalo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2D680994ECB642059E1FBE47 /* libPods-Kalo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FBDA0262640244CBB1168151 /* libPods-Kalo.a */; }; 11 | 5D578DEA193D31940075A645 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D578DE9193D31940075A645 /* AppDelegate.swift */; }; 12 | 5D578DEC193D31940075A645 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D578DEB193D31940075A645 /* ViewController.swift */; }; 13 | 5D578DEF193D31940075A645 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5D578DED193D31940075A645 /* Main.storyboard */; }; 14 | 5D578DF1193D31940075A645 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5D578DF0193D31940075A645 /* Images.xcassets */; }; 15 | 5D578DFD193D31940075A645 /* KaloTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D578DFC193D31940075A645 /* KaloTests.swift */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXContainerItemProxy section */ 19 | 5D578DF7193D31940075A645 /* PBXContainerItemProxy */ = { 20 | isa = PBXContainerItemProxy; 21 | containerPortal = 5D578DDC193D31940075A645 /* Project object */; 22 | proxyType = 1; 23 | remoteGlobalIDString = 5D578DE3193D31940075A645; 24 | remoteInfo = Kalo; 25 | }; 26 | /* End PBXContainerItemProxy section */ 27 | 28 | /* Begin PBXFileReference section */ 29 | 5D578DE4193D31940075A645 /* Kalo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Kalo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 5D578DE8193D31940075A645 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | 5D578DE9193D31940075A645 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 32 | 5D578DEB193D31940075A645 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 33 | 5D578DEE193D31940075A645 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 34 | 5D578DF0193D31940075A645 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 35 | 5D578DF6193D31940075A645 /* KaloTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KaloTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 5D578DFB193D31940075A645 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 5D578DFC193D31940075A645 /* KaloTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KaloTests.swift; sourceTree = ""; }; 38 | 7ED5EE8890BB4DFEA296AE95 /* Pods-Kalo.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Kalo.xcconfig"; path = "Pods/Pods-Kalo.xcconfig"; sourceTree = ""; }; 39 | C9786AEE194A764C00EF1E5C /* Kalo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Kalo-Bridging-Header.h"; path = "Kalo/Kalo-Bridging-Header.h"; sourceTree = SOURCE_ROOT; }; 40 | FBDA0262640244CBB1168151 /* libPods-Kalo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Kalo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | /* End PBXFileReference section */ 42 | 43 | /* Begin PBXFrameworksBuildPhase section */ 44 | 5D578DE1193D31940075A645 /* Frameworks */ = { 45 | isa = PBXFrameworksBuildPhase; 46 | buildActionMask = 2147483647; 47 | files = ( 48 | 2D680994ECB642059E1FBE47 /* libPods-Kalo.a in Frameworks */, 49 | ); 50 | runOnlyForDeploymentPostprocessing = 0; 51 | }; 52 | 5D578DF3193D31940075A645 /* Frameworks */ = { 53 | isa = PBXFrameworksBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | /* End PBXFrameworksBuildPhase section */ 60 | 61 | /* Begin PBXGroup section */ 62 | 5D578DDB193D31940075A645 = { 63 | isa = PBXGroup; 64 | children = ( 65 | 5D578DE6193D31940075A645 /* Kalo */, 66 | 5D578DF9193D31940075A645 /* KaloTests */, 67 | 5D578DE5193D31940075A645 /* Products */, 68 | 7ED5EE8890BB4DFEA296AE95 /* Pods-Kalo.xcconfig */, 69 | 693C4971F8B346EE87832E5B /* Frameworks */, 70 | ); 71 | sourceTree = ""; 72 | }; 73 | 5D578DE5193D31940075A645 /* Products */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 5D578DE4193D31940075A645 /* Kalo.app */, 77 | 5D578DF6193D31940075A645 /* KaloTests.xctest */, 78 | ); 79 | name = Products; 80 | sourceTree = ""; 81 | }; 82 | 5D578DE6193D31940075A645 /* Kalo */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | C9786AEE194A764C00EF1E5C /* Kalo-Bridging-Header.h */, 86 | 5D578DE9193D31940075A645 /* AppDelegate.swift */, 87 | 5D578DEB193D31940075A645 /* ViewController.swift */, 88 | 5D578DED193D31940075A645 /* Main.storyboard */, 89 | 5D578DF0193D31940075A645 /* Images.xcassets */, 90 | 5D578DE7193D31940075A645 /* Supporting Files */, 91 | ); 92 | path = Kalo; 93 | sourceTree = ""; 94 | }; 95 | 5D578DE7193D31940075A645 /* Supporting Files */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 5D578DE8193D31940075A645 /* Info.plist */, 99 | ); 100 | name = "Supporting Files"; 101 | sourceTree = ""; 102 | }; 103 | 5D578DF9193D31940075A645 /* KaloTests */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | 5D578DFC193D31940075A645 /* KaloTests.swift */, 107 | 5D578DFA193D31940075A645 /* Supporting Files */, 108 | ); 109 | path = KaloTests; 110 | sourceTree = ""; 111 | }; 112 | 5D578DFA193D31940075A645 /* Supporting Files */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | 5D578DFB193D31940075A645 /* Info.plist */, 116 | ); 117 | name = "Supporting Files"; 118 | sourceTree = ""; 119 | }; 120 | 693C4971F8B346EE87832E5B /* Frameworks */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | FBDA0262640244CBB1168151 /* libPods-Kalo.a */, 124 | ); 125 | name = Frameworks; 126 | sourceTree = ""; 127 | }; 128 | /* End PBXGroup section */ 129 | 130 | /* Begin PBXNativeTarget section */ 131 | 5D578DE3193D31940075A645 /* Kalo */ = { 132 | isa = PBXNativeTarget; 133 | buildConfigurationList = 5D578E00193D31940075A645 /* Build configuration list for PBXNativeTarget "Kalo" */; 134 | buildPhases = ( 135 | 30061158DF6C4AECBC9165E5 /* Check Pods Manifest.lock */, 136 | 5D578DE0193D31940075A645 /* Sources */, 137 | 5D578DE1193D31940075A645 /* Frameworks */, 138 | 5D578DE2193D31940075A645 /* Resources */, 139 | BE5D864805B84BA4909C0633 /* Copy Pods Resources */, 140 | ); 141 | buildRules = ( 142 | ); 143 | dependencies = ( 144 | ); 145 | name = Kalo; 146 | productName = Kalo; 147 | productReference = 5D578DE4193D31940075A645 /* Kalo.app */; 148 | productType = "com.apple.product-type.application"; 149 | }; 150 | 5D578DF5193D31940075A645 /* KaloTests */ = { 151 | isa = PBXNativeTarget; 152 | buildConfigurationList = 5D578E03193D31940075A645 /* Build configuration list for PBXNativeTarget "KaloTests" */; 153 | buildPhases = ( 154 | 5D578DF2193D31940075A645 /* Sources */, 155 | 5D578DF3193D31940075A645 /* Frameworks */, 156 | 5D578DF4193D31940075A645 /* Resources */, 157 | ); 158 | buildRules = ( 159 | ); 160 | dependencies = ( 161 | 5D578DF8193D31940075A645 /* PBXTargetDependency */, 162 | ); 163 | name = KaloTests; 164 | productName = KaloTests; 165 | productReference = 5D578DF6193D31940075A645 /* KaloTests.xctest */; 166 | productType = "com.apple.product-type.bundle.unit-test"; 167 | }; 168 | /* End PBXNativeTarget section */ 169 | 170 | /* Begin PBXProject section */ 171 | 5D578DDC193D31940075A645 /* Project object */ = { 172 | isa = PBXProject; 173 | attributes = { 174 | LastUpgradeCheck = 0600; 175 | ORGANIZATIONNAME = "Mike English"; 176 | TargetAttributes = { 177 | 5D578DE3193D31940075A645 = { 178 | CreatedOnToolsVersion = 6.0; 179 | }; 180 | 5D578DF5193D31940075A645 = { 181 | CreatedOnToolsVersion = 6.0; 182 | TestTargetID = 5D578DE3193D31940075A645; 183 | }; 184 | }; 185 | }; 186 | buildConfigurationList = 5D578DDF193D31940075A645 /* Build configuration list for PBXProject "Kalo" */; 187 | compatibilityVersion = "Xcode 3.2"; 188 | developmentRegion = English; 189 | hasScannedForEncodings = 0; 190 | knownRegions = ( 191 | en, 192 | Base, 193 | ); 194 | mainGroup = 5D578DDB193D31940075A645; 195 | productRefGroup = 5D578DE5193D31940075A645 /* Products */; 196 | projectDirPath = ""; 197 | projectRoot = ""; 198 | targets = ( 199 | 5D578DE3193D31940075A645 /* Kalo */, 200 | 5D578DF5193D31940075A645 /* KaloTests */, 201 | ); 202 | }; 203 | /* End PBXProject section */ 204 | 205 | /* Begin PBXResourcesBuildPhase section */ 206 | 5D578DE2193D31940075A645 /* Resources */ = { 207 | isa = PBXResourcesBuildPhase; 208 | buildActionMask = 2147483647; 209 | files = ( 210 | 5D578DEF193D31940075A645 /* Main.storyboard in Resources */, 211 | 5D578DF1193D31940075A645 /* Images.xcassets in Resources */, 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | }; 215 | 5D578DF4193D31940075A645 /* Resources */ = { 216 | isa = PBXResourcesBuildPhase; 217 | buildActionMask = 2147483647; 218 | files = ( 219 | ); 220 | runOnlyForDeploymentPostprocessing = 0; 221 | }; 222 | /* End PBXResourcesBuildPhase section */ 223 | 224 | /* Begin PBXShellScriptBuildPhase section */ 225 | 30061158DF6C4AECBC9165E5 /* Check Pods Manifest.lock */ = { 226 | isa = PBXShellScriptBuildPhase; 227 | buildActionMask = 2147483647; 228 | files = ( 229 | ); 230 | inputPaths = ( 231 | ); 232 | name = "Check Pods Manifest.lock"; 233 | outputPaths = ( 234 | ); 235 | runOnlyForDeploymentPostprocessing = 0; 236 | shellPath = /bin/sh; 237 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 238 | showEnvVarsInLog = 0; 239 | }; 240 | BE5D864805B84BA4909C0633 /* Copy Pods Resources */ = { 241 | isa = PBXShellScriptBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | ); 245 | inputPaths = ( 246 | ); 247 | name = "Copy Pods Resources"; 248 | outputPaths = ( 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | shellPath = /bin/sh; 252 | shellScript = "\"${SRCROOT}/Pods/Pods-Kalo-resources.sh\"\n"; 253 | showEnvVarsInLog = 0; 254 | }; 255 | /* End PBXShellScriptBuildPhase section */ 256 | 257 | /* Begin PBXSourcesBuildPhase section */ 258 | 5D578DE0193D31940075A645 /* Sources */ = { 259 | isa = PBXSourcesBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | 5D578DEC193D31940075A645 /* ViewController.swift in Sources */, 263 | 5D578DEA193D31940075A645 /* AppDelegate.swift in Sources */, 264 | ); 265 | runOnlyForDeploymentPostprocessing = 0; 266 | }; 267 | 5D578DF2193D31940075A645 /* Sources */ = { 268 | isa = PBXSourcesBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | 5D578DFD193D31940075A645 /* KaloTests.swift in Sources */, 272 | ); 273 | runOnlyForDeploymentPostprocessing = 0; 274 | }; 275 | /* End PBXSourcesBuildPhase section */ 276 | 277 | /* Begin PBXTargetDependency section */ 278 | 5D578DF8193D31940075A645 /* PBXTargetDependency */ = { 279 | isa = PBXTargetDependency; 280 | target = 5D578DE3193D31940075A645 /* Kalo */; 281 | targetProxy = 5D578DF7193D31940075A645 /* PBXContainerItemProxy */; 282 | }; 283 | /* End PBXTargetDependency section */ 284 | 285 | /* Begin PBXVariantGroup section */ 286 | 5D578DED193D31940075A645 /* Main.storyboard */ = { 287 | isa = PBXVariantGroup; 288 | children = ( 289 | 5D578DEE193D31940075A645 /* Base */, 290 | ); 291 | name = Main.storyboard; 292 | sourceTree = ""; 293 | }; 294 | /* End PBXVariantGroup section */ 295 | 296 | /* Begin XCBuildConfiguration section */ 297 | 5D578DFE193D31940075A645 /* Debug */ = { 298 | isa = XCBuildConfiguration; 299 | buildSettings = { 300 | ALWAYS_SEARCH_USER_PATHS = NO; 301 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 302 | CLANG_CXX_LIBRARY = "libc++"; 303 | CLANG_ENABLE_MODULES = YES; 304 | CLANG_ENABLE_OBJC_ARC = YES; 305 | CLANG_WARN_BOOL_CONVERSION = YES; 306 | CLANG_WARN_CONSTANT_CONVERSION = YES; 307 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 308 | CLANG_WARN_EMPTY_BODY = YES; 309 | CLANG_WARN_ENUM_CONVERSION = YES; 310 | CLANG_WARN_INT_CONVERSION = YES; 311 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 312 | CLANG_WARN_UNREACHABLE_CODE = YES; 313 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 314 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 315 | COPY_PHASE_STRIP = NO; 316 | ENABLE_STRICT_OBJC_MSGSEND = YES; 317 | GCC_C_LANGUAGE_STANDARD = gnu99; 318 | GCC_DYNAMIC_NO_PIC = NO; 319 | GCC_OPTIMIZATION_LEVEL = 0; 320 | GCC_PREPROCESSOR_DEFINITIONS = ( 321 | "DEBUG=1", 322 | "$(inherited)", 323 | ); 324 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 325 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 326 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 327 | GCC_WARN_UNDECLARED_SELECTOR = YES; 328 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 329 | GCC_WARN_UNUSED_FUNCTION = YES; 330 | GCC_WARN_UNUSED_VARIABLE = YES; 331 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 332 | METAL_ENABLE_DEBUG_INFO = YES; 333 | ONLY_ACTIVE_ARCH = YES; 334 | SDKROOT = iphoneos; 335 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 336 | }; 337 | name = Debug; 338 | }; 339 | 5D578DFF193D31940075A645 /* Release */ = { 340 | isa = XCBuildConfiguration; 341 | buildSettings = { 342 | ALWAYS_SEARCH_USER_PATHS = NO; 343 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 344 | CLANG_CXX_LIBRARY = "libc++"; 345 | CLANG_ENABLE_MODULES = YES; 346 | CLANG_ENABLE_OBJC_ARC = YES; 347 | CLANG_WARN_BOOL_CONVERSION = YES; 348 | CLANG_WARN_CONSTANT_CONVERSION = YES; 349 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 350 | CLANG_WARN_EMPTY_BODY = YES; 351 | CLANG_WARN_ENUM_CONVERSION = YES; 352 | CLANG_WARN_INT_CONVERSION = YES; 353 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 354 | CLANG_WARN_UNREACHABLE_CODE = YES; 355 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 356 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 357 | COPY_PHASE_STRIP = YES; 358 | ENABLE_NS_ASSERTIONS = NO; 359 | ENABLE_STRICT_OBJC_MSGSEND = YES; 360 | GCC_C_LANGUAGE_STANDARD = gnu99; 361 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 362 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 363 | GCC_WARN_UNDECLARED_SELECTOR = YES; 364 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 365 | GCC_WARN_UNUSED_FUNCTION = YES; 366 | GCC_WARN_UNUSED_VARIABLE = YES; 367 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 368 | METAL_ENABLE_DEBUG_INFO = NO; 369 | SDKROOT = iphoneos; 370 | VALIDATE_PRODUCT = YES; 371 | }; 372 | name = Release; 373 | }; 374 | 5D578E01193D31940075A645 /* Debug */ = { 375 | isa = XCBuildConfiguration; 376 | baseConfigurationReference = 7ED5EE8890BB4DFEA296AE95 /* Pods-Kalo.xcconfig */; 377 | buildSettings = { 378 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 379 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 380 | INFOPLIST_FILE = Kalo/Info.plist; 381 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 382 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 383 | PRODUCT_NAME = "$(TARGET_NAME)"; 384 | SWIFT_OBJC_BRIDGING_HEADER = "Kalo/Kalo-Bridging-Header.h"; 385 | }; 386 | name = Debug; 387 | }; 388 | 5D578E02193D31940075A645 /* Release */ = { 389 | isa = XCBuildConfiguration; 390 | baseConfigurationReference = 7ED5EE8890BB4DFEA296AE95 /* Pods-Kalo.xcconfig */; 391 | buildSettings = { 392 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 393 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 394 | INFOPLIST_FILE = Kalo/Info.plist; 395 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 396 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 397 | PRODUCT_NAME = "$(TARGET_NAME)"; 398 | SWIFT_OBJC_BRIDGING_HEADER = "Kalo/Kalo-Bridging-Header.h"; 399 | }; 400 | name = Release; 401 | }; 402 | 5D578E04193D31940075A645 /* Debug */ = { 403 | isa = XCBuildConfiguration; 404 | buildSettings = { 405 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Kalo.app/Kalo"; 406 | FRAMEWORK_SEARCH_PATHS = ( 407 | "$(SDKROOT)/Developer/Library/Frameworks", 408 | "$(inherited)", 409 | ); 410 | GCC_PREPROCESSOR_DEFINITIONS = ( 411 | "DEBUG=1", 412 | "$(inherited)", 413 | ); 414 | INFOPLIST_FILE = KaloTests/Info.plist; 415 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 416 | METAL_ENABLE_DEBUG_INFO = YES; 417 | PRODUCT_NAME = "$(TARGET_NAME)"; 418 | TEST_HOST = "$(BUNDLE_LOADER)"; 419 | }; 420 | name = Debug; 421 | }; 422 | 5D578E05193D31940075A645 /* Release */ = { 423 | isa = XCBuildConfiguration; 424 | buildSettings = { 425 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Kalo.app/Kalo"; 426 | FRAMEWORK_SEARCH_PATHS = ( 427 | "$(SDKROOT)/Developer/Library/Frameworks", 428 | "$(inherited)", 429 | ); 430 | INFOPLIST_FILE = KaloTests/Info.plist; 431 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 432 | METAL_ENABLE_DEBUG_INFO = NO; 433 | PRODUCT_NAME = "$(TARGET_NAME)"; 434 | TEST_HOST = "$(BUNDLE_LOADER)"; 435 | }; 436 | name = Release; 437 | }; 438 | /* End XCBuildConfiguration section */ 439 | 440 | /* Begin XCConfigurationList section */ 441 | 5D578DDF193D31940075A645 /* Build configuration list for PBXProject "Kalo" */ = { 442 | isa = XCConfigurationList; 443 | buildConfigurations = ( 444 | 5D578DFE193D31940075A645 /* Debug */, 445 | 5D578DFF193D31940075A645 /* Release */, 446 | ); 447 | defaultConfigurationIsVisible = 0; 448 | defaultConfigurationName = Release; 449 | }; 450 | 5D578E00193D31940075A645 /* Build configuration list for PBXNativeTarget "Kalo" */ = { 451 | isa = XCConfigurationList; 452 | buildConfigurations = ( 453 | 5D578E01193D31940075A645 /* Debug */, 454 | 5D578E02193D31940075A645 /* Release */, 455 | ); 456 | defaultConfigurationIsVisible = 0; 457 | defaultConfigurationName = Release; 458 | }; 459 | 5D578E03193D31940075A645 /* Build configuration list for PBXNativeTarget "KaloTests" */ = { 460 | isa = XCConfigurationList; 461 | buildConfigurations = ( 462 | 5D578E04193D31940075A645 /* Debug */, 463 | 5D578E05193D31940075A645 /* Release */, 464 | ); 465 | defaultConfigurationIsVisible = 0; 466 | defaultConfigurationName = Release; 467 | }; 468 | /* End XCConfigurationList section */ 469 | }; 470 | rootObject = 5D578DDC193D31940075A645 /* Project object */; 471 | } 472 | --------------------------------------------------------------------------------