├── README.md ├── HBProgressHUD ├── Images.xcassets │ ├── Icons.imageset │ │ ├── first.pdf │ │ └── Contents.json │ ├── second.imageset │ │ ├── second.pdf │ │ └── Contents.json │ ├── Icons │ │ ├── linux.imageset │ │ │ ├── linux.png │ │ │ ├── linux@2x.png │ │ │ ├── linux@3x.png │ │ │ └── Contents.json │ │ ├── yahoo.imageset │ │ │ ├── yahoo.png │ │ │ ├── yahoo@2x.png │ │ │ ├── yahoo@3x.png │ │ │ └── Contents.json │ │ ├── android.imageset │ │ │ ├── android.png │ │ │ ├── android@2x.png │ │ │ ├── android@3x.png │ │ │ └── Contents.json │ │ ├── twitte.imageset │ │ │ ├── twitte.png │ │ │ ├── twitte@2x.png │ │ │ ├── twitte@3x.png │ │ │ └── Contents.json │ │ ├── twitter.imageset │ │ │ ├── twitter.png │ │ │ ├── twitter@2x.png │ │ │ ├── twitter@3x.png │ │ │ └── Contents.json │ │ ├── windows.imageset │ │ │ ├── windows.png │ │ │ ├── windows@2x.png │ │ │ ├── windows@3x.png │ │ │ └── Contents.json │ │ ├── facebook.imageset │ │ │ ├── facebook.png │ │ │ ├── facebook@2x.png │ │ │ ├── facebook@3x.png │ │ │ └── Contents.json │ │ ├── linkedin.imageset │ │ │ ├── linkedin.png │ │ │ ├── linkedin@2x.png │ │ │ ├── linkedin@3x.png │ │ │ └── Contents.json │ │ ├── blackberry.imageset │ │ │ ├── blackberry.png │ │ │ ├── blackberry@2x.png │ │ │ ├── blackberry@3x.png │ │ │ └── Contents.json │ │ └── googlePlus.imageset │ │ │ ├── googlePlus.png │ │ │ ├── googlePlus@2x.png │ │ │ ├── googlePlus@3x.png │ │ │ └── Contents.json │ ├── LaunchImage.launchimage │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── AppDelegate.h ├── main.m ├── ViewController │ ├── HUDController.h │ ├── HUDViewDemoController.h │ ├── HUDController.m │ └── HUDViewDemoController.m ├── BKProgressHUD │ ├── BKProgressHUD.h │ ├── BKProgressViewController.h │ ├── BKProgressViewController.m │ └── BKProgressHUD.m ├── Info.plist ├── AppDelegate.m └── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── HBProgressHUD.xcodeproj ├── xcuserdata │ └── qtm-mac.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ ├── xcschememanagement.plist │ │ └── HBProgressHUD.xcscheme ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcuserdata │ │ └── qtm-mac.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcshareddata │ │ └── HBProgressHUD.xccheckout └── project.pbxproj ├── HBProgressHUDTests ├── Info.plist └── HBProgressHUDTests.m └── LICENSE /README.md: -------------------------------------------------------------------------------- 1 | # HBProgressHUD 2 | Utility Library for iOS applications which indicate the process progress of some main thread. 3 | -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons.imageset/first.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons.imageset/first.pdf -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/second.imageset/second.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/second.imageset/second.pdf -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linux.imageset/linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/linux.imageset/linux.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/yahoo.imageset/yahoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/yahoo.imageset/yahoo.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/android.imageset/android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/android.imageset/android.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linux.imageset/linux@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/linux.imageset/linux@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linux.imageset/linux@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/linux.imageset/linux@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitte.imageset/twitte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/twitte.imageset/twitte.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitter.imageset/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/twitter.imageset/twitter.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/windows.imageset/windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/windows.imageset/windows.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/yahoo.imageset/yahoo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/yahoo.imageset/yahoo@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/yahoo.imageset/yahoo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/yahoo.imageset/yahoo@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/facebook.imageset/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/facebook.imageset/facebook.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linkedin.imageset/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/linkedin.imageset/linkedin.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitte.imageset/twitte@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/twitte.imageset/twitte@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitte.imageset/twitte@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/twitte.imageset/twitte@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/android.imageset/android@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/android.imageset/android@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/android.imageset/android@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/android.imageset/android@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/facebook.imageset/facebook@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/facebook.imageset/facebook@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/facebook.imageset/facebook@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/facebook.imageset/facebook@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linkedin.imageset/linkedin@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/linkedin.imageset/linkedin@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linkedin.imageset/linkedin@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/linkedin.imageset/linkedin@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitter.imageset/twitter@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/twitter.imageset/twitter@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitter.imageset/twitter@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/twitter.imageset/twitter@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/windows.imageset/windows@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/windows.imageset/windows@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/windows.imageset/windows@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/windows.imageset/windows@3x.png -------------------------------------------------------------------------------- /HBProgressHUD.xcodeproj/xcuserdata/qtm-mac.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/blackberry.imageset/blackberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/blackberry.imageset/blackberry.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/googlePlus.imageset/googlePlus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/googlePlus.imageset/googlePlus.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/blackberry.imageset/blackberry@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/blackberry.imageset/blackberry@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/blackberry.imageset/blackberry@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/blackberry.imageset/blackberry@3x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/googlePlus.imageset/googlePlus@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/googlePlus.imageset/googlePlus@2x.png -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/googlePlus.imageset/googlePlus@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD/Images.xcassets/Icons/googlePlus.imageset/googlePlus@3x.png -------------------------------------------------------------------------------- /HBProgressHUD.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "first.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /HBProgressHUD.xcodeproj/project.xcworkspace/xcuserdata/qtm-mac.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bevinpatel/HBProgressHUD/HEAD/HBProgressHUD.xcodeproj/project.xcworkspace/xcuserdata/qtm-mac.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/second.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "second.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /HBProgressHUD/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // HBProgressHUD 4 | // 5 | // Created by Ron on 18/06/15. 6 | // Copyright (c) 2015 qtm. 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 | -------------------------------------------------------------------------------- /HBProgressHUD/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // HBProgressHUD 4 | // 5 | // Created by Ron on 18/06/15. 6 | // Copyright (c) 2015 qtm. 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 | -------------------------------------------------------------------------------- /HBProgressHUD/ViewController/HUDController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // AutoLayoutDemo 4 | // 5 | // Created by Ron on 20/03/15. 6 | // Copyright (c) 2015 Ron. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "BKProgressViewController.h" 11 | 12 | @interface HUDController : BKProgressViewController 13 | { 14 | 15 | } 16 | -(IBAction)startProgress:(id)sender; 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linux.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "linux.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "linux@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "linux@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/yahoo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "yahoo.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "yahoo@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "yahoo@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitte.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "twitte.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "twitte@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "twitte@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/android.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "android.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "android@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "android@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/twitter.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "twitter.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "twitter@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "twitter@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/windows.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "windows.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "windows@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "windows@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/facebook.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "facebook.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "facebook@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "facebook@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/linkedin.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "linkedin.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "linkedin@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "linkedin@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/blackberry.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "blackberry.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "blackberry@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "blackberry@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/Icons/googlePlus.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "googlePlus.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "googlePlus@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "googlePlus@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /HBProgressHUD/ViewController/HUDViewDemoController.h: -------------------------------------------------------------------------------- 1 | // 2 | // HUDViewDemoController.h 3 | // AutoLayoutDemo 4 | // 5 | // Created by Ron on 14/04/15. 6 | // Copyright (c) 2015 Ron. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "BKProgressHUD.h" 11 | 12 | @interface HUDViewDemoController : UIViewController 13 | { 14 | IBOutlet BKProgressHUD *fbHUD; 15 | IBOutlet BKProgressHUD *gPlusHUD; 16 | IBOutlet BKProgressHUD *linkInHUD; 17 | IBOutlet BKProgressHUD *tweeterHUD; 18 | IBOutlet BKProgressHUD *androidHUD; 19 | IBOutlet BKProgressHUD *blackBerryHUD; 20 | IBOutlet BKProgressHUD *appleHudHUD; 21 | IBOutlet BKProgressHUD *windowsHUD; 22 | } 23 | -(IBAction)startProgress:(id)sender; 24 | @end 25 | -------------------------------------------------------------------------------- /HBProgressHUD.xcodeproj/xcuserdata/qtm-mac.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | HBProgressHUD.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 8D1A66101B32A126005B5931 16 | 17 | primary 18 | 19 | 20 | 8D1A66291B32A127005B5931 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /HBProgressHUDTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.cpl.iphone.$(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 | -------------------------------------------------------------------------------- /HBProgressHUD/BKProgressHUD/BKProgressHUD.h: -------------------------------------------------------------------------------- 1 | // 2 | // BKProgressHUD.h 3 | // 4 | // Copyright 2015 Bevin Patel. 5 | // 6 | // Licensed under the Apache License, Version 2.0 (the "License"); 7 | // you may not use this file except in compliance with the License. 8 | // You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, software 13 | // distributed under the License is distributed on an "AS IS" BASIS, 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | // See the License for the specific language governing permissions and 16 | // limitations under the License. 17 | #import 18 | #import 19 | 20 | @interface BKProgressHUD : UIView 21 | @property (nonatomic) int32_t redious; 22 | @property (nonatomic) CGFloat progress; 23 | @property (nonatomic) UIColor *tintColor; 24 | @property (nonatomic) UIColor *fillColor; 25 | @property (nonatomic) UIImage *hudImage; 26 | @end 27 | -------------------------------------------------------------------------------- /HBProgressHUD/BKProgressHUD/BKProgressViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // BKProgressViewController.h 3 | // 4 | // Copyright 2015 Bevin Patel. 5 | // 6 | // Licensed under the Apache License, Version 2.0 (the "License"); 7 | // you may not use this file except in compliance with the License. 8 | // You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, software 13 | // distributed under the License is distributed on an "AS IS" BASIS, 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | // See the License for the specific language governing permissions and 16 | // limitations under the License. 17 | 18 | #import 19 | 20 | @interface BKProgressViewController : UIViewController 21 | -(void)setHUDProgress:(CGFloat)proPercent; 22 | -(void)setHUDRedious:(NSInteger)redious; 23 | -(void)setHUDTintColor:(UIColor *)tintColor; 24 | -(void)setHUDFillColor:(UIColor *)fillColor; 25 | -(void)showHUD:(BOOL)isShow; 26 | @end 27 | -------------------------------------------------------------------------------- /HBProgressHUDTests/HBProgressHUDTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // HBProgressHUDTests.m 3 | // HBProgressHUDTests 4 | // 5 | // Created by Ron on 18/06/15. 6 | // Copyright (c) 2015 qtm. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface HBProgressHUDTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation HBProgressHUDTests 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 | -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "ipad", 6 | "minimum-system-version" : "7.0", 7 | "extent" : "full-screen", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "landscape", 12 | "idiom" : "ipad", 13 | "minimum-system-version" : "7.0", 14 | "extent" : "full-screen", 15 | "scale" : "1x" 16 | }, 17 | { 18 | "orientation" : "landscape", 19 | "idiom" : "ipad", 20 | "minimum-system-version" : "7.0", 21 | "extent" : "full-screen", 22 | "scale" : "2x" 23 | }, 24 | { 25 | "orientation" : "portrait", 26 | "idiom" : "iphone", 27 | "minimum-system-version" : "7.0", 28 | "scale" : "2x" 29 | }, 30 | { 31 | "orientation" : "portrait", 32 | "idiom" : "iphone", 33 | "minimum-system-version" : "7.0", 34 | "subtype" : "retina4", 35 | "scale" : "2x" 36 | }, 37 | { 38 | "orientation" : "portrait", 39 | "idiom" : "ipad", 40 | "minimum-system-version" : "7.0", 41 | "extent" : "full-screen", 42 | "scale" : "1x" 43 | } 44 | ], 45 | "info" : { 46 | "version" : 1, 47 | "author" : "xcode" 48 | } 49 | } -------------------------------------------------------------------------------- /HBProgressHUD/ViewController/HUDController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // AutoLayoutDemo 4 | // 5 | // Created by Ron on 20/03/15. 6 | // Copyright (c) 2015 Ron. All rights reserved. 7 | // 8 | 9 | #import "HUDController.h" 10 | 11 | @interface HUDController() 12 | { 13 | CGFloat progress; 14 | } 15 | @end 16 | 17 | @implementation HUDController 18 | - (void)viewDidLoad 19 | { 20 | [super viewDidLoad]; 21 | } 22 | -(IBAction)startProgress:(id)sender 23 | { 24 | [self setHUDTintColor:[UIColor whiteColor]]; 25 | [self setHUDFillColor:[UIColor colorWithWhite:0.2 alpha:0.5]]; 26 | [self setHUDRedious:30]; 27 | 28 | [self showHUD:YES]; 29 | progress =0.0; 30 | [self increaseProgess]; 31 | } 32 | -(void)increaseProgess 33 | { 34 | CGFloat radome =[self randFloatBetween:0.4 and:1.0]; 35 | progress=progress+radome; 36 | [self setHUDProgress:progress]; 37 | if (progress<100) 38 | { 39 | [self performSelector:@selector(increaseProgess) withObject:nil afterDelay:[self randFloatBetween:0.0 and:0.2]]; 40 | } 41 | else 42 | { 43 | [self showHUD:NO]; 44 | } 45 | } 46 | -(float) randFloatBetween:(float)low and:(float)high 47 | { 48 | float diff = high - low; 49 | return (((float) rand() / RAND_MAX) * diff) + low; 50 | } 51 | - (void)didReceiveMemoryWarning 52 | { 53 | [super didReceiveMemoryWarning]; 54 | } 55 | @end 56 | -------------------------------------------------------------------------------- /HBProgressHUD/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /HBProgressHUD/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.cpl.iphone.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /HBProgressHUD.xcodeproj/project.xcworkspace/xcshareddata/HBProgressHUD.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | BD0BF9A9-F914-4858-B5D3-29E5E22257FB 9 | IDESourceControlProjectName 10 | HBProgressHUD 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | 50A4E1698D17A40FCE487642286DB8FD7E0FAC81 14 | https://github.com/BevinPatel/HBProgressHUD.git 15 | 16 | IDESourceControlProjectPath 17 | HBProgressHUD.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | 50A4E1698D17A40FCE487642286DB8FD7E0FAC81 21 | ../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/BevinPatel/HBProgressHUD.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | 50A4E1698D17A40FCE487642286DB8FD7E0FAC81 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | 50A4E1698D17A40FCE487642286DB8FD7E0FAC81 36 | IDESourceControlWCCName 37 | HBProgressHUD 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /HBProgressHUD/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // HBProgressHUD 4 | // 5 | // Created by Ron on 18/06/15. 6 | // Copyright (c) 2015 qtm. 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 | -------------------------------------------------------------------------------- /HBProgressHUD/ViewController/HUDViewDemoController.m: -------------------------------------------------------------------------------- 1 | // 2 | // HUDViewDemoController.m 3 | // AutoLayoutDemo 4 | // 5 | // Created by Ron on 14/04/15. 6 | // Copyright (c) 2015 Ron. All rights reserved. 7 | // 8 | 9 | #import "HUDViewDemoController.h" 10 | 11 | @interface HUDViewDemoController () 12 | { 13 | CGFloat progress; 14 | } 15 | @end 16 | 17 | @implementation HUDViewDemoController 18 | 19 | - (void)viewDidLoad 20 | { 21 | [super viewDidLoad]; 22 | [fbHUD setHidden:YES]; 23 | [fbHUD setHidden:YES]; 24 | [gPlusHUD setHidden:YES]; 25 | [linkInHUD setHidden:YES]; 26 | [tweeterHUD setHidden:YES]; 27 | [androidHUD setHidden:YES]; 28 | [blackBerryHUD setHidden:YES]; 29 | [appleHudHUD setHidden:YES]; 30 | [windowsHUD setHidden:YES]; 31 | } 32 | 33 | - (void)didReceiveMemoryWarning { 34 | [super didReceiveMemoryWarning]; 35 | // Dispose of any resources that can be recreated. 36 | } 37 | 38 | -(IBAction)startProgress:(id)sender 39 | { 40 | [fbHUD setHidden:NO]; 41 | [fbHUD setHidden:NO]; 42 | [gPlusHUD setHidden:NO]; 43 | [linkInHUD setHidden:NO]; 44 | [tweeterHUD setHidden:NO]; 45 | [androidHUD setHidden:NO]; 46 | [blackBerryHUD setHidden:NO]; 47 | [appleHudHUD setHidden:NO]; 48 | [windowsHUD setHidden:NO]; 49 | progress =0.0; 50 | [self increaseProgess]; 51 | } 52 | -(void)increaseProgess 53 | { 54 | CGFloat radome =[self randFloatBetween:0.4 and:1.0]; 55 | progress=progress+radome; 56 | 57 | [fbHUD setProgress:progress]; 58 | [fbHUD setProgress:progress]; 59 | [gPlusHUD setProgress:progress]; 60 | [linkInHUD setProgress:progress]; 61 | [tweeterHUD setProgress:progress]; 62 | [androidHUD setProgress:progress]; 63 | [blackBerryHUD setProgress:progress]; 64 | [appleHudHUD setProgress:progress]; 65 | [windowsHUD setProgress:progress]; 66 | 67 | 68 | if (progress<100) 69 | { 70 | [self performSelector:@selector(increaseProgess) withObject:nil afterDelay:[self randFloatBetween:0.0 and:0.2]]; 71 | } 72 | else 73 | { 74 | [fbHUD setHidden:YES]; 75 | [fbHUD setHidden:YES]; 76 | [gPlusHUD setHidden:YES]; 77 | [linkInHUD setHidden:YES]; 78 | [tweeterHUD setHidden:YES]; 79 | [androidHUD setHidden:YES]; 80 | [blackBerryHUD setHidden:YES]; 81 | [appleHudHUD setHidden:YES]; 82 | [windowsHUD setHidden:YES]; 83 | } 84 | } 85 | -(float) randFloatBetween:(float)low and:(float)high 86 | { 87 | float diff = high - low; 88 | return (((float) rand() / RAND_MAX) * diff) + low; 89 | } 90 | @end 91 | -------------------------------------------------------------------------------- /HBProgressHUD/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 | -------------------------------------------------------------------------------- /HBProgressHUD.xcodeproj/xcuserdata/qtm-mac.xcuserdatad/xcschemes/HBProgressHUD.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 94 | 100 | 101 | 102 | 103 | 105 | 106 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /HBProgressHUD/BKProgressHUD/BKProgressViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // BKProgressViewController.m 3 | // 4 | // Copyright 2015 Bevin Patel. 5 | // 6 | // Licensed under the Apache License, Version 2.0 (the "License"); 7 | // you may not use this file except in compliance with the License. 8 | // You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, software 13 | // distributed under the License is distributed on an "AS IS" BASIS, 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | // See the License for the specific language governing permissions and 16 | // limitations under the License. 17 | 18 | #import "BKProgressViewController.h" 19 | #import "BKProgressHUD.h" 20 | 21 | @interface BKProgressViewController () 22 | { 23 | BKProgressHUD *HUD; 24 | } 25 | @end 26 | 27 | @implementation BKProgressViewController 28 | 29 | -(void)loadView 30 | { 31 | [super loadView]; 32 | if (!HUD) 33 | { 34 | HUD = [[BKProgressHUD alloc]init]; 35 | [HUD setRedious:10]; 36 | [HUD setTranslatesAutoresizingMaskIntoConstraints:NO]; 37 | [HUD setBackgroundColor:[UIColor colorWithWhite:0.5 alpha:0.5]]; 38 | [self.view addSubview:HUD]; 39 | 40 | [self.view addConstraint:[NSLayoutConstraint constraintWithItem:HUD 41 | attribute:NSLayoutAttributeTop 42 | relatedBy:NSLayoutRelationEqual 43 | toItem:self.view 44 | attribute:NSLayoutAttributeTop 45 | multiplier:1.0 46 | constant:0.0]]; 47 | [self.view addConstraint:[NSLayoutConstraint constraintWithItem:HUD 48 | attribute:NSLayoutAttributeBottom 49 | relatedBy:NSLayoutRelationEqual 50 | toItem:self.view 51 | attribute:NSLayoutAttributeBottom 52 | multiplier:1.0 53 | constant:0.0]]; 54 | [self.view addConstraint:[NSLayoutConstraint constraintWithItem:HUD 55 | attribute:NSLayoutAttributeLeft 56 | relatedBy:NSLayoutRelationEqual 57 | toItem:self.view 58 | attribute:NSLayoutAttributeLeft 59 | multiplier:1.0 60 | constant:0.0]]; 61 | [self.view addConstraint:[NSLayoutConstraint constraintWithItem:HUD 62 | attribute:NSLayoutAttributeRight 63 | relatedBy:NSLayoutRelationEqual 64 | toItem:self.view 65 | attribute:NSLayoutAttributeRight 66 | multiplier:1.0 67 | constant:0.0]]; 68 | [HUD setHidden:YES]; 69 | } 70 | } 71 | #pragma mark- 72 | -(void)setHUDProgress:(CGFloat)proPercent 73 | { 74 | [HUD setProgress:proPercent]; 75 | } 76 | -(void)setHUDRedious:(NSInteger)redious 77 | { 78 | [UIView transitionWithView:HUD 79 | duration:0.5 80 | options:UIViewAnimationOptionTransitionCrossDissolve 81 | animations:^{ 82 | [HUD setRedious:(int32_t)redious]; 83 | } 84 | completion:^(BOOL finished) { 85 | 86 | }]; 87 | } 88 | -(void)setHUDTintColor:(UIColor *)tintColor 89 | { 90 | [HUD setTintColor:tintColor]; 91 | } 92 | -(void)setHUDFillColor:(UIColor *)fillColor 93 | { 94 | [HUD setFillColor:fillColor]; 95 | } 96 | -(void)showHUD:(BOOL)isShow 97 | { 98 | [UIView transitionWithView:HUD 99 | duration:0.2 100 | options:UIViewAnimationOptionTransitionCrossDissolve 101 | animations:^{ 102 | [HUD setHidden:!isShow]; 103 | } 104 | completion:^(BOOL finished) { 105 | 106 | }]; 107 | } 108 | #pragma mark- 109 | 110 | - (void)viewDidLoad 111 | { 112 | [super viewDidLoad]; 113 | } 114 | -(void)viewWillAppear:(BOOL)animated 115 | { 116 | [super viewWillAppear:animated]; 117 | } 118 | -(void)viewDidAppear:(BOOL)animated 119 | { 120 | [super viewDidAppear:animated]; 121 | } 122 | - (void)didReceiveMemoryWarning 123 | { 124 | [super didReceiveMemoryWarning]; 125 | } 126 | @end 127 | -------------------------------------------------------------------------------- /HBProgressHUD/BKProgressHUD/BKProgressHUD.m: -------------------------------------------------------------------------------- 1 | // 2 | // BKProgressHUD.m 3 | // 4 | // Copyright 2015 Bevin Patel. 5 | // 6 | // Licensed under the Apache License, Version 2.0 (the "License"); 7 | // you may not use this file except in compliance with the License. 8 | // You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, software 13 | // distributed under the License is distributed on an "AS IS" BASIS, 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | // See the License for the specific language governing permissions and 16 | // limitations under the License. 17 | 18 | #import "BKProgressHUD.h" 19 | 20 | #define degreesToRadians(degrees) ((degrees)/(180.0*M_PI)) 21 | 22 | #if TARGET_INTERFACE_BUILDER 23 | IB_DESIGNABLE 24 | @interface BKProgressHUD (IBDesign) 25 | @property (nonatomic) IBInspectable int32_t redious; 26 | @property (nonatomic) IBInspectable CGFloat progress; 27 | @property (nonatomic) IBInspectable UIColor *tintColor; 28 | @property (nonatomic) IBInspectable UIColor *fillColor; 29 | @property (nonatomic) IBInspectable UIImage *hudImage; 30 | @end 31 | #endif 32 | 33 | @interface BKProgressHUD() 34 | { 35 | CGRect viBounds; 36 | UIImageView *imageView; 37 | NSLayoutConstraint *widthConstarint; 38 | NSLayoutConstraint *heightConstarint; 39 | } 40 | @end 41 | 42 | @implementation BKProgressHUD 43 | -(void)layoutSubviews 44 | { 45 | if (!imageView) 46 | { 47 | imageView = [[UIImageView alloc] init]; 48 | [imageView setTranslatesAutoresizingMaskIntoConstraints:NO]; 49 | [imageView setBackgroundColor:[UIColor clearColor]]; 50 | [self addSubview:imageView]; 51 | [self setClipsToBounds:YES]; 52 | [self setupConstraints]; 53 | } 54 | [super layoutSubviews]; 55 | } 56 | - (void)drawRect:(CGRect)rect 57 | { 58 | UIImage *gradiantImage = [self drawSolid:CGSizeMake(600, 600)]; 59 | UIImage *logoImage = _hudImage?[BKProgressHUD imageWithImage:_hudImage scaledToWidth:600]:[self drawApple:CGSizeMake(600, 600)]; 60 | [imageView setImage:[self maskImage:gradiantImage withMask:logoImage]]; 61 | } 62 | +(UIImage*)imageWithImage: (UIImage*) sourceImage scaledToWidth: (float) i_width 63 | { 64 | float oldWidth = sourceImage.size.width; 65 | float scaleFactor = i_width / oldWidth; 66 | 67 | float newHeight = sourceImage.size.height * scaleFactor; 68 | float newWidth = oldWidth * scaleFactor; 69 | 70 | UIGraphicsBeginImageContext(CGSizeMake(newWidth, newHeight)); 71 | [sourceImage drawInRect:CGRectMake(0, 0, newWidth, newHeight)]; 72 | UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext(); 73 | UIGraphicsEndImageContext(); 74 | return newImage; 75 | } 76 | -(void)setProgress:(CGFloat)progress 77 | { 78 | _progress = progress; 79 | [self setNeedsDisplay]; 80 | } 81 | -(void)setRedious:(int32_t)redious 82 | { 83 | _redious = redious; 84 | widthConstarint.constant = self.redious*2; 85 | heightConstarint.constant = self.redious*2; 86 | } 87 | -(void)setTintColor:(UIColor *)tintColor 88 | { 89 | _tintColor = tintColor; 90 | } 91 | -(void)setFillColor:(UIColor *)fillColor 92 | { 93 | _fillColor=fillColor; 94 | } 95 | -(void)hudImage:(UIImage *)hudImage 96 | { 97 | _hudImage=hudImage; 98 | } 99 | - (void)setupConstraints 100 | { 101 | widthConstarint = [NSLayoutConstraint constraintWithItem:imageView 102 | attribute:NSLayoutAttributeWidth 103 | relatedBy:NSLayoutRelationEqual 104 | toItem:nil 105 | attribute:NSLayoutAttributeNotAnAttribute 106 | multiplier:0.5 107 | constant:self.redious*2]; 108 | [imageView addConstraint:widthConstarint]; 109 | heightConstarint = [NSLayoutConstraint constraintWithItem:imageView 110 | attribute:NSLayoutAttributeHeight 111 | relatedBy:NSLayoutRelationEqual 112 | toItem:nil 113 | attribute:NSLayoutAttributeNotAnAttribute 114 | multiplier:0.5 115 | constant:self.redious*2]; 116 | [imageView addConstraint:heightConstarint]; 117 | [self addConstraint:[NSLayoutConstraint constraintWithItem:imageView 118 | attribute:NSLayoutAttributeCenterX 119 | relatedBy:NSLayoutRelationEqual 120 | toItem:self 121 | attribute:NSLayoutAttributeCenterX 122 | multiplier:1.0 123 | constant:0.0]]; 124 | [self addConstraint:[NSLayoutConstraint constraintWithItem:imageView 125 | attribute:NSLayoutAttributeCenterY 126 | relatedBy:NSLayoutRelationEqual 127 | toItem:self 128 | attribute:NSLayoutAttributeCenterY 129 | multiplier:1.0 130 | constant:0.0]]; 131 | } 132 | // ----------------------- 133 | -(CGRect)getProgressRect:(CGSize)AppleSize{ 134 | 135 | CGRect progressRect = CGRectMake(0, 0, AppleSize.width, 0); 136 | CGFloat fillHeight = (self.progress * AppleSize.height)/100; 137 | progressRect.origin.y=AppleSize.height-fillHeight; 138 | progressRect.size.height=fillHeight; 139 | return progressRect; 140 | } 141 | -(UIImage *)drawSolid:(CGSize)gradinatSize{ 142 | 143 | UIGraphicsBeginImageContextWithOptions(gradinatSize, NO, 0); 144 | CGContextRef context = UIGraphicsGetCurrentContext(); 145 | CGContextSaveGState(context); 146 | 147 | CGContextSetFillColorWithColor(context, [self.tintColor CGColor]); 148 | CGContextFillRect(context, CGRectMake(0, 0, gradinatSize.width, gradinatSize.height)); 149 | 150 | CGContextSetFillColorWithColor(context, [self.fillColor CGColor]); 151 | CGContextFillRect(context, [self getProgressRect:gradinatSize]); 152 | 153 | CGContextRestoreGState(context); 154 | UIImage *resultingImage = UIGraphicsGetImageFromCurrentImageContext(); 155 | UIGraphicsEndImageContext(); 156 | 157 | return resultingImage; 158 | } 159 | -(UIImage *)drawGradiant:(CGSize)gradinatSize{ 160 | 161 | CGRect gradiantRect = CGRectMake(0, 0, gradinatSize.width, gradinatSize.width); 162 | CGFloat colors [] = { 163 | 0.27, 0.52, 0.28, 1.0, 164 | 0.41, 0.62, 0.42, 1.0, 165 | 1.00, 1.00, 0.00, 1.0, 166 | 0.90, 0.35, 0.35, 1.0, 167 | 0.87, 0.20, 0.20, 1.0 168 | }; 169 | 170 | CGColorSpaceRef baseSpace = CGColorSpaceCreateDeviceRGB(); 171 | CGGradientRef gradient = CGGradientCreateWithColorComponents(baseSpace, colors, NULL, 5); 172 | CGColorSpaceRelease(baseSpace), baseSpace = NULL; 173 | 174 | UIGraphicsBeginImageContextWithOptions(gradinatSize, NO, 0); 175 | CGContextRef context = UIGraphicsGetCurrentContext(); 176 | 177 | CGContextSaveGState(context); 178 | 179 | CGPoint startPoint = CGPointMake(CGRectGetMidX(gradiantRect), CGRectGetMinY(gradiantRect)); 180 | CGPoint endPoint = CGPointMake(CGRectGetMidX(gradiantRect), CGRectGetMaxY(gradiantRect)); 181 | 182 | CGContextDrawLinearGradient(context, gradient, startPoint, endPoint, 0); 183 | CGGradientRelease(gradient), gradient = NULL; 184 | 185 | CGContextRestoreGState(context); 186 | CGContextDrawPath(context, kCGPathStroke); 187 | 188 | UIImage *resultingImage = UIGraphicsGetImageFromCurrentImageContext(); 189 | UIGraphicsEndImageContext(); 190 | return resultingImage; 191 | } 192 | - (UIImage*) maskImage:(UIImage *) image withMask:(UIImage *) mask{ 193 | 194 | CGImageRef imageReference = image.CGImage; 195 | CGImageRef maskReference = mask.CGImage; 196 | 197 | CGImageRef imageMask = CGImageMaskCreate(CGImageGetWidth(maskReference), 198 | CGImageGetHeight(maskReference), 199 | CGImageGetBitsPerComponent(maskReference), 200 | CGImageGetBitsPerPixel(maskReference), 201 | CGImageGetBytesPerRow(maskReference), 202 | CGImageGetDataProvider(maskReference), 203 | NULL, // Decode is null 204 | YES // Should interpolate 205 | ); 206 | 207 | CGImageRef maskedReference = CGImageCreateWithMask(imageReference, imageMask); 208 | CGImageRelease(imageMask); 209 | 210 | UIImage *maskedImage = [UIImage imageWithCGImage:maskedReference]; 211 | CGImageRelease(maskedReference); 212 | 213 | return maskedImage; 214 | } 215 | -(UIImage *)drawApple:(CGSize)appleSize{ 216 | 217 | UIGraphicsBeginImageContextWithOptions(appleSize, NO, 0); 218 | 219 | CGContextRef cgContext = UIGraphicsGetCurrentContext(); 220 | CGContextSaveGState(cgContext); 221 | CGContextSetFillColorWithColor(cgContext, [[UIColor whiteColor] CGColor]); 222 | CGContextFillRect(cgContext, CGRectMake(0, 0, appleSize.width, appleSize.height)); 223 | 224 | CGContextSetFillColorWithColor(cgContext, [[UIColor blackColor] CGColor]); 225 | 226 | CGContextBeginPath(cgContext); 227 | CGContextMoveToPoint(cgContext, 62, 300); 228 | CGContextAddCurveToPoint(cgContext,70.000000,190.000000,166.000000,121.000000,305-50,156);//Top Left of Under 229 | CGContextAddCurveToPoint(cgContext,302.500000,176.000000,301.500000,179.500000,305+50,156);//Top Under 230 | CGContextAddCurveToPoint(cgContext,425.500000,130.500000,488.000000,152.000000,526,206);//Top Right of under//Try 231 | CGContextAddCurveToPoint(cgContext,446.500000,249.500000,429.500000,387.000000,541,438);// Cutting Part 232 | CGContextAddCurveToPoint(cgContext,518.500000,501.500000,493.000000,541.000000,458,576);// Cutting Bottom 233 | CGContextAddCurveToPoint(cgContext,430.000000,600.500000,401.500000,606.500000,360,585);//Botom Right of Under 234 | CGContextAddCurveToPoint(cgContext,327.500000,570.000000,297.000000,569.000000,263,585);//Botom Under 235 | CGContextAddCurveToPoint(cgContext,216.500000,607.000000,193.000000,600.000000,164,575);//Botom Left of Under 236 | CGContextAddCurveToPoint(cgContext,146.500000,558.000000,119.500000,523.500000,95, 474); 237 | CGContextAddCurveToPoint(cgContext,70.500000,419.000000,56.000000,363.000000,62, 300); 238 | CGContextClosePath(cgContext); 239 | CGContextFillPath(cgContext); 240 | 241 | CGContextBeginPath(cgContext); 242 | CGContextMoveToPoint(cgContext, 300.000000,141.500000); 243 | CGContextAddCurveToPoint(cgContext,288.500000,79.500000,349.000000,3.500000,419.000000,2.500000); 244 | CGContextAddCurveToPoint(cgContext,422.500000,60.000000,379.500000,142.000000,300.000000,141.500000); 245 | CGContextClosePath(cgContext); 246 | CGContextFillPath(cgContext); 247 | CGContextRestoreGState(cgContext); 248 | 249 | UIImage *resultingImage = UIGraphicsGetImageFromCurrentImageContext(); 250 | UIGraphicsEndImageContext(); 251 | return resultingImage; 252 | } 253 | @end 254 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2015 BevinPatel 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /HBProgressHUD.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 8D1A66171B32A126005B5931 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D1A66161B32A126005B5931 /* main.m */; }; 11 | 8D1A661A1B32A126005B5931 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D1A66191B32A126005B5931 /* AppDelegate.m */; }; 12 | 8D1A66201B32A126005B5931 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D1A661E1B32A126005B5931 /* Main.storyboard */; }; 13 | 8D1A66221B32A126005B5931 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8D1A66211B32A126005B5931 /* Images.xcassets */; }; 14 | 8D1A66251B32A126005B5931 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8D1A66231B32A126005B5931 /* LaunchScreen.xib */; }; 15 | 8D1A66311B32A127005B5931 /* HBProgressHUDTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D1A66301B32A127005B5931 /* HBProgressHUDTests.m */; }; 16 | 8D1A663F1B32A134005B5931 /* BKProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D1A663C1B32A134005B5931 /* BKProgressHUD.m */; }; 17 | 8D1A66401B32A134005B5931 /* BKProgressViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D1A663E1B32A134005B5931 /* BKProgressViewController.m */; }; 18 | 8D1A66461B32A13D005B5931 /* HUDController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D1A66431B32A13D005B5931 /* HUDController.m */; }; 19 | 8D1A66471B32A13D005B5931 /* HUDViewDemoController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D1A66451B32A13D005B5931 /* HUDViewDemoController.m */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 8D1A662B1B32A127005B5931 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = 8D1A66091B32A126005B5931 /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 8D1A66101B32A126005B5931; 28 | remoteInfo = HBProgressHUD; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 8D1A66111B32A126005B5931 /* HBProgressHUD.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HBProgressHUD.app; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 8D1A66151B32A126005B5931 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 35 | 8D1A66161B32A126005B5931 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 36 | 8D1A66181B32A126005B5931 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 37 | 8D1A66191B32A126005B5931 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 38 | 8D1A661F1B32A126005B5931 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 39 | 8D1A66211B32A126005B5931 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 40 | 8D1A66241B32A126005B5931 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 41 | 8D1A662A1B32A127005B5931 /* HBProgressHUDTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HBProgressHUDTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 8D1A662F1B32A127005B5931 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 8D1A66301B32A127005B5931 /* HBProgressHUDTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HBProgressHUDTests.m; sourceTree = ""; }; 44 | 8D1A663B1B32A134005B5931 /* BKProgressHUD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BKProgressHUD.h; sourceTree = ""; }; 45 | 8D1A663C1B32A134005B5931 /* BKProgressHUD.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BKProgressHUD.m; sourceTree = ""; }; 46 | 8D1A663D1B32A134005B5931 /* BKProgressViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BKProgressViewController.h; sourceTree = ""; }; 47 | 8D1A663E1B32A134005B5931 /* BKProgressViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BKProgressViewController.m; sourceTree = ""; }; 48 | 8D1A66421B32A13D005B5931 /* HUDController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HUDController.h; sourceTree = ""; }; 49 | 8D1A66431B32A13D005B5931 /* HUDController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HUDController.m; sourceTree = ""; }; 50 | 8D1A66441B32A13D005B5931 /* HUDViewDemoController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HUDViewDemoController.h; sourceTree = ""; }; 51 | 8D1A66451B32A13D005B5931 /* HUDViewDemoController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HUDViewDemoController.m; sourceTree = ""; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 8D1A660E1B32A126005B5931 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | ); 60 | runOnlyForDeploymentPostprocessing = 0; 61 | }; 62 | 8D1A66271B32A127005B5931 /* Frameworks */ = { 63 | isa = PBXFrameworksBuildPhase; 64 | buildActionMask = 2147483647; 65 | files = ( 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 8D1A66081B32A126005B5931 = { 73 | isa = PBXGroup; 74 | children = ( 75 | 8D1A66131B32A126005B5931 /* HBProgressHUD */, 76 | 8D1A662D1B32A127005B5931 /* HBProgressHUDTests */, 77 | 8D1A66121B32A126005B5931 /* Products */, 78 | ); 79 | sourceTree = ""; 80 | }; 81 | 8D1A66121B32A126005B5931 /* Products */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 8D1A66111B32A126005B5931 /* HBProgressHUD.app */, 85 | 8D1A662A1B32A127005B5931 /* HBProgressHUDTests.xctest */, 86 | ); 87 | name = Products; 88 | sourceTree = ""; 89 | }; 90 | 8D1A66131B32A126005B5931 /* HBProgressHUD */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 8D1A66411B32A13D005B5931 /* ViewController */, 94 | 8D1A663A1B32A134005B5931 /* BKProgressHUD */, 95 | 8D1A66181B32A126005B5931 /* AppDelegate.h */, 96 | 8D1A66191B32A126005B5931 /* AppDelegate.m */, 97 | 8D1A661E1B32A126005B5931 /* Main.storyboard */, 98 | 8D1A66211B32A126005B5931 /* Images.xcassets */, 99 | 8D1A66231B32A126005B5931 /* LaunchScreen.xib */, 100 | 8D1A66141B32A126005B5931 /* Supporting Files */, 101 | ); 102 | path = HBProgressHUD; 103 | sourceTree = ""; 104 | }; 105 | 8D1A66141B32A126005B5931 /* Supporting Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 8D1A66151B32A126005B5931 /* Info.plist */, 109 | 8D1A66161B32A126005B5931 /* main.m */, 110 | ); 111 | name = "Supporting Files"; 112 | sourceTree = ""; 113 | }; 114 | 8D1A662D1B32A127005B5931 /* HBProgressHUDTests */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 8D1A66301B32A127005B5931 /* HBProgressHUDTests.m */, 118 | 8D1A662E1B32A127005B5931 /* Supporting Files */, 119 | ); 120 | path = HBProgressHUDTests; 121 | sourceTree = ""; 122 | }; 123 | 8D1A662E1B32A127005B5931 /* Supporting Files */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 8D1A662F1B32A127005B5931 /* Info.plist */, 127 | ); 128 | name = "Supporting Files"; 129 | sourceTree = ""; 130 | }; 131 | 8D1A663A1B32A134005B5931 /* BKProgressHUD */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 8D1A663B1B32A134005B5931 /* BKProgressHUD.h */, 135 | 8D1A663C1B32A134005B5931 /* BKProgressHUD.m */, 136 | 8D1A663D1B32A134005B5931 /* BKProgressViewController.h */, 137 | 8D1A663E1B32A134005B5931 /* BKProgressViewController.m */, 138 | ); 139 | path = BKProgressHUD; 140 | sourceTree = ""; 141 | }; 142 | 8D1A66411B32A13D005B5931 /* ViewController */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 8D1A66421B32A13D005B5931 /* HUDController.h */, 146 | 8D1A66431B32A13D005B5931 /* HUDController.m */, 147 | 8D1A66441B32A13D005B5931 /* HUDViewDemoController.h */, 148 | 8D1A66451B32A13D005B5931 /* HUDViewDemoController.m */, 149 | ); 150 | path = ViewController; 151 | sourceTree = ""; 152 | }; 153 | /* End PBXGroup section */ 154 | 155 | /* Begin PBXNativeTarget section */ 156 | 8D1A66101B32A126005B5931 /* HBProgressHUD */ = { 157 | isa = PBXNativeTarget; 158 | buildConfigurationList = 8D1A66341B32A127005B5931 /* Build configuration list for PBXNativeTarget "HBProgressHUD" */; 159 | buildPhases = ( 160 | 8D1A660D1B32A126005B5931 /* Sources */, 161 | 8D1A660E1B32A126005B5931 /* Frameworks */, 162 | 8D1A660F1B32A126005B5931 /* Resources */, 163 | ); 164 | buildRules = ( 165 | ); 166 | dependencies = ( 167 | ); 168 | name = HBProgressHUD; 169 | productName = HBProgressHUD; 170 | productReference = 8D1A66111B32A126005B5931 /* HBProgressHUD.app */; 171 | productType = "com.apple.product-type.application"; 172 | }; 173 | 8D1A66291B32A127005B5931 /* HBProgressHUDTests */ = { 174 | isa = PBXNativeTarget; 175 | buildConfigurationList = 8D1A66371B32A127005B5931 /* Build configuration list for PBXNativeTarget "HBProgressHUDTests" */; 176 | buildPhases = ( 177 | 8D1A66261B32A127005B5931 /* Sources */, 178 | 8D1A66271B32A127005B5931 /* Frameworks */, 179 | 8D1A66281B32A127005B5931 /* Resources */, 180 | ); 181 | buildRules = ( 182 | ); 183 | dependencies = ( 184 | 8D1A662C1B32A127005B5931 /* PBXTargetDependency */, 185 | ); 186 | name = HBProgressHUDTests; 187 | productName = HBProgressHUDTests; 188 | productReference = 8D1A662A1B32A127005B5931 /* HBProgressHUDTests.xctest */; 189 | productType = "com.apple.product-type.bundle.unit-test"; 190 | }; 191 | /* End PBXNativeTarget section */ 192 | 193 | /* Begin PBXProject section */ 194 | 8D1A66091B32A126005B5931 /* Project object */ = { 195 | isa = PBXProject; 196 | attributes = { 197 | LastUpgradeCheck = 0610; 198 | ORGANIZATIONNAME = qtm; 199 | TargetAttributes = { 200 | 8D1A66101B32A126005B5931 = { 201 | CreatedOnToolsVersion = 6.1.1; 202 | }; 203 | 8D1A66291B32A127005B5931 = { 204 | CreatedOnToolsVersion = 6.1.1; 205 | TestTargetID = 8D1A66101B32A126005B5931; 206 | }; 207 | }; 208 | }; 209 | buildConfigurationList = 8D1A660C1B32A126005B5931 /* Build configuration list for PBXProject "HBProgressHUD" */; 210 | compatibilityVersion = "Xcode 3.2"; 211 | developmentRegion = English; 212 | hasScannedForEncodings = 0; 213 | knownRegions = ( 214 | en, 215 | Base, 216 | ); 217 | mainGroup = 8D1A66081B32A126005B5931; 218 | productRefGroup = 8D1A66121B32A126005B5931 /* Products */; 219 | projectDirPath = ""; 220 | projectRoot = ""; 221 | targets = ( 222 | 8D1A66101B32A126005B5931 /* HBProgressHUD */, 223 | 8D1A66291B32A127005B5931 /* HBProgressHUDTests */, 224 | ); 225 | }; 226 | /* End PBXProject section */ 227 | 228 | /* Begin PBXResourcesBuildPhase section */ 229 | 8D1A660F1B32A126005B5931 /* Resources */ = { 230 | isa = PBXResourcesBuildPhase; 231 | buildActionMask = 2147483647; 232 | files = ( 233 | 8D1A66201B32A126005B5931 /* Main.storyboard in Resources */, 234 | 8D1A66251B32A126005B5931 /* LaunchScreen.xib in Resources */, 235 | 8D1A66221B32A126005B5931 /* Images.xcassets in Resources */, 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | }; 239 | 8D1A66281B32A127005B5931 /* Resources */ = { 240 | isa = PBXResourcesBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | /* End PBXResourcesBuildPhase section */ 247 | 248 | /* Begin PBXSourcesBuildPhase section */ 249 | 8D1A660D1B32A126005B5931 /* Sources */ = { 250 | isa = PBXSourcesBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | 8D1A66471B32A13D005B5931 /* HUDViewDemoController.m in Sources */, 254 | 8D1A663F1B32A134005B5931 /* BKProgressHUD.m in Sources */, 255 | 8D1A661A1B32A126005B5931 /* AppDelegate.m in Sources */, 256 | 8D1A66461B32A13D005B5931 /* HUDController.m in Sources */, 257 | 8D1A66171B32A126005B5931 /* main.m in Sources */, 258 | 8D1A66401B32A134005B5931 /* BKProgressViewController.m in Sources */, 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | 8D1A66261B32A127005B5931 /* Sources */ = { 263 | isa = PBXSourcesBuildPhase; 264 | buildActionMask = 2147483647; 265 | files = ( 266 | 8D1A66311B32A127005B5931 /* HBProgressHUDTests.m in Sources */, 267 | ); 268 | runOnlyForDeploymentPostprocessing = 0; 269 | }; 270 | /* End PBXSourcesBuildPhase section */ 271 | 272 | /* Begin PBXTargetDependency section */ 273 | 8D1A662C1B32A127005B5931 /* PBXTargetDependency */ = { 274 | isa = PBXTargetDependency; 275 | target = 8D1A66101B32A126005B5931 /* HBProgressHUD */; 276 | targetProxy = 8D1A662B1B32A127005B5931 /* PBXContainerItemProxy */; 277 | }; 278 | /* End PBXTargetDependency section */ 279 | 280 | /* Begin PBXVariantGroup section */ 281 | 8D1A661E1B32A126005B5931 /* Main.storyboard */ = { 282 | isa = PBXVariantGroup; 283 | children = ( 284 | 8D1A661F1B32A126005B5931 /* Base */, 285 | ); 286 | name = Main.storyboard; 287 | sourceTree = ""; 288 | }; 289 | 8D1A66231B32A126005B5931 /* LaunchScreen.xib */ = { 290 | isa = PBXVariantGroup; 291 | children = ( 292 | 8D1A66241B32A126005B5931 /* Base */, 293 | ); 294 | name = LaunchScreen.xib; 295 | sourceTree = ""; 296 | }; 297 | /* End PBXVariantGroup section */ 298 | 299 | /* Begin XCBuildConfiguration section */ 300 | 8D1A66321B32A127005B5931 /* Debug */ = { 301 | isa = XCBuildConfiguration; 302 | buildSettings = { 303 | ALWAYS_SEARCH_USER_PATHS = NO; 304 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 305 | CLANG_CXX_LIBRARY = "libc++"; 306 | CLANG_ENABLE_MODULES = YES; 307 | CLANG_ENABLE_OBJC_ARC = YES; 308 | CLANG_WARN_BOOL_CONVERSION = YES; 309 | CLANG_WARN_CONSTANT_CONVERSION = YES; 310 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 311 | CLANG_WARN_EMPTY_BODY = YES; 312 | CLANG_WARN_ENUM_CONVERSION = YES; 313 | CLANG_WARN_INT_CONVERSION = YES; 314 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 315 | CLANG_WARN_UNREACHABLE_CODE = YES; 316 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 317 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 318 | COPY_PHASE_STRIP = NO; 319 | ENABLE_STRICT_OBJC_MSGSEND = YES; 320 | GCC_C_LANGUAGE_STANDARD = gnu99; 321 | GCC_DYNAMIC_NO_PIC = NO; 322 | GCC_OPTIMIZATION_LEVEL = 0; 323 | GCC_PREPROCESSOR_DEFINITIONS = ( 324 | "DEBUG=1", 325 | "$(inherited)", 326 | ); 327 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 328 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 329 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 330 | GCC_WARN_UNDECLARED_SELECTOR = YES; 331 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 332 | GCC_WARN_UNUSED_FUNCTION = YES; 333 | GCC_WARN_UNUSED_VARIABLE = YES; 334 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 335 | MTL_ENABLE_DEBUG_INFO = YES; 336 | ONLY_ACTIVE_ARCH = YES; 337 | SDKROOT = iphoneos; 338 | TARGETED_DEVICE_FAMILY = "1,2"; 339 | }; 340 | name = Debug; 341 | }; 342 | 8D1A66331B32A127005B5931 /* Release */ = { 343 | isa = XCBuildConfiguration; 344 | buildSettings = { 345 | ALWAYS_SEARCH_USER_PATHS = NO; 346 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 347 | CLANG_CXX_LIBRARY = "libc++"; 348 | CLANG_ENABLE_MODULES = YES; 349 | CLANG_ENABLE_OBJC_ARC = YES; 350 | CLANG_WARN_BOOL_CONVERSION = YES; 351 | CLANG_WARN_CONSTANT_CONVERSION = YES; 352 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 353 | CLANG_WARN_EMPTY_BODY = YES; 354 | CLANG_WARN_ENUM_CONVERSION = YES; 355 | CLANG_WARN_INT_CONVERSION = YES; 356 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 357 | CLANG_WARN_UNREACHABLE_CODE = YES; 358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 359 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 360 | COPY_PHASE_STRIP = YES; 361 | ENABLE_NS_ASSERTIONS = NO; 362 | ENABLE_STRICT_OBJC_MSGSEND = YES; 363 | GCC_C_LANGUAGE_STANDARD = gnu99; 364 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 365 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 366 | GCC_WARN_UNDECLARED_SELECTOR = YES; 367 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 368 | GCC_WARN_UNUSED_FUNCTION = YES; 369 | GCC_WARN_UNUSED_VARIABLE = YES; 370 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 371 | MTL_ENABLE_DEBUG_INFO = NO; 372 | SDKROOT = iphoneos; 373 | TARGETED_DEVICE_FAMILY = "1,2"; 374 | VALIDATE_PRODUCT = YES; 375 | }; 376 | name = Release; 377 | }; 378 | 8D1A66351B32A127005B5931 /* Debug */ = { 379 | isa = XCBuildConfiguration; 380 | buildSettings = { 381 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 382 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 383 | INFOPLIST_FILE = HBProgressHUD/Info.plist; 384 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 385 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 386 | PRODUCT_NAME = "$(TARGET_NAME)"; 387 | }; 388 | name = Debug; 389 | }; 390 | 8D1A66361B32A127005B5931 /* Release */ = { 391 | isa = XCBuildConfiguration; 392 | buildSettings = { 393 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 394 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 395 | INFOPLIST_FILE = HBProgressHUD/Info.plist; 396 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 398 | PRODUCT_NAME = "$(TARGET_NAME)"; 399 | }; 400 | name = Release; 401 | }; 402 | 8D1A66381B32A127005B5931 /* Debug */ = { 403 | isa = XCBuildConfiguration; 404 | buildSettings = { 405 | BUNDLE_LOADER = "$(TEST_HOST)"; 406 | FRAMEWORK_SEARCH_PATHS = ( 407 | "$(SDKROOT)/Developer/Library/Frameworks", 408 | "$(inherited)", 409 | ); 410 | GCC_PREPROCESSOR_DEFINITIONS = ( 411 | "DEBUG=1", 412 | "$(inherited)", 413 | ); 414 | INFOPLIST_FILE = HBProgressHUDTests/Info.plist; 415 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 416 | PRODUCT_NAME = "$(TARGET_NAME)"; 417 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HBProgressHUD.app/HBProgressHUD"; 418 | }; 419 | name = Debug; 420 | }; 421 | 8D1A66391B32A127005B5931 /* Release */ = { 422 | isa = XCBuildConfiguration; 423 | buildSettings = { 424 | BUNDLE_LOADER = "$(TEST_HOST)"; 425 | FRAMEWORK_SEARCH_PATHS = ( 426 | "$(SDKROOT)/Developer/Library/Frameworks", 427 | "$(inherited)", 428 | ); 429 | INFOPLIST_FILE = HBProgressHUDTests/Info.plist; 430 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 431 | PRODUCT_NAME = "$(TARGET_NAME)"; 432 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HBProgressHUD.app/HBProgressHUD"; 433 | }; 434 | name = Release; 435 | }; 436 | /* End XCBuildConfiguration section */ 437 | 438 | /* Begin XCConfigurationList section */ 439 | 8D1A660C1B32A126005B5931 /* Build configuration list for PBXProject "HBProgressHUD" */ = { 440 | isa = XCConfigurationList; 441 | buildConfigurations = ( 442 | 8D1A66321B32A127005B5931 /* Debug */, 443 | 8D1A66331B32A127005B5931 /* Release */, 444 | ); 445 | defaultConfigurationIsVisible = 0; 446 | defaultConfigurationName = Release; 447 | }; 448 | 8D1A66341B32A127005B5931 /* Build configuration list for PBXNativeTarget "HBProgressHUD" */ = { 449 | isa = XCConfigurationList; 450 | buildConfigurations = ( 451 | 8D1A66351B32A127005B5931 /* Debug */, 452 | 8D1A66361B32A127005B5931 /* Release */, 453 | ); 454 | defaultConfigurationIsVisible = 0; 455 | defaultConfigurationName = Release; 456 | }; 457 | 8D1A66371B32A127005B5931 /* Build configuration list for PBXNativeTarget "HBProgressHUDTests" */ = { 458 | isa = XCConfigurationList; 459 | buildConfigurations = ( 460 | 8D1A66381B32A127005B5931 /* Debug */, 461 | 8D1A66391B32A127005B5931 /* Release */, 462 | ); 463 | defaultConfigurationIsVisible = 0; 464 | defaultConfigurationName = Release; 465 | }; 466 | /* End XCConfigurationList section */ 467 | }; 468 | rootObject = 8D1A66091B32A126005B5931 /* Project object */; 469 | } 470 | -------------------------------------------------------------------------------- /HBProgressHUD/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 | 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 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | --------------------------------------------------------------------------------