├── edgar-theovanny.txt ├── README.md ├── iBeaconScanner ├── iBeaconScanner-iOS │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── IBSBeaconsViewController.h │ ├── IBSAppDelegate.h │ ├── main.m │ ├── iBeaconScanner-iOS-Prefix.pch │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── iBeaconScanner-iOS-Info.plist │ ├── IBSAppDelegate.m │ ├── Main.storyboard │ └── IBSBeaconsViewController.m ├── iBeaconScanner-iOSTests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── iBeaconScanner-iOSTests-Info.plist │ └── iBeaconScanner_iOSTests.m ├── iBeaconScanner-iOS.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj └── .gitignore ├── KiiBall3d ├── KiiBall3d │ ├── Images.xcassets │ │ ├── texture.imageset │ │ │ ├── texture.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── GameViewController.h │ ├── AppDelegate.h │ ├── main.m │ ├── Info.plist │ ├── Base.lproj │ │ └── Main.storyboard │ ├── AppDelegate.m │ └── GameViewController.m ├── KiiBall3d.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj └── KiiBall3dTests │ ├── Info.plist │ └── KiiBall3dTests.m ├── Hello-PENS ├── Hello-PENS.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── Hello-PENS │ ├── ViewController.h │ ├── AppDelegate.h │ ├── main.m │ ├── ViewController.m │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── AppDelegate.m │ └── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.xib └── Hello-PENSTests │ ├── Info.plist │ └── Hello_PENSTests.m ├── .gitignore └── LICENSE /edgar-theovanny.txt: -------------------------------------------------------------------------------- 1 | 421 013 1029 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | workshop-ios 2 | ============ 3 | 4 | Repository for ios workshop on EEPIS 5 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOSTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/Images.xcassets/texture.imageset/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/workshop-ios/master/KiiBall3d/KiiBall3d/Images.xcassets/texture.imageset/texture.png -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/GameViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // GameViewController.h 3 | // KiiBall3d 4 | // 5 | 6 | // Copyright (c) 2014 Kii. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface GameViewController : UIViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // Hello-PENS 4 | // 5 | // Created by Syah Riza on 9/24/14. 6 | // Copyright (c) 2014 Eyro. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /iBeaconScanner/.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | .DS_Store 3 | */build/* 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | profile 14 | *.moved-aside 15 | DerivedData 16 | .idea/ 17 | *.hmap 18 | *.xccheckout 19 | 20 | #CocoaPods 21 | Pods 22 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/IBSBeaconsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // IBSBeaconsViewController.h 3 | // iBeaconScanner-iOS 4 | // 5 | // Created by Tim Kersey on 3/10/14. 6 | // Copyright (c) 2014 Tim Kersey. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface IBSBeaconsViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/Images.xcassets/texture.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "texture.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | } 12 | ], 13 | "info" : { 14 | "version" : 1, 15 | "author" : "xcode" 16 | } 17 | } -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // KiiBall3d 4 | // 5 | // Created by Syah Riza on 7/16/14. 6 | // Copyright (c) 2014 Kii. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // Hello-PENS 4 | // 5 | // Created by Syah Riza on 9/24/14. 6 | // Copyright (c) 2014 Eyro. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/IBSAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // IBSAppDelegate.h 3 | // iBeaconScanner-iOS 4 | // 5 | // Created by Tim Kersey on 3/10/14. 6 | // Copyright (c) 2014 Tim Kersey. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface IBSAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // KiiBall3d 4 | // 5 | // Created by Syah Riza on 7/16/14. 6 | // Copyright (c) 2014 Kii. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Hello-PENS 4 | // 5 | // Created by Syah Riza on 9/24/14. 6 | // Copyright (c) 2014 Eyro. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // iBeaconScanner-iOS 4 | // 5 | // Created by Tim Kersey on 3/10/14. 6 | // Copyright (c) 2014 Tim Kersey. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "IBSAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([IBSAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/iBeaconScanner-iOS-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_3_0 10 | #warning "This project uses features only available in iOS SDK 3.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/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 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | # Pods/ 27 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/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 | } -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // Hello-PENS 4 | // 5 | // Created by Syah Riza on 9/24/14. 6 | // Copyright (c) 2014 Eyro. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOSTests/iBeaconScanner-iOSTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | im.k-t.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3dTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.Kii.${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 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.eyro.$(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 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOSTests/iBeaconScanner_iOSTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // iBeaconScanner_iOSTests.m 3 | // iBeaconScanner-iOSTests 4 | // 5 | // Created by Tim Kersey on 3/10/14. 6 | // Copyright (c) 2014 Tim Kersey. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface iBeaconScanner_iOSTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation iBeaconScanner_iOSTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3dTests/KiiBall3dTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // KiiBall3dTests.m 3 | // KiiBall3dTests 4 | // 5 | // Created by Syah Riza on 7/16/14. 6 | // Copyright (c) 2014 Kii. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface KiiBall3dTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation KiiBall3dTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENSTests/Hello_PENSTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // Hello_PENSTests.m 3 | // Hello-PENSTests 4 | // 5 | // Created by Syah Riza on 9/24/14. 6 | // Copyright (c) 2014 Eyro. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface Hello_PENSTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation Hello_PENSTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/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 | "idiom" : "ipad", 20 | "size" : "29x29", 21 | "scale" : "1x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "40x40", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "76x76", 41 | "scale" : "1x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "2x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.Kii.${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 | UIStatusBarHidden 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 rezacute 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/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 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.eyro.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/iBeaconScanner-iOS-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | im.k-t.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/IBSAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // IBSAppDelegate.m 3 | // iBeaconScanner-iOS 4 | // 5 | // Created by Tim Kersey on 3/10/14. 6 | // Copyright (c) 2014 Tim Kersey. All rights reserved. 7 | // 8 | 9 | #import "IBSAppDelegate.h" 10 | 11 | @implementation IBSAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 14 | return YES; 15 | } 16 | 17 | - (void)applicationWillResignActive:(UIApplication *)application 18 | { 19 | // 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. 20 | // 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. 21 | } 22 | 23 | - (void)applicationDidEnterBackground:(UIApplication *)application 24 | { 25 | // 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. 26 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 27 | } 28 | 29 | - (void)applicationWillEnterForeground:(UIApplication *)application 30 | { 31 | // 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. 32 | } 33 | 34 | - (void)applicationDidBecomeActive:(UIApplication *)application 35 | { 36 | // 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. 37 | } 38 | 39 | - (void)applicationWillTerminate:(UIApplication *)application 40 | { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // Hello-PENS 4 | // 5 | // Created by Syah Riza on 9/24/14. 6 | // Copyright (c) 2014 Eyro. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // 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. 25 | // 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. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // 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. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // 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. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application { 42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // KiiBall3d 4 | // 5 | // Created by Syah Riza on 7/16/14. 6 | // Copyright (c) 2014 Kii. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // 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. 25 | // 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. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // 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. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // 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. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application { 42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d/GameViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // GameViewController.m 3 | // KiiBall3d 4 | // 5 | // Created by Syah Riza on 7/16/14. 6 | // Copyright (c) 2014 Kii. All rights reserved. 7 | // 8 | 9 | #import "GameViewController.h" 10 | 11 | @implementation GameViewController 12 | 13 | - (void)viewDidLoad 14 | { 15 | [super viewDidLoad]; 16 | 17 | // create a new scene 18 | SCNScene *scene = [SCNScene scene]; 19 | 20 | // create and add a camera to the scene 21 | SCNNode *cameraNode = [SCNNode node]; 22 | cameraNode.camera = [SCNCamera camera]; 23 | [scene.rootNode addChildNode:cameraNode]; 24 | 25 | // place the camera 26 | cameraNode.position = SCNVector3Make(0, 0, 3); 27 | 28 | // create and add a light to the scene 29 | SCNNode *lightNode = [SCNNode node]; 30 | lightNode.light = [SCNLight light]; 31 | lightNode.light.type = SCNLightTypeOmni; 32 | lightNode.position = SCNVector3Make(0, 10, 10); 33 | [scene.rootNode addChildNode:lightNode]; 34 | 35 | // create and add an ambient light to the scene 36 | SCNNode *ambientLightNode = [SCNNode node]; 37 | ambientLightNode.light = [SCNLight light]; 38 | ambientLightNode.light.type = SCNLightTypeAmbient; 39 | ambientLightNode.light.color = [UIColor darkGrayColor]; 40 | [scene.rootNode addChildNode:ambientLightNode]; 41 | 42 | // create and add a 3d box to the scene 43 | SCNNode *boxNode = [SCNNode node]; 44 | boxNode.geometry = [SCNBox boxWithWidth:1 height:1 length:1 chamferRadius:0.02]; 45 | [scene.rootNode addChildNode:boxNode]; 46 | 47 | // create and configure a material 48 | SCNMaterial *material = [SCNMaterial material]; 49 | material.diffuse.contents = [UIImage imageNamed:@"texture"]; 50 | material.specular.contents = [UIColor grayColor]; 51 | material.locksAmbientWithDiffuse = YES; 52 | 53 | // set the material to the 3d object geometry 54 | boxNode.geometry.firstMaterial = material; 55 | 56 | // animate the 3d object 57 | CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"rotation"]; 58 | animation.toValue = [NSValue valueWithSCNVector4:SCNVector4Make(1, 1, 0, M_PI*2)]; 59 | animation.duration = 5; 60 | animation.repeatCount = MAXFLOAT; //repeat forever 61 | [boxNode addAnimation:animation forKey:nil]; 62 | 63 | // retrieve the SCNView 64 | SCNView *scnView = (SCNView *)self.view; 65 | 66 | // set the scene to the view 67 | scnView.scene = scene; 68 | 69 | // allows the user to manipulate the camera 70 | scnView.allowsCameraControl = YES; 71 | 72 | // show statistics such as fps and timing information 73 | scnView.showsStatistics = YES; 74 | 75 | // configure the view 76 | scnView.backgroundColor = [UIColor blackColor]; 77 | 78 | // add a tap gesture recognizer 79 | UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)]; 80 | NSMutableArray *gestureRecognizers = [NSMutableArray array]; 81 | [gestureRecognizers addObject:tapGesture]; 82 | [gestureRecognizers addObjectsFromArray:scnView.gestureRecognizers]; 83 | scnView.gestureRecognizers = gestureRecognizers; 84 | } 85 | 86 | - (void) handleTap:(UIGestureRecognizer*)gestureRecognize 87 | { 88 | // retrieve the SCNView 89 | SCNView *scnView = (SCNView *)self.view; 90 | 91 | // check what nodes are tapped 92 | CGPoint p = [gestureRecognize locationInView:scnView]; 93 | NSArray *hitResults = [scnView hitTest:p options:nil]; 94 | 95 | // check that we clicked on at least one object 96 | if([hitResults count] > 0){ 97 | // retrieved the first clicked object 98 | SCNHitTestResult *result = [hitResults objectAtIndex:0]; 99 | 100 | // get its material 101 | SCNMaterial *material = result.node.geometry.firstMaterial; 102 | 103 | // highlight it 104 | [SCNTransaction begin]; 105 | [SCNTransaction setAnimationDuration:0.5]; 106 | 107 | // on completion - unhighlight 108 | [SCNTransaction setCompletionBlock:^{ 109 | [SCNTransaction begin]; 110 | [SCNTransaction setAnimationDuration:0.5]; 111 | 112 | material.emission.contents = [UIColor blackColor]; 113 | 114 | [SCNTransaction commit]; 115 | }]; 116 | 117 | material.emission.contents = [UIColor redColor]; 118 | 119 | [SCNTransaction commit]; 120 | } 121 | } 122 | 123 | - (BOOL)shouldAutorotate 124 | { 125 | return YES; 126 | } 127 | 128 | - (NSUInteger)supportedInterfaceOrientations 129 | { 130 | if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) { 131 | return UIInterfaceOrientationMaskAllButUpsideDown; 132 | } else { 133 | return UIInterfaceOrientationMaskAll; 134 | } 135 | } 136 | 137 | - (void)didReceiveMemoryWarning 138 | { 139 | [super didReceiveMemoryWarning]; 140 | // Release any cached data, images, etc that aren't in use. 141 | } 142 | 143 | @end 144 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS/IBSBeaconsViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // IBSBeaconsViewController.m 3 | // iBeaconScanner-iOS 4 | // 5 | // Created by Tim Kersey on 3/10/14. 6 | // Copyright (c) 2014 Tim Kersey. All rights reserved. 7 | // 8 | 9 | @import CoreBluetooth; 10 | #import "IBSBeaconsViewController.h" 11 | 12 | static const NSTimeInterval kScanTimeInterval = 1.0; 13 | 14 | @interface IBSBeaconsViewController () 15 | @property (strong, nonatomic) CBCentralManager *manager; 16 | @property (strong, nonatomic) NSMutableArray *beacons; 17 | @property (strong, nonatomic) NSMutableDictionary *foundBeacons; 18 | @property (nonatomic) BOOL canScan; 19 | @property (nonatomic) BOOL isScanning; 20 | @property (strong, nonatomic) NSTimer *scanTimer; 21 | @property (nonatomic) NSTimeInterval duration; 22 | @property (nonatomic) BOOL hasScanned; 23 | @property (weak, nonatomic) IBOutlet UIBarButtonItem *searchForBeaconsButton; 24 | @end 25 | 26 | @implementation IBSBeaconsViewController 27 | 28 | #pragma mark - View Lifecycle 29 | 30 | - (void)awakeFromNib { 31 | self.manager = [[CBCentralManager alloc] initWithDelegate:self queue:nil options:@{CBCentralManagerOptionShowPowerAlertKey: @YES}]; 32 | } 33 | 34 | - (void)viewDidLoad { 35 | self.foundBeacons= [NSMutableDictionary dictionary]; 36 | [super viewDidLoad]; 37 | } 38 | 39 | - (void)didReceiveMemoryWarning { 40 | [super didReceiveMemoryWarning]; 41 | } 42 | 43 | #pragma mark - CBCentral Manager Delegate 44 | 45 | - (void)centralManagerDidUpdateState:(CBCentralManager *)central { 46 | self.canScan = self.manager.state == CBCentralManagerStatePoweredOn ?: NO; 47 | 48 | switch (central.state) { 49 | case CBCentralManagerStatePoweredOff: 50 | self.title = @"Powered Off"; 51 | break; 52 | case CBCentralManagerStatePoweredOn: 53 | self.title = @"Powered On"; 54 | break; 55 | case CBCentralManagerStateResetting: 56 | self.title = @"Resetting"; 57 | break; 58 | case CBCentralManagerStateUnauthorized: 59 | self.title = @"Unauthorized"; 60 | break; 61 | case CBCentralManagerStateUnsupported: 62 | self.title = @"Unsupported"; 63 | break; 64 | case CBCentralManagerStateUnknown: 65 | default: 66 | self.title = @"Unknown"; 67 | break; 68 | } 69 | } 70 | 71 | - (void)centralManager:(CBCentralManager *)central didDiscoverPeripheral:(CBPeripheral *)peripheral advertisementData:(NSDictionary *)advertisementData RSSI:(NSNumber *)RSSI { 72 | NSLog(@"Advertising Data: %@", advertisementData); 73 | NSData *advData = advertisementData[@"kCBAdvDataManufacturerData"]; 74 | NSMutableDictionary *beacon = [[self getBeaconInfoFromData:advData] mutableCopy]; 75 | 76 | beacon[@"RSSI"] = RSSI; 77 | 78 | beacon[@"deviceUUID"] = peripheral.identifier.UUIDString; 79 | 80 | NSNumber *distance = [self calculatedDistance:beacon[@"power"] RSSI:RSSI]; 81 | if (distance) beacon[@"distance"] = distance; 82 | 83 | beacon[@"proximity"] = [self proximityFromDistance:distance]; 84 | 85 | NSString *uniqueUUID = peripheral.identifier.UUIDString; 86 | if (beacon[@"uuid"]) uniqueUUID = [uniqueUUID stringByAppendingString:beacon[@"uuid"]]; 87 | 88 | self.foundBeacons[uniqueUUID] = beacon; 89 | } 90 | 91 | #pragma mark - Beacon scanning 92 | 93 | - (BOOL)startScanning { 94 | if (self.canScan) { 95 | if (self.scanTimer) [self.scanTimer invalidate]; 96 | if (self.hasScanned && self.duration < 5) self.duration += kScanTimeInterval; 97 | else self.duration = kScanTimeInterval; 98 | self.isScanning = YES; 99 | 100 | [self.manager scanForPeripheralsWithServices:nil options:nil]; 101 | self.scanTimer = [NSTimer scheduledTimerWithTimeInterval:self.duration target:self selector:@selector(timerDidFire) userInfo:nil repeats:NO]; 102 | NSLog(@"Started Scanning"); 103 | return YES; 104 | } 105 | NSLog(@"Unable to starting scanning"); 106 | return NO; 107 | } 108 | 109 | - (void)stopScanning { 110 | [self.manager stopScan]; 111 | self.hasScanned = YES; 112 | self.isScanning = NO; 113 | [self.scanTimer invalidate]; 114 | } 115 | 116 | - (void)timerDidFire { 117 | NSLog(@"Found Beacons during scan: %@", [self.foundBeacons allValues]); 118 | self.beacons = [[self.foundBeacons allValues] mutableCopy]; 119 | [self.foundBeacons removeAllObjects]; 120 | [self stopScanning]; 121 | [self.tableView reloadData]; 122 | } 123 | 124 | #pragma mark - Button management 125 | 126 | - (IBAction)searchForBeacons:(id)sender { 127 | [self startScanning]; 128 | } 129 | 130 | - (void)setIsScanning:(BOOL)isScanning { 131 | if (_isScanning != isScanning) _isScanning = isScanning; 132 | self.searchForBeaconsButton.enabled = self.canScan; 133 | } 134 | 135 | - (void)setCanScan:(BOOL)canScan { 136 | if (_canScan != canScan) _canScan = canScan; 137 | self.searchForBeaconsButton.enabled = self.canScan; 138 | } 139 | 140 | #pragma mark - Working with Beacon data 141 | 142 | - (BOOL)advertisementDataIsBeacon:(NSData *)data { 143 | Byte expectingBytes[4] = {0x4c, 0x00, 0x02, 0x15}; 144 | NSData *expectingData = [NSData dataWithBytes:expectingBytes length:sizeof(expectingBytes)]; 145 | if (data.length > expectingData.length && [[data subdataWithRange:NSMakeRange(0, expectingData.length)] isEqualToData:expectingData]) { 146 | return YES; 147 | } 148 | return NO; 149 | } 150 | 151 | - (NSDictionary *)getBeaconInfoFromData:(NSData *)data { 152 | NSRange uuidRange = NSMakeRange(4, 16); 153 | NSRange majorRange = NSMakeRange(20, 2); 154 | NSRange minorRange = NSMakeRange(22, 2); 155 | NSRange powerRange = NSMakeRange(24, 1); 156 | 157 | Byte uuidBytes[16]; 158 | [data getBytes:&uuidBytes range:uuidRange]; 159 | NSUUID *uuid = [[NSUUID alloc] initWithUUIDBytes:uuidBytes]; 160 | 161 | uint16_t majorBytes; 162 | [data getBytes:&majorBytes range:majorRange]; 163 | uint16_t majorBytesBig = (majorBytes >> 8) | (majorBytes << 8); 164 | 165 | uint16_t minorBytes; 166 | [data getBytes:&minorBytes range:minorRange]; 167 | uint16_t minorBytesBig = (minorBytes >> 8) | (minorBytes << 8); 168 | 169 | int8_t powerByte; 170 | [data getBytes:&powerByte range:powerRange]; 171 | 172 | return @{@"uuid" : uuid.UUIDString, @"major" : @(majorBytesBig), @"minor" : @(minorBytesBig), @"power" : @(powerByte)}; 173 | } 174 | 175 | - (NSNumber *)calculatedDistance:(NSNumber *)txPowerNum RSSI:(NSNumber *)RSSINum { 176 | int txPower = [txPowerNum intValue]; 177 | double rssi = [RSSINum doubleValue]; 178 | 179 | if (rssi == 0) return nil; // if we cannot determine accuracy, return nil. 180 | 181 | double ratio = rssi * 1.0 / txPower; 182 | if (ratio < 1.0) return @(pow(ratio, 10.0)); 183 | else return @(0.89976 * pow(ratio, 7.7095) + 0.111); 184 | } 185 | 186 | - (NSString *)proximityFromDistance:(NSNumber *)distance { 187 | if (distance == nil) distance = @(-1); 188 | 189 | if (distance.doubleValue >= 2.0) return @"Far"; 190 | if (distance.doubleValue >= 0.25) return @"Near"; 191 | if (distance.doubleValue >= 0) return @"immediate"; 192 | return @"Unknown"; 193 | } 194 | 195 | #pragma mark - Table view data source 196 | 197 | - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { 198 | return 1; 199 | } 200 | 201 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { 202 | return self.beacons.count; 203 | } 204 | 205 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { 206 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"beaconCell" forIndexPath:indexPath]; 207 | cell.textLabel.text = self.beacons[indexPath.row][@"deviceUUID"]; 208 | return cell; 209 | } 210 | 211 | @end 212 | -------------------------------------------------------------------------------- /KiiBall3d/KiiBall3d.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | D5348555197646170097FF1B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D5348554197646170097FF1B /* main.m */; }; 11 | D5348558197646170097FF1B /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D5348557197646170097FF1B /* AppDelegate.m */; }; 12 | D534855B197646170097FF1B /* GameViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D534855A197646170097FF1B /* GameViewController.m */; }; 13 | D534855E197646170097FF1B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D534855C197646170097FF1B /* Main.storyboard */; }; 14 | D5348560197646170097FF1B /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D534855F197646170097FF1B /* Images.xcassets */; }; 15 | D534856C197646170097FF1B /* KiiBall3dTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D534856B197646170097FF1B /* KiiBall3dTests.m */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXContainerItemProxy section */ 19 | D5348566197646170097FF1B /* PBXContainerItemProxy */ = { 20 | isa = PBXContainerItemProxy; 21 | containerPortal = D5348547197646170097FF1B /* Project object */; 22 | proxyType = 1; 23 | remoteGlobalIDString = D534854E197646170097FF1B; 24 | remoteInfo = KiiBall3d; 25 | }; 26 | /* End PBXContainerItemProxy section */ 27 | 28 | /* Begin PBXFileReference section */ 29 | D534854F197646170097FF1B /* KiiBall3d.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KiiBall3d.app; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | D5348553197646170097FF1B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | D5348554197646170097FF1B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 32 | D5348556197646170097FF1B /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 33 | D5348557197646170097FF1B /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 34 | D5348559197646170097FF1B /* GameViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GameViewController.h; sourceTree = ""; }; 35 | D534855A197646170097FF1B /* GameViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GameViewController.m; sourceTree = ""; }; 36 | D534855D197646170097FF1B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 37 | D534855F197646170097FF1B /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 38 | D5348565197646170097FF1B /* KiiBall3dTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KiiBall3dTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | D534856A197646170097FF1B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | D534856B197646170097FF1B /* KiiBall3dTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KiiBall3dTests.m; sourceTree = ""; }; 41 | /* End PBXFileReference section */ 42 | 43 | /* Begin PBXFrameworksBuildPhase section */ 44 | D534854C197646170097FF1B /* Frameworks */ = { 45 | isa = PBXFrameworksBuildPhase; 46 | buildActionMask = 2147483647; 47 | files = ( 48 | ); 49 | runOnlyForDeploymentPostprocessing = 0; 50 | }; 51 | D5348562197646170097FF1B /* Frameworks */ = { 52 | isa = PBXFrameworksBuildPhase; 53 | buildActionMask = 2147483647; 54 | files = ( 55 | ); 56 | runOnlyForDeploymentPostprocessing = 0; 57 | }; 58 | /* End PBXFrameworksBuildPhase section */ 59 | 60 | /* Begin PBXGroup section */ 61 | D5348546197646170097FF1B = { 62 | isa = PBXGroup; 63 | children = ( 64 | D5348551197646170097FF1B /* KiiBall3d */, 65 | D5348568197646170097FF1B /* KiiBall3dTests */, 66 | D5348550197646170097FF1B /* Products */, 67 | ); 68 | sourceTree = ""; 69 | }; 70 | D5348550197646170097FF1B /* Products */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | D534854F197646170097FF1B /* KiiBall3d.app */, 74 | D5348565197646170097FF1B /* KiiBall3dTests.xctest */, 75 | ); 76 | name = Products; 77 | sourceTree = ""; 78 | }; 79 | D5348551197646170097FF1B /* KiiBall3d */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | D5348556197646170097FF1B /* AppDelegate.h */, 83 | D5348557197646170097FF1B /* AppDelegate.m */, 84 | D5348559197646170097FF1B /* GameViewController.h */, 85 | D534855A197646170097FF1B /* GameViewController.m */, 86 | D534855C197646170097FF1B /* Main.storyboard */, 87 | D534855F197646170097FF1B /* Images.xcassets */, 88 | D5348552197646170097FF1B /* Supporting Files */, 89 | ); 90 | path = KiiBall3d; 91 | sourceTree = ""; 92 | }; 93 | D5348552197646170097FF1B /* Supporting Files */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | D5348553197646170097FF1B /* Info.plist */, 97 | D5348554197646170097FF1B /* main.m */, 98 | ); 99 | name = "Supporting Files"; 100 | sourceTree = ""; 101 | }; 102 | D5348568197646170097FF1B /* KiiBall3dTests */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | D534856B197646170097FF1B /* KiiBall3dTests.m */, 106 | D5348569197646170097FF1B /* Supporting Files */, 107 | ); 108 | path = KiiBall3dTests; 109 | sourceTree = ""; 110 | }; 111 | D5348569197646170097FF1B /* Supporting Files */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | D534856A197646170097FF1B /* Info.plist */, 115 | ); 116 | name = "Supporting Files"; 117 | sourceTree = ""; 118 | }; 119 | /* End PBXGroup section */ 120 | 121 | /* Begin PBXNativeTarget section */ 122 | D534854E197646170097FF1B /* KiiBall3d */ = { 123 | isa = PBXNativeTarget; 124 | buildConfigurationList = D534856F197646170097FF1B /* Build configuration list for PBXNativeTarget "KiiBall3d" */; 125 | buildPhases = ( 126 | D534854B197646170097FF1B /* Sources */, 127 | D534854C197646170097FF1B /* Frameworks */, 128 | D534854D197646170097FF1B /* Resources */, 129 | ); 130 | buildRules = ( 131 | ); 132 | dependencies = ( 133 | ); 134 | name = KiiBall3d; 135 | productName = KiiBall3d; 136 | productReference = D534854F197646170097FF1B /* KiiBall3d.app */; 137 | productType = "com.apple.product-type.application"; 138 | }; 139 | D5348564197646170097FF1B /* KiiBall3dTests */ = { 140 | isa = PBXNativeTarget; 141 | buildConfigurationList = D5348572197646170097FF1B /* Build configuration list for PBXNativeTarget "KiiBall3dTests" */; 142 | buildPhases = ( 143 | D5348561197646170097FF1B /* Sources */, 144 | D5348562197646170097FF1B /* Frameworks */, 145 | D5348563197646170097FF1B /* Resources */, 146 | ); 147 | buildRules = ( 148 | ); 149 | dependencies = ( 150 | D5348567197646170097FF1B /* PBXTargetDependency */, 151 | ); 152 | name = KiiBall3dTests; 153 | productName = KiiBall3dTests; 154 | productReference = D5348565197646170097FF1B /* KiiBall3dTests.xctest */; 155 | productType = "com.apple.product-type.bundle.unit-test"; 156 | }; 157 | /* End PBXNativeTarget section */ 158 | 159 | /* Begin PBXProject section */ 160 | D5348547197646170097FF1B /* Project object */ = { 161 | isa = PBXProject; 162 | attributes = { 163 | LastUpgradeCheck = 0600; 164 | ORGANIZATIONNAME = Kii; 165 | TargetAttributes = { 166 | D534854E197646170097FF1B = { 167 | CreatedOnToolsVersion = 6.0; 168 | }; 169 | D5348564197646170097FF1B = { 170 | CreatedOnToolsVersion = 6.0; 171 | TestTargetID = D534854E197646170097FF1B; 172 | }; 173 | }; 174 | }; 175 | buildConfigurationList = D534854A197646170097FF1B /* Build configuration list for PBXProject "KiiBall3d" */; 176 | compatibilityVersion = "Xcode 3.2"; 177 | developmentRegion = English; 178 | hasScannedForEncodings = 0; 179 | knownRegions = ( 180 | en, 181 | Base, 182 | ); 183 | mainGroup = D5348546197646170097FF1B; 184 | productRefGroup = D5348550197646170097FF1B /* Products */; 185 | projectDirPath = ""; 186 | projectRoot = ""; 187 | targets = ( 188 | D534854E197646170097FF1B /* KiiBall3d */, 189 | D5348564197646170097FF1B /* KiiBall3dTests */, 190 | ); 191 | }; 192 | /* End PBXProject section */ 193 | 194 | /* Begin PBXResourcesBuildPhase section */ 195 | D534854D197646170097FF1B /* Resources */ = { 196 | isa = PBXResourcesBuildPhase; 197 | buildActionMask = 2147483647; 198 | files = ( 199 | D534855E197646170097FF1B /* Main.storyboard in Resources */, 200 | D5348560197646170097FF1B /* Images.xcassets in Resources */, 201 | ); 202 | runOnlyForDeploymentPostprocessing = 0; 203 | }; 204 | D5348563197646170097FF1B /* Resources */ = { 205 | isa = PBXResourcesBuildPhase; 206 | buildActionMask = 2147483647; 207 | files = ( 208 | ); 209 | runOnlyForDeploymentPostprocessing = 0; 210 | }; 211 | /* End PBXResourcesBuildPhase section */ 212 | 213 | /* Begin PBXSourcesBuildPhase section */ 214 | D534854B197646170097FF1B /* Sources */ = { 215 | isa = PBXSourcesBuildPhase; 216 | buildActionMask = 2147483647; 217 | files = ( 218 | D5348558197646170097FF1B /* AppDelegate.m in Sources */, 219 | D534855B197646170097FF1B /* GameViewController.m in Sources */, 220 | D5348555197646170097FF1B /* main.m in Sources */, 221 | ); 222 | runOnlyForDeploymentPostprocessing = 0; 223 | }; 224 | D5348561197646170097FF1B /* Sources */ = { 225 | isa = PBXSourcesBuildPhase; 226 | buildActionMask = 2147483647; 227 | files = ( 228 | D534856C197646170097FF1B /* KiiBall3dTests.m in Sources */, 229 | ); 230 | runOnlyForDeploymentPostprocessing = 0; 231 | }; 232 | /* End PBXSourcesBuildPhase section */ 233 | 234 | /* Begin PBXTargetDependency section */ 235 | D5348567197646170097FF1B /* PBXTargetDependency */ = { 236 | isa = PBXTargetDependency; 237 | target = D534854E197646170097FF1B /* KiiBall3d */; 238 | targetProxy = D5348566197646170097FF1B /* PBXContainerItemProxy */; 239 | }; 240 | /* End PBXTargetDependency section */ 241 | 242 | /* Begin PBXVariantGroup section */ 243 | D534855C197646170097FF1B /* Main.storyboard */ = { 244 | isa = PBXVariantGroup; 245 | children = ( 246 | D534855D197646170097FF1B /* Base */, 247 | ); 248 | name = Main.storyboard; 249 | sourceTree = ""; 250 | }; 251 | /* End PBXVariantGroup section */ 252 | 253 | /* Begin XCBuildConfiguration section */ 254 | D534856D197646170097FF1B /* Debug */ = { 255 | isa = XCBuildConfiguration; 256 | buildSettings = { 257 | ALWAYS_SEARCH_USER_PATHS = NO; 258 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 259 | CLANG_CXX_LIBRARY = "libc++"; 260 | CLANG_ENABLE_MODULES = YES; 261 | CLANG_ENABLE_OBJC_ARC = YES; 262 | CLANG_WARN_BOOL_CONVERSION = YES; 263 | CLANG_WARN_CONSTANT_CONVERSION = YES; 264 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 265 | CLANG_WARN_EMPTY_BODY = YES; 266 | CLANG_WARN_ENUM_CONVERSION = YES; 267 | CLANG_WARN_INT_CONVERSION = YES; 268 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 269 | CLANG_WARN_UNREACHABLE_CODE = YES; 270 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 271 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 272 | COPY_PHASE_STRIP = NO; 273 | ENABLE_STRICT_OBJC_MSGSEND = YES; 274 | GCC_C_LANGUAGE_STANDARD = gnu99; 275 | GCC_DYNAMIC_NO_PIC = NO; 276 | GCC_OPTIMIZATION_LEVEL = 0; 277 | GCC_PREPROCESSOR_DEFINITIONS = ( 278 | "DEBUG=1", 279 | "$(inherited)", 280 | ); 281 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 282 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 283 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 284 | GCC_WARN_UNDECLARED_SELECTOR = YES; 285 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 286 | GCC_WARN_UNUSED_FUNCTION = YES; 287 | GCC_WARN_UNUSED_VARIABLE = YES; 288 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 289 | MTL_ENABLE_DEBUG_INFO = YES; 290 | ONLY_ACTIVE_ARCH = YES; 291 | SDKROOT = iphoneos; 292 | TARGETED_DEVICE_FAMILY = "1,2"; 293 | }; 294 | name = Debug; 295 | }; 296 | D534856E197646170097FF1B /* Release */ = { 297 | isa = XCBuildConfiguration; 298 | buildSettings = { 299 | ALWAYS_SEARCH_USER_PATHS = NO; 300 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 301 | CLANG_CXX_LIBRARY = "libc++"; 302 | CLANG_ENABLE_MODULES = YES; 303 | CLANG_ENABLE_OBJC_ARC = YES; 304 | CLANG_WARN_BOOL_CONVERSION = YES; 305 | CLANG_WARN_CONSTANT_CONVERSION = YES; 306 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 307 | CLANG_WARN_EMPTY_BODY = YES; 308 | CLANG_WARN_ENUM_CONVERSION = YES; 309 | CLANG_WARN_INT_CONVERSION = YES; 310 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 311 | CLANG_WARN_UNREACHABLE_CODE = YES; 312 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 313 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 314 | COPY_PHASE_STRIP = YES; 315 | ENABLE_NS_ASSERTIONS = NO; 316 | ENABLE_STRICT_OBJC_MSGSEND = YES; 317 | GCC_C_LANGUAGE_STANDARD = gnu99; 318 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 319 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 320 | GCC_WARN_UNDECLARED_SELECTOR = YES; 321 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 322 | GCC_WARN_UNUSED_FUNCTION = YES; 323 | GCC_WARN_UNUSED_VARIABLE = YES; 324 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 325 | MTL_ENABLE_DEBUG_INFO = NO; 326 | SDKROOT = iphoneos; 327 | TARGETED_DEVICE_FAMILY = "1,2"; 328 | VALIDATE_PRODUCT = YES; 329 | }; 330 | name = Release; 331 | }; 332 | D5348570197646170097FF1B /* Debug */ = { 333 | isa = XCBuildConfiguration; 334 | buildSettings = { 335 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 336 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 337 | INFOPLIST_FILE = KiiBall3d/Info.plist; 338 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 339 | PRODUCT_NAME = "$(TARGET_NAME)"; 340 | }; 341 | name = Debug; 342 | }; 343 | D5348571197646170097FF1B /* Release */ = { 344 | isa = XCBuildConfiguration; 345 | buildSettings = { 346 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 347 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 348 | INFOPLIST_FILE = KiiBall3d/Info.plist; 349 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 350 | PRODUCT_NAME = "$(TARGET_NAME)"; 351 | }; 352 | name = Release; 353 | }; 354 | D5348573197646170097FF1B /* Debug */ = { 355 | isa = XCBuildConfiguration; 356 | buildSettings = { 357 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/KiiBall3d.app/KiiBall3d"; 358 | FRAMEWORK_SEARCH_PATHS = ( 359 | "$(SDKROOT)/Developer/Library/Frameworks", 360 | "$(inherited)", 361 | ); 362 | GCC_PREPROCESSOR_DEFINITIONS = ( 363 | "DEBUG=1", 364 | "$(inherited)", 365 | ); 366 | INFOPLIST_FILE = KiiBall3dTests/Info.plist; 367 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 368 | PRODUCT_NAME = "$(TARGET_NAME)"; 369 | TEST_HOST = "$(BUNDLE_LOADER)"; 370 | }; 371 | name = Debug; 372 | }; 373 | D5348574197646170097FF1B /* Release */ = { 374 | isa = XCBuildConfiguration; 375 | buildSettings = { 376 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/KiiBall3d.app/KiiBall3d"; 377 | FRAMEWORK_SEARCH_PATHS = ( 378 | "$(SDKROOT)/Developer/Library/Frameworks", 379 | "$(inherited)", 380 | ); 381 | INFOPLIST_FILE = KiiBall3dTests/Info.plist; 382 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 383 | PRODUCT_NAME = "$(TARGET_NAME)"; 384 | TEST_HOST = "$(BUNDLE_LOADER)"; 385 | }; 386 | name = Release; 387 | }; 388 | /* End XCBuildConfiguration section */ 389 | 390 | /* Begin XCConfigurationList section */ 391 | D534854A197646170097FF1B /* Build configuration list for PBXProject "KiiBall3d" */ = { 392 | isa = XCConfigurationList; 393 | buildConfigurations = ( 394 | D534856D197646170097FF1B /* Debug */, 395 | D534856E197646170097FF1B /* Release */, 396 | ); 397 | defaultConfigurationIsVisible = 0; 398 | defaultConfigurationName = Release; 399 | }; 400 | D534856F197646170097FF1B /* Build configuration list for PBXNativeTarget "KiiBall3d" */ = { 401 | isa = XCConfigurationList; 402 | buildConfigurations = ( 403 | D5348570197646170097FF1B /* Debug */, 404 | D5348571197646170097FF1B /* Release */, 405 | ); 406 | defaultConfigurationIsVisible = 0; 407 | }; 408 | D5348572197646170097FF1B /* Build configuration list for PBXNativeTarget "KiiBall3dTests" */ = { 409 | isa = XCConfigurationList; 410 | buildConfigurations = ( 411 | D5348573197646170097FF1B /* Debug */, 412 | D5348574197646170097FF1B /* Release */, 413 | ); 414 | defaultConfigurationIsVisible = 0; 415 | }; 416 | /* End XCConfigurationList section */ 417 | }; 418 | rootObject = D5348547197646170097FF1B /* Project object */; 419 | } 420 | -------------------------------------------------------------------------------- /Hello-PENS/Hello-PENS.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | D5A8311A19D25F9600BB2D00 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D5A8311919D25F9600BB2D00 /* main.m */; }; 11 | D5A8311D19D25F9600BB2D00 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D5A8311C19D25F9600BB2D00 /* AppDelegate.m */; }; 12 | D5A8312019D25F9600BB2D00 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D5A8311F19D25F9600BB2D00 /* ViewController.m */; }; 13 | D5A8312319D25F9600BB2D00 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D5A8312119D25F9600BB2D00 /* Main.storyboard */; }; 14 | D5A8312519D25F9600BB2D00 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D5A8312419D25F9600BB2D00 /* Images.xcassets */; }; 15 | D5A8312819D25F9600BB2D00 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D5A8312619D25F9600BB2D00 /* LaunchScreen.xib */; }; 16 | D5A8313419D25F9600BB2D00 /* Hello_PENSTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D5A8313319D25F9600BB2D00 /* Hello_PENSTests.m */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | D5A8312E19D25F9600BB2D00 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = D5A8310C19D25F9600BB2D00 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = D5A8311319D25F9600BB2D00; 25 | remoteInfo = "Hello-PENS"; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | D5A8311419D25F9600BB2D00 /* Hello-PENS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Hello-PENS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | D5A8311819D25F9600BB2D00 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 32 | D5A8311919D25F9600BB2D00 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 33 | D5A8311B19D25F9600BB2D00 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 34 | D5A8311C19D25F9600BB2D00 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 35 | D5A8311E19D25F9600BB2D00 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 36 | D5A8311F19D25F9600BB2D00 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 37 | D5A8312219D25F9600BB2D00 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 38 | D5A8312419D25F9600BB2D00 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 39 | D5A8312719D25F9600BB2D00 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 40 | D5A8312D19D25F9600BB2D00 /* Hello-PENSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Hello-PENSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | D5A8313219D25F9600BB2D00 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | D5A8313319D25F9600BB2D00 /* Hello_PENSTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Hello_PENSTests.m; sourceTree = ""; }; 43 | /* End PBXFileReference section */ 44 | 45 | /* Begin PBXFrameworksBuildPhase section */ 46 | D5A8311119D25F9600BB2D00 /* Frameworks */ = { 47 | isa = PBXFrameworksBuildPhase; 48 | buildActionMask = 2147483647; 49 | files = ( 50 | ); 51 | runOnlyForDeploymentPostprocessing = 0; 52 | }; 53 | D5A8312A19D25F9600BB2D00 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | ); 58 | runOnlyForDeploymentPostprocessing = 0; 59 | }; 60 | /* End PBXFrameworksBuildPhase section */ 61 | 62 | /* Begin PBXGroup section */ 63 | D5A8310B19D25F9600BB2D00 = { 64 | isa = PBXGroup; 65 | children = ( 66 | D5A8311619D25F9600BB2D00 /* Hello-PENS */, 67 | D5A8313019D25F9600BB2D00 /* Hello-PENSTests */, 68 | D5A8311519D25F9600BB2D00 /* Products */, 69 | ); 70 | sourceTree = ""; 71 | }; 72 | D5A8311519D25F9600BB2D00 /* Products */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | D5A8311419D25F9600BB2D00 /* Hello-PENS.app */, 76 | D5A8312D19D25F9600BB2D00 /* Hello-PENSTests.xctest */, 77 | ); 78 | name = Products; 79 | sourceTree = ""; 80 | }; 81 | D5A8311619D25F9600BB2D00 /* Hello-PENS */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | D5A8311B19D25F9600BB2D00 /* AppDelegate.h */, 85 | D5A8311C19D25F9600BB2D00 /* AppDelegate.m */, 86 | D5A8311E19D25F9600BB2D00 /* ViewController.h */, 87 | D5A8311F19D25F9600BB2D00 /* ViewController.m */, 88 | D5A8312119D25F9600BB2D00 /* Main.storyboard */, 89 | D5A8312419D25F9600BB2D00 /* Images.xcassets */, 90 | D5A8312619D25F9600BB2D00 /* LaunchScreen.xib */, 91 | D5A8311719D25F9600BB2D00 /* Supporting Files */, 92 | ); 93 | path = "Hello-PENS"; 94 | sourceTree = ""; 95 | }; 96 | D5A8311719D25F9600BB2D00 /* Supporting Files */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | D5A8311819D25F9600BB2D00 /* Info.plist */, 100 | D5A8311919D25F9600BB2D00 /* main.m */, 101 | ); 102 | name = "Supporting Files"; 103 | sourceTree = ""; 104 | }; 105 | D5A8313019D25F9600BB2D00 /* Hello-PENSTests */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | D5A8313319D25F9600BB2D00 /* Hello_PENSTests.m */, 109 | D5A8313119D25F9600BB2D00 /* Supporting Files */, 110 | ); 111 | path = "Hello-PENSTests"; 112 | sourceTree = ""; 113 | }; 114 | D5A8313119D25F9600BB2D00 /* Supporting Files */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | D5A8313219D25F9600BB2D00 /* Info.plist */, 118 | ); 119 | name = "Supporting Files"; 120 | sourceTree = ""; 121 | }; 122 | /* End PBXGroup section */ 123 | 124 | /* Begin PBXNativeTarget section */ 125 | D5A8311319D25F9600BB2D00 /* Hello-PENS */ = { 126 | isa = PBXNativeTarget; 127 | buildConfigurationList = D5A8313719D25F9700BB2D00 /* Build configuration list for PBXNativeTarget "Hello-PENS" */; 128 | buildPhases = ( 129 | D5A8311019D25F9600BB2D00 /* Sources */, 130 | D5A8311119D25F9600BB2D00 /* Frameworks */, 131 | D5A8311219D25F9600BB2D00 /* Resources */, 132 | ); 133 | buildRules = ( 134 | ); 135 | dependencies = ( 136 | ); 137 | name = "Hello-PENS"; 138 | productName = "Hello-PENS"; 139 | productReference = D5A8311419D25F9600BB2D00 /* Hello-PENS.app */; 140 | productType = "com.apple.product-type.application"; 141 | }; 142 | D5A8312C19D25F9600BB2D00 /* Hello-PENSTests */ = { 143 | isa = PBXNativeTarget; 144 | buildConfigurationList = D5A8313A19D25F9700BB2D00 /* Build configuration list for PBXNativeTarget "Hello-PENSTests" */; 145 | buildPhases = ( 146 | D5A8312919D25F9600BB2D00 /* Sources */, 147 | D5A8312A19D25F9600BB2D00 /* Frameworks */, 148 | D5A8312B19D25F9600BB2D00 /* Resources */, 149 | ); 150 | buildRules = ( 151 | ); 152 | dependencies = ( 153 | D5A8312F19D25F9600BB2D00 /* PBXTargetDependency */, 154 | ); 155 | name = "Hello-PENSTests"; 156 | productName = "Hello-PENSTests"; 157 | productReference = D5A8312D19D25F9600BB2D00 /* Hello-PENSTests.xctest */; 158 | productType = "com.apple.product-type.bundle.unit-test"; 159 | }; 160 | /* End PBXNativeTarget section */ 161 | 162 | /* Begin PBXProject section */ 163 | D5A8310C19D25F9600BB2D00 /* Project object */ = { 164 | isa = PBXProject; 165 | attributes = { 166 | LastUpgradeCheck = 0600; 167 | ORGANIZATIONNAME = Eyro; 168 | TargetAttributes = { 169 | D5A8311319D25F9600BB2D00 = { 170 | CreatedOnToolsVersion = 6.0; 171 | }; 172 | D5A8312C19D25F9600BB2D00 = { 173 | CreatedOnToolsVersion = 6.0; 174 | TestTargetID = D5A8311319D25F9600BB2D00; 175 | }; 176 | }; 177 | }; 178 | buildConfigurationList = D5A8310F19D25F9600BB2D00 /* Build configuration list for PBXProject "Hello-PENS" */; 179 | compatibilityVersion = "Xcode 3.2"; 180 | developmentRegion = English; 181 | hasScannedForEncodings = 0; 182 | knownRegions = ( 183 | en, 184 | Base, 185 | ); 186 | mainGroup = D5A8310B19D25F9600BB2D00; 187 | productRefGroup = D5A8311519D25F9600BB2D00 /* Products */; 188 | projectDirPath = ""; 189 | projectRoot = ""; 190 | targets = ( 191 | D5A8311319D25F9600BB2D00 /* Hello-PENS */, 192 | D5A8312C19D25F9600BB2D00 /* Hello-PENSTests */, 193 | ); 194 | }; 195 | /* End PBXProject section */ 196 | 197 | /* Begin PBXResourcesBuildPhase section */ 198 | D5A8311219D25F9600BB2D00 /* Resources */ = { 199 | isa = PBXResourcesBuildPhase; 200 | buildActionMask = 2147483647; 201 | files = ( 202 | D5A8312319D25F9600BB2D00 /* Main.storyboard in Resources */, 203 | D5A8312819D25F9600BB2D00 /* LaunchScreen.xib in Resources */, 204 | D5A8312519D25F9600BB2D00 /* Images.xcassets in Resources */, 205 | ); 206 | runOnlyForDeploymentPostprocessing = 0; 207 | }; 208 | D5A8312B19D25F9600BB2D00 /* Resources */ = { 209 | isa = PBXResourcesBuildPhase; 210 | buildActionMask = 2147483647; 211 | files = ( 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | }; 215 | /* End PBXResourcesBuildPhase section */ 216 | 217 | /* Begin PBXSourcesBuildPhase section */ 218 | D5A8311019D25F9600BB2D00 /* Sources */ = { 219 | isa = PBXSourcesBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | D5A8312019D25F9600BB2D00 /* ViewController.m in Sources */, 223 | D5A8311D19D25F9600BB2D00 /* AppDelegate.m in Sources */, 224 | D5A8311A19D25F9600BB2D00 /* main.m in Sources */, 225 | ); 226 | runOnlyForDeploymentPostprocessing = 0; 227 | }; 228 | D5A8312919D25F9600BB2D00 /* Sources */ = { 229 | isa = PBXSourcesBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | D5A8313419D25F9600BB2D00 /* Hello_PENSTests.m in Sources */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | /* End PBXSourcesBuildPhase section */ 237 | 238 | /* Begin PBXTargetDependency section */ 239 | D5A8312F19D25F9600BB2D00 /* PBXTargetDependency */ = { 240 | isa = PBXTargetDependency; 241 | target = D5A8311319D25F9600BB2D00 /* Hello-PENS */; 242 | targetProxy = D5A8312E19D25F9600BB2D00 /* PBXContainerItemProxy */; 243 | }; 244 | /* End PBXTargetDependency section */ 245 | 246 | /* Begin PBXVariantGroup section */ 247 | D5A8312119D25F9600BB2D00 /* Main.storyboard */ = { 248 | isa = PBXVariantGroup; 249 | children = ( 250 | D5A8312219D25F9600BB2D00 /* Base */, 251 | ); 252 | name = Main.storyboard; 253 | sourceTree = ""; 254 | }; 255 | D5A8312619D25F9600BB2D00 /* LaunchScreen.xib */ = { 256 | isa = PBXVariantGroup; 257 | children = ( 258 | D5A8312719D25F9600BB2D00 /* Base */, 259 | ); 260 | name = LaunchScreen.xib; 261 | sourceTree = ""; 262 | }; 263 | /* End PBXVariantGroup section */ 264 | 265 | /* Begin XCBuildConfiguration section */ 266 | D5A8313519D25F9600BB2D00 /* Debug */ = { 267 | isa = XCBuildConfiguration; 268 | buildSettings = { 269 | ALWAYS_SEARCH_USER_PATHS = NO; 270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 271 | CLANG_CXX_LIBRARY = "libc++"; 272 | CLANG_ENABLE_MODULES = YES; 273 | CLANG_ENABLE_OBJC_ARC = YES; 274 | CLANG_WARN_BOOL_CONVERSION = YES; 275 | CLANG_WARN_CONSTANT_CONVERSION = YES; 276 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 277 | CLANG_WARN_EMPTY_BODY = YES; 278 | CLANG_WARN_ENUM_CONVERSION = YES; 279 | CLANG_WARN_INT_CONVERSION = YES; 280 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 281 | CLANG_WARN_UNREACHABLE_CODE = YES; 282 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 283 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 284 | COPY_PHASE_STRIP = NO; 285 | ENABLE_STRICT_OBJC_MSGSEND = YES; 286 | GCC_C_LANGUAGE_STANDARD = gnu99; 287 | GCC_DYNAMIC_NO_PIC = NO; 288 | GCC_OPTIMIZATION_LEVEL = 0; 289 | GCC_PREPROCESSOR_DEFINITIONS = ( 290 | "DEBUG=1", 291 | "$(inherited)", 292 | ); 293 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 294 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 295 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 296 | GCC_WARN_UNDECLARED_SELECTOR = YES; 297 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 298 | GCC_WARN_UNUSED_FUNCTION = YES; 299 | GCC_WARN_UNUSED_VARIABLE = YES; 300 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 301 | MTL_ENABLE_DEBUG_INFO = YES; 302 | ONLY_ACTIVE_ARCH = YES; 303 | SDKROOT = iphoneos; 304 | }; 305 | name = Debug; 306 | }; 307 | D5A8313619D25F9700BB2D00 /* Release */ = { 308 | isa = XCBuildConfiguration; 309 | buildSettings = { 310 | ALWAYS_SEARCH_USER_PATHS = NO; 311 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 312 | CLANG_CXX_LIBRARY = "libc++"; 313 | CLANG_ENABLE_MODULES = YES; 314 | CLANG_ENABLE_OBJC_ARC = YES; 315 | CLANG_WARN_BOOL_CONVERSION = YES; 316 | CLANG_WARN_CONSTANT_CONVERSION = YES; 317 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 318 | CLANG_WARN_EMPTY_BODY = YES; 319 | CLANG_WARN_ENUM_CONVERSION = YES; 320 | CLANG_WARN_INT_CONVERSION = YES; 321 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 322 | CLANG_WARN_UNREACHABLE_CODE = YES; 323 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 324 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 325 | COPY_PHASE_STRIP = YES; 326 | ENABLE_NS_ASSERTIONS = NO; 327 | ENABLE_STRICT_OBJC_MSGSEND = YES; 328 | GCC_C_LANGUAGE_STANDARD = gnu99; 329 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 330 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 331 | GCC_WARN_UNDECLARED_SELECTOR = YES; 332 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 333 | GCC_WARN_UNUSED_FUNCTION = YES; 334 | GCC_WARN_UNUSED_VARIABLE = YES; 335 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 336 | MTL_ENABLE_DEBUG_INFO = NO; 337 | SDKROOT = iphoneos; 338 | VALIDATE_PRODUCT = YES; 339 | }; 340 | name = Release; 341 | }; 342 | D5A8313819D25F9700BB2D00 /* Debug */ = { 343 | isa = XCBuildConfiguration; 344 | buildSettings = { 345 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 346 | INFOPLIST_FILE = "Hello-PENS/Info.plist"; 347 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 348 | PRODUCT_NAME = "$(TARGET_NAME)"; 349 | }; 350 | name = Debug; 351 | }; 352 | D5A8313919D25F9700BB2D00 /* Release */ = { 353 | isa = XCBuildConfiguration; 354 | buildSettings = { 355 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 356 | INFOPLIST_FILE = "Hello-PENS/Info.plist"; 357 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 358 | PRODUCT_NAME = "$(TARGET_NAME)"; 359 | }; 360 | name = Release; 361 | }; 362 | D5A8313B19D25F9700BB2D00 /* Debug */ = { 363 | isa = XCBuildConfiguration; 364 | buildSettings = { 365 | BUNDLE_LOADER = "$(TEST_HOST)"; 366 | FRAMEWORK_SEARCH_PATHS = ( 367 | "$(SDKROOT)/Developer/Library/Frameworks", 368 | "$(inherited)", 369 | ); 370 | GCC_PREPROCESSOR_DEFINITIONS = ( 371 | "DEBUG=1", 372 | "$(inherited)", 373 | ); 374 | INFOPLIST_FILE = "Hello-PENSTests/Info.plist"; 375 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 376 | PRODUCT_NAME = "$(TARGET_NAME)"; 377 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Hello-PENS.app/Hello-PENS"; 378 | }; 379 | name = Debug; 380 | }; 381 | D5A8313C19D25F9700BB2D00 /* Release */ = { 382 | isa = XCBuildConfiguration; 383 | buildSettings = { 384 | BUNDLE_LOADER = "$(TEST_HOST)"; 385 | FRAMEWORK_SEARCH_PATHS = ( 386 | "$(SDKROOT)/Developer/Library/Frameworks", 387 | "$(inherited)", 388 | ); 389 | INFOPLIST_FILE = "Hello-PENSTests/Info.plist"; 390 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 391 | PRODUCT_NAME = "$(TARGET_NAME)"; 392 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Hello-PENS.app/Hello-PENS"; 393 | }; 394 | name = Release; 395 | }; 396 | /* End XCBuildConfiguration section */ 397 | 398 | /* Begin XCConfigurationList section */ 399 | D5A8310F19D25F9600BB2D00 /* Build configuration list for PBXProject "Hello-PENS" */ = { 400 | isa = XCConfigurationList; 401 | buildConfigurations = ( 402 | D5A8313519D25F9600BB2D00 /* Debug */, 403 | D5A8313619D25F9700BB2D00 /* Release */, 404 | ); 405 | defaultConfigurationIsVisible = 0; 406 | defaultConfigurationName = Release; 407 | }; 408 | D5A8313719D25F9700BB2D00 /* Build configuration list for PBXNativeTarget "Hello-PENS" */ = { 409 | isa = XCConfigurationList; 410 | buildConfigurations = ( 411 | D5A8313819D25F9700BB2D00 /* Debug */, 412 | D5A8313919D25F9700BB2D00 /* Release */, 413 | ); 414 | defaultConfigurationIsVisible = 0; 415 | }; 416 | D5A8313A19D25F9700BB2D00 /* Build configuration list for PBXNativeTarget "Hello-PENSTests" */ = { 417 | isa = XCConfigurationList; 418 | buildConfigurations = ( 419 | D5A8313B19D25F9700BB2D00 /* Debug */, 420 | D5A8313C19D25F9700BB2D00 /* Release */, 421 | ); 422 | defaultConfigurationIsVisible = 0; 423 | }; 424 | /* End XCConfigurationList section */ 425 | }; 426 | rootObject = D5A8310C19D25F9600BB2D00 /* Project object */; 427 | } 428 | -------------------------------------------------------------------------------- /iBeaconScanner/iBeaconScanner-iOS.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 52D20B2D18CE6AFF00017CE2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D20B2C18CE6AFF00017CE2 /* Foundation.framework */; }; 11 | 52D20B2F18CE6AFF00017CE2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D20B2E18CE6AFF00017CE2 /* CoreGraphics.framework */; }; 12 | 52D20B3118CE6AFF00017CE2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D20B3018CE6AFF00017CE2 /* UIKit.framework */; }; 13 | 52D20B3718CE6AFF00017CE2 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 52D20B3518CE6AFF00017CE2 /* InfoPlist.strings */; }; 14 | 52D20B3918CE6AFF00017CE2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 52D20B3818CE6AFF00017CE2 /* main.m */; }; 15 | 52D20B3D18CE6AFF00017CE2 /* IBSAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 52D20B3C18CE6AFF00017CE2 /* IBSAppDelegate.m */; }; 16 | 52D20B3F18CE6AFF00017CE2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 52D20B3E18CE6AFF00017CE2 /* Images.xcassets */; }; 17 | 52D20B4618CE6AFF00017CE2 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D20B4518CE6AFF00017CE2 /* XCTest.framework */; }; 18 | 52D20B4718CE6AFF00017CE2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D20B2C18CE6AFF00017CE2 /* Foundation.framework */; }; 19 | 52D20B4818CE6AFF00017CE2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D20B3018CE6AFF00017CE2 /* UIKit.framework */; }; 20 | 52D20B5018CE6AFF00017CE2 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 52D20B4E18CE6AFF00017CE2 /* InfoPlist.strings */; }; 21 | 52D20B5218CE6AFF00017CE2 /* iBeaconScanner_iOSTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 52D20B5118CE6AFF00017CE2 /* iBeaconScanner_iOSTests.m */; }; 22 | 52D20B5C18CE6B9200017CE2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 52D20B5B18CE6B9200017CE2 /* Main.storyboard */; }; 23 | 52D20B5F18CE6C3A00017CE2 /* IBSBeaconsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 52D20B5E18CE6C3A00017CE2 /* IBSBeaconsViewController.m */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 52D20B4918CE6AFF00017CE2 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 52D20B2118CE6AFF00017CE2 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 52D20B2818CE6AFF00017CE2; 32 | remoteInfo = "iBeaconScanner-iOS"; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 52D20B2918CE6AFF00017CE2 /* iBeaconScanner-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iBeaconScanner-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 52D20B2C18CE6AFF00017CE2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 39 | 52D20B2E18CE6AFF00017CE2 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 40 | 52D20B3018CE6AFF00017CE2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 41 | 52D20B3418CE6AFF00017CE2 /* iBeaconScanner-iOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iBeaconScanner-iOS-Info.plist"; sourceTree = ""; }; 42 | 52D20B3618CE6AFF00017CE2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 43 | 52D20B3818CE6AFF00017CE2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 44 | 52D20B3A18CE6AFF00017CE2 /* iBeaconScanner-iOS-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iBeaconScanner-iOS-Prefix.pch"; sourceTree = ""; }; 45 | 52D20B3B18CE6AFF00017CE2 /* IBSAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IBSAppDelegate.h; sourceTree = ""; }; 46 | 52D20B3C18CE6AFF00017CE2 /* IBSAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = IBSAppDelegate.m; sourceTree = ""; }; 47 | 52D20B3E18CE6AFF00017CE2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 48 | 52D20B4418CE6AFF00017CE2 /* iBeaconScanner-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iBeaconScanner-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 52D20B4518CE6AFF00017CE2 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 50 | 52D20B4D18CE6AFF00017CE2 /* iBeaconScanner-iOSTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iBeaconScanner-iOSTests-Info.plist"; sourceTree = ""; }; 51 | 52D20B4F18CE6AFF00017CE2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 52 | 52D20B5118CE6AFF00017CE2 /* iBeaconScanner_iOSTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iBeaconScanner_iOSTests.m; sourceTree = ""; }; 53 | 52D20B5B18CE6B9200017CE2 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 54 | 52D20B5D18CE6C3A00017CE2 /* IBSBeaconsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IBSBeaconsViewController.h; sourceTree = ""; }; 55 | 52D20B5E18CE6C3A00017CE2 /* IBSBeaconsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IBSBeaconsViewController.m; sourceTree = ""; }; 56 | /* End PBXFileReference section */ 57 | 58 | /* Begin PBXFrameworksBuildPhase section */ 59 | 52D20B2618CE6AFF00017CE2 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 52D20B2F18CE6AFF00017CE2 /* CoreGraphics.framework in Frameworks */, 64 | 52D20B3118CE6AFF00017CE2 /* UIKit.framework in Frameworks */, 65 | 52D20B2D18CE6AFF00017CE2 /* Foundation.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | 52D20B4118CE6AFF00017CE2 /* Frameworks */ = { 70 | isa = PBXFrameworksBuildPhase; 71 | buildActionMask = 2147483647; 72 | files = ( 73 | 52D20B4618CE6AFF00017CE2 /* XCTest.framework in Frameworks */, 74 | 52D20B4818CE6AFF00017CE2 /* UIKit.framework in Frameworks */, 75 | 52D20B4718CE6AFF00017CE2 /* Foundation.framework in Frameworks */, 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | /* End PBXFrameworksBuildPhase section */ 80 | 81 | /* Begin PBXGroup section */ 82 | 52D20B2018CE6AFF00017CE2 = { 83 | isa = PBXGroup; 84 | children = ( 85 | 52D20B3218CE6AFF00017CE2 /* iBeaconScanner-iOS */, 86 | 52D20B4B18CE6AFF00017CE2 /* iBeaconScanner-iOSTests */, 87 | 52D20B2B18CE6AFF00017CE2 /* Frameworks */, 88 | 52D20B2A18CE6AFF00017CE2 /* Products */, 89 | ); 90 | sourceTree = ""; 91 | }; 92 | 52D20B2A18CE6AFF00017CE2 /* Products */ = { 93 | isa = PBXGroup; 94 | children = ( 95 | 52D20B2918CE6AFF00017CE2 /* iBeaconScanner-iOS.app */, 96 | 52D20B4418CE6AFF00017CE2 /* iBeaconScanner-iOSTests.xctest */, 97 | ); 98 | name = Products; 99 | sourceTree = ""; 100 | }; 101 | 52D20B2B18CE6AFF00017CE2 /* Frameworks */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 52D20B2C18CE6AFF00017CE2 /* Foundation.framework */, 105 | 52D20B2E18CE6AFF00017CE2 /* CoreGraphics.framework */, 106 | 52D20B3018CE6AFF00017CE2 /* UIKit.framework */, 107 | 52D20B4518CE6AFF00017CE2 /* XCTest.framework */, 108 | ); 109 | name = Frameworks; 110 | sourceTree = ""; 111 | }; 112 | 52D20B3218CE6AFF00017CE2 /* iBeaconScanner-iOS */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | 52D20B3B18CE6AFF00017CE2 /* IBSAppDelegate.h */, 116 | 52D20B3C18CE6AFF00017CE2 /* IBSAppDelegate.m */, 117 | 52D20B5D18CE6C3A00017CE2 /* IBSBeaconsViewController.h */, 118 | 52D20B5E18CE6C3A00017CE2 /* IBSBeaconsViewController.m */, 119 | 52D20B5B18CE6B9200017CE2 /* Main.storyboard */, 120 | 52D20B3E18CE6AFF00017CE2 /* Images.xcassets */, 121 | 52D20B3318CE6AFF00017CE2 /* Supporting Files */, 122 | ); 123 | path = "iBeaconScanner-iOS"; 124 | sourceTree = ""; 125 | }; 126 | 52D20B3318CE6AFF00017CE2 /* Supporting Files */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 52D20B3418CE6AFF00017CE2 /* iBeaconScanner-iOS-Info.plist */, 130 | 52D20B3518CE6AFF00017CE2 /* InfoPlist.strings */, 131 | 52D20B3818CE6AFF00017CE2 /* main.m */, 132 | 52D20B3A18CE6AFF00017CE2 /* iBeaconScanner-iOS-Prefix.pch */, 133 | ); 134 | name = "Supporting Files"; 135 | sourceTree = ""; 136 | }; 137 | 52D20B4B18CE6AFF00017CE2 /* iBeaconScanner-iOSTests */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | 52D20B5118CE6AFF00017CE2 /* iBeaconScanner_iOSTests.m */, 141 | 52D20B4C18CE6AFF00017CE2 /* Supporting Files */, 142 | ); 143 | path = "iBeaconScanner-iOSTests"; 144 | sourceTree = ""; 145 | }; 146 | 52D20B4C18CE6AFF00017CE2 /* Supporting Files */ = { 147 | isa = PBXGroup; 148 | children = ( 149 | 52D20B4D18CE6AFF00017CE2 /* iBeaconScanner-iOSTests-Info.plist */, 150 | 52D20B4E18CE6AFF00017CE2 /* InfoPlist.strings */, 151 | ); 152 | name = "Supporting Files"; 153 | sourceTree = ""; 154 | }; 155 | /* End PBXGroup section */ 156 | 157 | /* Begin PBXNativeTarget section */ 158 | 52D20B2818CE6AFF00017CE2 /* iBeaconScanner-iOS */ = { 159 | isa = PBXNativeTarget; 160 | buildConfigurationList = 52D20B5518CE6AFF00017CE2 /* Build configuration list for PBXNativeTarget "iBeaconScanner-iOS" */; 161 | buildPhases = ( 162 | 52D20B2518CE6AFF00017CE2 /* Sources */, 163 | 52D20B2618CE6AFF00017CE2 /* Frameworks */, 164 | 52D20B2718CE6AFF00017CE2 /* Resources */, 165 | ); 166 | buildRules = ( 167 | ); 168 | dependencies = ( 169 | ); 170 | name = "iBeaconScanner-iOS"; 171 | productName = "iBeaconScanner-iOS"; 172 | productReference = 52D20B2918CE6AFF00017CE2 /* iBeaconScanner-iOS.app */; 173 | productType = "com.apple.product-type.application"; 174 | }; 175 | 52D20B4318CE6AFF00017CE2 /* iBeaconScanner-iOSTests */ = { 176 | isa = PBXNativeTarget; 177 | buildConfigurationList = 52D20B5818CE6AFF00017CE2 /* Build configuration list for PBXNativeTarget "iBeaconScanner-iOSTests" */; 178 | buildPhases = ( 179 | 52D20B4018CE6AFF00017CE2 /* Sources */, 180 | 52D20B4118CE6AFF00017CE2 /* Frameworks */, 181 | 52D20B4218CE6AFF00017CE2 /* Resources */, 182 | ); 183 | buildRules = ( 184 | ); 185 | dependencies = ( 186 | 52D20B4A18CE6AFF00017CE2 /* PBXTargetDependency */, 187 | ); 188 | name = "iBeaconScanner-iOSTests"; 189 | productName = "iBeaconScanner-iOSTests"; 190 | productReference = 52D20B4418CE6AFF00017CE2 /* iBeaconScanner-iOSTests.xctest */; 191 | productType = "com.apple.product-type.bundle.unit-test"; 192 | }; 193 | /* End PBXNativeTarget section */ 194 | 195 | /* Begin PBXProject section */ 196 | 52D20B2118CE6AFF00017CE2 /* Project object */ = { 197 | isa = PBXProject; 198 | attributes = { 199 | CLASSPREFIX = IBS; 200 | LastUpgradeCheck = 0510; 201 | ORGANIZATIONNAME = "Tim Kersey"; 202 | TargetAttributes = { 203 | 52D20B4318CE6AFF00017CE2 = { 204 | TestTargetID = 52D20B2818CE6AFF00017CE2; 205 | }; 206 | }; 207 | }; 208 | buildConfigurationList = 52D20B2418CE6AFF00017CE2 /* Build configuration list for PBXProject "iBeaconScanner-iOS" */; 209 | compatibilityVersion = "Xcode 3.2"; 210 | developmentRegion = English; 211 | hasScannedForEncodings = 0; 212 | knownRegions = ( 213 | en, 214 | ); 215 | mainGroup = 52D20B2018CE6AFF00017CE2; 216 | productRefGroup = 52D20B2A18CE6AFF00017CE2 /* Products */; 217 | projectDirPath = ""; 218 | projectRoot = ""; 219 | targets = ( 220 | 52D20B2818CE6AFF00017CE2 /* iBeaconScanner-iOS */, 221 | 52D20B4318CE6AFF00017CE2 /* iBeaconScanner-iOSTests */, 222 | ); 223 | }; 224 | /* End PBXProject section */ 225 | 226 | /* Begin PBXResourcesBuildPhase section */ 227 | 52D20B2718CE6AFF00017CE2 /* Resources */ = { 228 | isa = PBXResourcesBuildPhase; 229 | buildActionMask = 2147483647; 230 | files = ( 231 | 52D20B5C18CE6B9200017CE2 /* Main.storyboard in Resources */, 232 | 52D20B3718CE6AFF00017CE2 /* InfoPlist.strings in Resources */, 233 | 52D20B3F18CE6AFF00017CE2 /* Images.xcassets in Resources */, 234 | ); 235 | runOnlyForDeploymentPostprocessing = 0; 236 | }; 237 | 52D20B4218CE6AFF00017CE2 /* Resources */ = { 238 | isa = PBXResourcesBuildPhase; 239 | buildActionMask = 2147483647; 240 | files = ( 241 | 52D20B5018CE6AFF00017CE2 /* InfoPlist.strings in Resources */, 242 | ); 243 | runOnlyForDeploymentPostprocessing = 0; 244 | }; 245 | /* End PBXResourcesBuildPhase section */ 246 | 247 | /* Begin PBXSourcesBuildPhase section */ 248 | 52D20B2518CE6AFF00017CE2 /* Sources */ = { 249 | isa = PBXSourcesBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | 52D20B5F18CE6C3A00017CE2 /* IBSBeaconsViewController.m in Sources */, 253 | 52D20B3918CE6AFF00017CE2 /* main.m in Sources */, 254 | 52D20B3D18CE6AFF00017CE2 /* IBSAppDelegate.m in Sources */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | 52D20B4018CE6AFF00017CE2 /* Sources */ = { 259 | isa = PBXSourcesBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | 52D20B5218CE6AFF00017CE2 /* iBeaconScanner_iOSTests.m in Sources */, 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXSourcesBuildPhase section */ 267 | 268 | /* Begin PBXTargetDependency section */ 269 | 52D20B4A18CE6AFF00017CE2 /* PBXTargetDependency */ = { 270 | isa = PBXTargetDependency; 271 | target = 52D20B2818CE6AFF00017CE2 /* iBeaconScanner-iOS */; 272 | targetProxy = 52D20B4918CE6AFF00017CE2 /* PBXContainerItemProxy */; 273 | }; 274 | /* End PBXTargetDependency section */ 275 | 276 | /* Begin PBXVariantGroup section */ 277 | 52D20B3518CE6AFF00017CE2 /* InfoPlist.strings */ = { 278 | isa = PBXVariantGroup; 279 | children = ( 280 | 52D20B3618CE6AFF00017CE2 /* en */, 281 | ); 282 | name = InfoPlist.strings; 283 | sourceTree = ""; 284 | }; 285 | 52D20B4E18CE6AFF00017CE2 /* InfoPlist.strings */ = { 286 | isa = PBXVariantGroup; 287 | children = ( 288 | 52D20B4F18CE6AFF00017CE2 /* en */, 289 | ); 290 | name = InfoPlist.strings; 291 | sourceTree = ""; 292 | }; 293 | /* End PBXVariantGroup section */ 294 | 295 | /* Begin XCBuildConfiguration section */ 296 | 52D20B5318CE6AFF00017CE2 /* Debug */ = { 297 | isa = XCBuildConfiguration; 298 | buildSettings = { 299 | ALWAYS_SEARCH_USER_PATHS = NO; 300 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 301 | CLANG_CXX_LIBRARY = "libc++"; 302 | CLANG_ENABLE_MODULES = YES; 303 | CLANG_ENABLE_OBJC_ARC = YES; 304 | CLANG_WARN_BOOL_CONVERSION = YES; 305 | CLANG_WARN_CONSTANT_CONVERSION = YES; 306 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 307 | CLANG_WARN_EMPTY_BODY = YES; 308 | CLANG_WARN_ENUM_CONVERSION = YES; 309 | CLANG_WARN_INT_CONVERSION = YES; 310 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 311 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 312 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 313 | COPY_PHASE_STRIP = NO; 314 | GCC_C_LANGUAGE_STANDARD = gnu99; 315 | GCC_DYNAMIC_NO_PIC = NO; 316 | GCC_OPTIMIZATION_LEVEL = 0; 317 | GCC_PREPROCESSOR_DEFINITIONS = ( 318 | "DEBUG=1", 319 | "$(inherited)", 320 | ); 321 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 322 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 323 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 324 | GCC_WARN_UNDECLARED_SELECTOR = YES; 325 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 326 | GCC_WARN_UNUSED_FUNCTION = YES; 327 | GCC_WARN_UNUSED_VARIABLE = YES; 328 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 329 | ONLY_ACTIVE_ARCH = YES; 330 | SDKROOT = iphoneos; 331 | }; 332 | name = Debug; 333 | }; 334 | 52D20B5418CE6AFF00017CE2 /* Release */ = { 335 | isa = XCBuildConfiguration; 336 | buildSettings = { 337 | ALWAYS_SEARCH_USER_PATHS = NO; 338 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 339 | CLANG_CXX_LIBRARY = "libc++"; 340 | CLANG_ENABLE_MODULES = YES; 341 | CLANG_ENABLE_OBJC_ARC = YES; 342 | CLANG_WARN_BOOL_CONVERSION = YES; 343 | CLANG_WARN_CONSTANT_CONVERSION = YES; 344 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 345 | CLANG_WARN_EMPTY_BODY = YES; 346 | CLANG_WARN_ENUM_CONVERSION = YES; 347 | CLANG_WARN_INT_CONVERSION = YES; 348 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 349 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 350 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 351 | COPY_PHASE_STRIP = YES; 352 | ENABLE_NS_ASSERTIONS = NO; 353 | GCC_C_LANGUAGE_STANDARD = gnu99; 354 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 355 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 356 | GCC_WARN_UNDECLARED_SELECTOR = YES; 357 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 358 | GCC_WARN_UNUSED_FUNCTION = YES; 359 | GCC_WARN_UNUSED_VARIABLE = YES; 360 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 361 | SDKROOT = iphoneos; 362 | VALIDATE_PRODUCT = YES; 363 | }; 364 | name = Release; 365 | }; 366 | 52D20B5618CE6AFF00017CE2 /* Debug */ = { 367 | isa = XCBuildConfiguration; 368 | buildSettings = { 369 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 370 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 371 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 372 | GCC_PREFIX_HEADER = "iBeaconScanner-iOS/iBeaconScanner-iOS-Prefix.pch"; 373 | INFOPLIST_FILE = "iBeaconScanner-iOS/iBeaconScanner-iOS-Info.plist"; 374 | PRODUCT_NAME = "$(TARGET_NAME)"; 375 | WRAPPER_EXTENSION = app; 376 | }; 377 | name = Debug; 378 | }; 379 | 52D20B5718CE6AFF00017CE2 /* Release */ = { 380 | isa = XCBuildConfiguration; 381 | buildSettings = { 382 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 383 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 384 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 385 | GCC_PREFIX_HEADER = "iBeaconScanner-iOS/iBeaconScanner-iOS-Prefix.pch"; 386 | INFOPLIST_FILE = "iBeaconScanner-iOS/iBeaconScanner-iOS-Info.plist"; 387 | PRODUCT_NAME = "$(TARGET_NAME)"; 388 | WRAPPER_EXTENSION = app; 389 | }; 390 | name = Release; 391 | }; 392 | 52D20B5918CE6AFF00017CE2 /* Debug */ = { 393 | isa = XCBuildConfiguration; 394 | buildSettings = { 395 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iBeaconScanner-iOS.app/iBeaconScanner-iOS"; 396 | FRAMEWORK_SEARCH_PATHS = ( 397 | "$(SDKROOT)/Developer/Library/Frameworks", 398 | "$(inherited)", 399 | "$(DEVELOPER_FRAMEWORKS_DIR)", 400 | ); 401 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 402 | GCC_PREFIX_HEADER = "iBeaconScanner-iOS/iBeaconScanner-iOS-Prefix.pch"; 403 | GCC_PREPROCESSOR_DEFINITIONS = ( 404 | "DEBUG=1", 405 | "$(inherited)", 406 | ); 407 | INFOPLIST_FILE = "iBeaconScanner-iOSTests/iBeaconScanner-iOSTests-Info.plist"; 408 | PRODUCT_NAME = "$(TARGET_NAME)"; 409 | TEST_HOST = "$(BUNDLE_LOADER)"; 410 | WRAPPER_EXTENSION = xctest; 411 | }; 412 | name = Debug; 413 | }; 414 | 52D20B5A18CE6AFF00017CE2 /* Release */ = { 415 | isa = XCBuildConfiguration; 416 | buildSettings = { 417 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iBeaconScanner-iOS.app/iBeaconScanner-iOS"; 418 | FRAMEWORK_SEARCH_PATHS = ( 419 | "$(SDKROOT)/Developer/Library/Frameworks", 420 | "$(inherited)", 421 | "$(DEVELOPER_FRAMEWORKS_DIR)", 422 | ); 423 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 424 | GCC_PREFIX_HEADER = "iBeaconScanner-iOS/iBeaconScanner-iOS-Prefix.pch"; 425 | INFOPLIST_FILE = "iBeaconScanner-iOSTests/iBeaconScanner-iOSTests-Info.plist"; 426 | PRODUCT_NAME = "$(TARGET_NAME)"; 427 | TEST_HOST = "$(BUNDLE_LOADER)"; 428 | WRAPPER_EXTENSION = xctest; 429 | }; 430 | name = Release; 431 | }; 432 | /* End XCBuildConfiguration section */ 433 | 434 | /* Begin XCConfigurationList section */ 435 | 52D20B2418CE6AFF00017CE2 /* Build configuration list for PBXProject "iBeaconScanner-iOS" */ = { 436 | isa = XCConfigurationList; 437 | buildConfigurations = ( 438 | 52D20B5318CE6AFF00017CE2 /* Debug */, 439 | 52D20B5418CE6AFF00017CE2 /* Release */, 440 | ); 441 | defaultConfigurationIsVisible = 0; 442 | defaultConfigurationName = Release; 443 | }; 444 | 52D20B5518CE6AFF00017CE2 /* Build configuration list for PBXNativeTarget "iBeaconScanner-iOS" */ = { 445 | isa = XCConfigurationList; 446 | buildConfigurations = ( 447 | 52D20B5618CE6AFF00017CE2 /* Debug */, 448 | 52D20B5718CE6AFF00017CE2 /* Release */, 449 | ); 450 | defaultConfigurationIsVisible = 0; 451 | defaultConfigurationName = Release; 452 | }; 453 | 52D20B5818CE6AFF00017CE2 /* Build configuration list for PBXNativeTarget "iBeaconScanner-iOSTests" */ = { 454 | isa = XCConfigurationList; 455 | buildConfigurations = ( 456 | 52D20B5918CE6AFF00017CE2 /* Debug */, 457 | 52D20B5A18CE6AFF00017CE2 /* Release */, 458 | ); 459 | defaultConfigurationIsVisible = 0; 460 | defaultConfigurationName = Release; 461 | }; 462 | /* End XCConfigurationList section */ 463 | }; 464 | rootObject = 52D20B2118CE6AFF00017CE2 /* Project object */; 465 | } 466 | --------------------------------------------------------------------------------