├── TEST_ImageURL ├── en.lproj │ └── InfoPlist.strings ├── ViewController.h ├── AppDelegate.h ├── main.m ├── TEST_ImageURL-Prefix.pch ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json ├── ImageSize.h ├── TEST_ImageURL-Info.plist ├── Base.lproj │ └── Main.storyboard ├── AppDelegate.m ├── ImageSize.m └── ViewController.m ├── TEST_ImageURLTests ├── en.lproj │ └── InfoPlist.strings ├── TEST_ImageURLTests-Info.plist └── TEST_ImageURLTests.m ├── README.md └── TEST_ImageURL.xcodeproj ├── xcuserdata └── cxjwin.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ ├── xcschememanagement.plist │ └── TEST_ImageURL.xcscheme ├── project.xcworkspace ├── contents.xcworkspacedata ├── xcuserdata │ └── cxjwin.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcshareddata │ └── TEST_ImageURL.xccheckout └── project.pbxproj /TEST_ImageURL/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /TEST_ImageURLTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TEST_ImageURL 2 | iOS 下载图片前如何预取图片的大小 Demo 3 | 4 | # JPG 预取 5 | https://www.file-recovery.com/jpg-signature-format.htm 6 | -------------------------------------------------------------------------------- /TEST_ImageURL.xcodeproj/xcuserdata/cxjwin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /TEST_ImageURL.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TEST_ImageURL.xcodeproj/project.xcworkspace/xcuserdata/cxjwin.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cxjwin/TEST_ImageURL/HEAD/TEST_ImageURL.xcodeproj/project.xcworkspace/xcuserdata/cxjwin.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /TEST_ImageURL/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // TEST_ImageURL 4 | // 5 | // Created by 蔡 雪钧 on 13-10-4. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /TEST_ImageURL/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // TEST_ImageURL 4 | // 5 | // Created by 蔡 雪钧 on 13-10-4. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /TEST_ImageURL/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // TEST_ImageURL 4 | // 5 | // Created by 蔡 雪钧 on 13-10-4. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /TEST_ImageURL/TEST_ImageURL-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_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /TEST_ImageURL/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 | } -------------------------------------------------------------------------------- /TEST_ImageURL/ImageSize.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImageSize.h 3 | // TEST_ImageURL 4 | // 5 | // Created by cxjwin on 13-11-8. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | extern NSString *const kPngRangeValue; 13 | extern NSString *const kJpgRangeValue; 14 | extern NSString *const kGifRangeValue; 15 | 16 | CGSize pngImageSizeWithHeaderData(NSData *data); 17 | 18 | CGSize jpgImageSizeWithHeaderData(NSData *data); 19 | 20 | CGSize gifImageSizeWithHeaderData(NSData *data); 21 | 22 | -------------------------------------------------------------------------------- /TEST_ImageURL/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 | } -------------------------------------------------------------------------------- /TEST_ImageURL.xcodeproj/xcuserdata/cxjwin.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | TEST_ImageURL.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 55DD2F9617FE734100E20B77 16 | 17 | primary 18 | 19 | 20 | 55DD2FB717FE734100E20B77 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /TEST_ImageURLTests/TEST_ImageURLTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | cxjwin.com.${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 | -------------------------------------------------------------------------------- /TEST_ImageURLTests/TEST_ImageURLTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // TEST_ImageURLTests.m 3 | // TEST_ImageURLTests 4 | // 5 | // Created by 蔡 雪钧 on 13-10-4. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TEST_ImageURLTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation TEST_ImageURLTests 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 | -------------------------------------------------------------------------------- /TEST_ImageURL/TEST_ImageURL-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | cxjwin.com.${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 | -------------------------------------------------------------------------------- /TEST_ImageURL/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 | -------------------------------------------------------------------------------- /TEST_ImageURL.xcodeproj/project.xcworkspace/xcshareddata/TEST_ImageURL.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | B6B66231-6873-408D-BDF3-D74726727194 9 | IDESourceControlProjectName 10 | TEST_ImageURL 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | 15CFED8E-9E96-41A1-85D8-8157D0196F26 14 | https://github.com/cxjwin/TEST_ImageURL.git 15 | 16 | IDESourceControlProjectPath 17 | TEST_ImageURL.xcodeproj/project.xcworkspace 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | 15CFED8E-9E96-41A1-85D8-8157D0196F26 21 | ../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/cxjwin/TEST_ImageURL.git 25 | IDESourceControlProjectVersion 26 | 110 27 | IDESourceControlProjectWCCIdentifier 28 | 15CFED8E-9E96-41A1-85D8-8157D0196F26 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | 15CFED8E-9E96-41A1-85D8-8157D0196F26 36 | IDESourceControlWCCName 37 | TEST_ImageURL 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /TEST_ImageURL/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // TEST_ImageURL 4 | // 5 | // Created by 蔡 雪钧 on 13-10-4. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @implementation AppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 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 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /TEST_ImageURL/ImageSize.m: -------------------------------------------------------------------------------- 1 | // 2 | // ImageSize.m 3 | // TEST_ImageURL 4 | // 5 | // Created by cxjwin on 13-11-8. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import "ImageSize.h" 10 | 11 | NSString *const kPngRangeValue = @"bytes=16-23"; 12 | NSString *const kJpgRangeValue = @"bytes=0-209"; 13 | NSString *const kGifRangeValue = @"bytes=6-9"; 14 | 15 | CGSize pngImageSizeWithHeaderData(NSData *data) 16 | { 17 | int w1 = 0, w2 = 0, w3 = 0, w4 = 0; 18 | [data getBytes:&w1 range:NSMakeRange(0, 1)]; 19 | [data getBytes:&w2 range:NSMakeRange(1, 1)]; 20 | [data getBytes:&w3 range:NSMakeRange(2, 1)]; 21 | [data getBytes:&w4 range:NSMakeRange(3, 1)]; 22 | int w = (w1 << 24) + (w2 << 16) + (w3 << 8) + w4; 23 | 24 | int h1 = 0, h2 = 0, h3 = 0, h4 = 0; 25 | [data getBytes:&h1 range:NSMakeRange(4, 1)]; 26 | [data getBytes:&h2 range:NSMakeRange(5, 1)]; 27 | [data getBytes:&h3 range:NSMakeRange(6, 1)]; 28 | [data getBytes:&h4 range:NSMakeRange(7, 1)]; 29 | int h = (h1 << 24) + (h2 << 16) + (h3 << 8) + h4; 30 | 31 | return CGSizeMake(w, h); 32 | } 33 | 34 | static inline CGSize jpgImageSizeWithExactData(NSData *data) 35 | { 36 | short w1 = 0, w2 = 0; 37 | [data getBytes:&w1 range:NSMakeRange(2, 1)]; 38 | [data getBytes:&w2 range:NSMakeRange(3, 1)]; 39 | short w = (w1 << 8) + w2; 40 | 41 | short h1 = 0, h2 = 0; 42 | [data getBytes:&h1 range:NSMakeRange(0, 1)]; 43 | [data getBytes:&h2 range:NSMakeRange(1, 1)]; 44 | short h = (h1 << 8) + h2; 45 | 46 | return CGSizeMake(w, h); 47 | } 48 | 49 | CGSize jpgImageSizeWithHeaderData(NSData *data) 50 | { 51 | #ifdef DEBUG 52 | // @"bytes=0-209" 53 | assert([data length] == 210); 54 | #endif 55 | short word = 0x0; 56 | [data getBytes:&word range:NSMakeRange(0x15, 0x1)]; 57 | if (word == 0xdb) { 58 | [data getBytes:&word range:NSMakeRange(0x5a, 0x1)]; 59 | if (word == 0xdb) { 60 | // 两个DQT字段 61 | NSData *exactData = [data subdataWithRange:NSMakeRange(0xa3, 0x4)]; 62 | return jpgImageSizeWithExactData(exactData); 63 | } else { 64 | // 一个DQT字段 65 | NSData *exactData = [data subdataWithRange:NSMakeRange(0x5e, 0x4)]; 66 | return jpgImageSizeWithExactData(exactData); 67 | } 68 | } else { 69 | return CGSizeZero; 70 | } 71 | } 72 | 73 | CGSize gifImageSizeWithHeaderData(NSData *data) 74 | { 75 | short w1 = 0, w2 = 0; 76 | [data getBytes:&w1 range:NSMakeRange(1, 1)]; 77 | [data getBytes:&w2 range:NSMakeRange(0, 1)]; 78 | short w = (w1 << 8) + w2; 79 | 80 | short h1 = 0, h2 = 0; 81 | [data getBytes:&h1 range:NSMakeRange(3, 1)]; 82 | [data getBytes:&h2 range:NSMakeRange(2, 1)]; 83 | short h = (h1 << 8) + h2; 84 | 85 | return CGSizeMake(w, h); 86 | } 87 | -------------------------------------------------------------------------------- /TEST_ImageURL/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // TEST_ImageURL 4 | // 5 | // Created by 蔡 雪钧 on 13-10-4. 6 | // Copyright (c) 2013年 cxjwin. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "ImageSize.h" 11 | 12 | typedef NS_ENUM(NSUInteger, ImageType) { 13 | PngImage = 1, 14 | JpgImage, 15 | GifImage, 16 | }; 17 | 18 | @interface ViewController () 19 | 20 | @property (strong, nonatomic) NSMutableData *recieveData; 21 | 22 | @end 23 | 24 | @implementation ViewController 25 | { 26 | ImageType type; 27 | } 28 | 29 | - (void)viewDidLoad 30 | { 31 | [super viewDidLoad]; 32 | // Do any additional setup after loading the view, typically from a nib. 33 | 34 | self.recieveData = [NSMutableData data]; 35 | 36 | type = PngImage; 37 | // type = JpgImage; 38 | // type = GifImage; 39 | 40 | switch (type) { 41 | case PngImage: 42 | { 43 | [self downloadPngImage]; 44 | } 45 | break; 46 | 47 | case JpgImage: 48 | { 49 | [self downloadJpgImage]; 50 | } 51 | break; 52 | 53 | case GifImage: 54 | { 55 | [self downloadGifImage]; 56 | } 57 | break; 58 | 59 | default: 60 | break; 61 | } 62 | } 63 | 64 | - (void)didReceiveMemoryWarning 65 | { 66 | [super didReceiveMemoryWarning]; 67 | // Dispose of any resources that can be recreated. 68 | } 69 | 70 | - (void)downloadPngImage 71 | { 72 | NSString *URLString = @"http://pic12.nipic.com/20110118/1295091_171039317000_2.png"; 73 | NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:URLString]]; 74 | [request setValue:kPngRangeValue forHTTPHeaderField:@"Range"]; 75 | [[NSURLConnection connectionWithRequest:request delegate:self] start]; 76 | } 77 | 78 | - (void)downloadJpgImage 79 | { 80 | NSString *URLString = @"http://ww3.sinaimg.cn/thumbnail/673c0421jw1e9a6au7h5kj218g0rsn23.jpg"; 81 | NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:URLString]]; 82 | [request setValue:kJpgRangeValue forHTTPHeaderField:@"Range"]; 83 | [[NSURLConnection connectionWithRequest:request delegate:self] start]; 84 | } 85 | 86 | - (void)downloadGifImage 87 | { 88 | NSString *URLString = @"http://img4.21tx.com/2009/1116/92/20392.gif"; 89 | NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:URLString]]; 90 | [request setValue:kGifRangeValue forHTTPHeaderField:@"Range"]; 91 | [[NSURLConnection connectionWithRequest:request delegate:self] start]; 92 | } 93 | 94 | #pragma mark - 95 | #pragma mark - NSURLConnectionDelegate 96 | - (void)connectionDidFinishLoading:(NSURLConnection *)connection 97 | { 98 | NSLog(@"recieved data length : %d", [self.recieveData length]); 99 | } 100 | 101 | - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data 102 | { 103 | switch (type) { 104 | case PngImage: 105 | { 106 | CGSize size = pngImageSizeWithHeaderData(data); 107 | NSLog(@"png image size : %@", NSStringFromCGSize(size)); 108 | } 109 | break; 110 | 111 | case JpgImage: 112 | { 113 | CGSize size = jpgImageSizeWithHeaderData(data); 114 | NSLog(@"jpg image size : %@", NSStringFromCGSize(size)); 115 | } 116 | break; 117 | 118 | case GifImage: 119 | { 120 | CGSize size = gifImageSizeWithHeaderData(data); 121 | NSLog(@"gif image size : %@", NSStringFromCGSize(size)); 122 | } 123 | break; 124 | 125 | default: 126 | break; 127 | } 128 | 129 | [self.recieveData appendData:data]; 130 | } 131 | 132 | @end 133 | -------------------------------------------------------------------------------- /TEST_ImageURL.xcodeproj/xcuserdata/cxjwin.xcuserdatad/xcschemes/TEST_ImageURL.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /TEST_ImageURL.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 55CF7398182CBBEC0086BABE /* ImageSize.m in Sources */ = {isa = PBXBuildFile; fileRef = 55CF7397182CBBEC0086BABE /* ImageSize.m */; }; 11 | 55DD2F9B17FE734100E20B77 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55DD2F9A17FE734100E20B77 /* Foundation.framework */; }; 12 | 55DD2F9D17FE734100E20B77 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55DD2F9C17FE734100E20B77 /* CoreGraphics.framework */; }; 13 | 55DD2F9F17FE734100E20B77 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55DD2F9E17FE734100E20B77 /* UIKit.framework */; }; 14 | 55DD2FA517FE734100E20B77 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 55DD2FA317FE734100E20B77 /* InfoPlist.strings */; }; 15 | 55DD2FA717FE734100E20B77 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 55DD2FA617FE734100E20B77 /* main.m */; }; 16 | 55DD2FAB17FE734100E20B77 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 55DD2FAA17FE734100E20B77 /* AppDelegate.m */; }; 17 | 55DD2FAE17FE734100E20B77 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 55DD2FAC17FE734100E20B77 /* Main.storyboard */; }; 18 | 55DD2FB117FE734100E20B77 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 55DD2FB017FE734100E20B77 /* ViewController.m */; }; 19 | 55DD2FB317FE734100E20B77 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 55DD2FB217FE734100E20B77 /* Images.xcassets */; }; 20 | 55DD2FBA17FE734100E20B77 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55DD2FB917FE734100E20B77 /* XCTest.framework */; }; 21 | 55DD2FBB17FE734100E20B77 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55DD2F9A17FE734100E20B77 /* Foundation.framework */; }; 22 | 55DD2FBC17FE734100E20B77 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55DD2F9E17FE734100E20B77 /* UIKit.framework */; }; 23 | 55DD2FC417FE734100E20B77 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 55DD2FC217FE734100E20B77 /* InfoPlist.strings */; }; 24 | 55DD2FC617FE734100E20B77 /* TEST_ImageURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 55DD2FC517FE734100E20B77 /* TEST_ImageURLTests.m */; }; 25 | 55DD2FD017FE739B00E20B77 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55DD2FCF17FE739B00E20B77 /* ImageIO.framework */; }; 26 | /* End PBXBuildFile section */ 27 | 28 | /* Begin PBXContainerItemProxy section */ 29 | 55DD2FBD17FE734100E20B77 /* PBXContainerItemProxy */ = { 30 | isa = PBXContainerItemProxy; 31 | containerPortal = 55DD2F8F17FE734100E20B77 /* Project object */; 32 | proxyType = 1; 33 | remoteGlobalIDString = 55DD2F9617FE734100E20B77; 34 | remoteInfo = TEST_ImageURL; 35 | }; 36 | /* End PBXContainerItemProxy section */ 37 | 38 | /* Begin PBXFileReference section */ 39 | 55CF7396182CBBEC0086BABE /* ImageSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageSize.h; sourceTree = ""; }; 40 | 55CF7397182CBBEC0086BABE /* ImageSize.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ImageSize.m; sourceTree = ""; }; 41 | 55DD2F9717FE734100E20B77 /* TEST_ImageURL.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TEST_ImageURL.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 55DD2F9A17FE734100E20B77 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 43 | 55DD2F9C17FE734100E20B77 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 44 | 55DD2F9E17FE734100E20B77 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 45 | 55DD2FA217FE734100E20B77 /* TEST_ImageURL-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TEST_ImageURL-Info.plist"; sourceTree = ""; }; 46 | 55DD2FA417FE734100E20B77 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 47 | 55DD2FA617FE734100E20B77 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 48 | 55DD2FA817FE734100E20B77 /* TEST_ImageURL-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TEST_ImageURL-Prefix.pch"; sourceTree = ""; }; 49 | 55DD2FA917FE734100E20B77 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 50 | 55DD2FAA17FE734100E20B77 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 51 | 55DD2FAD17FE734100E20B77 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 52 | 55DD2FAF17FE734100E20B77 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 53 | 55DD2FB017FE734100E20B77 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 54 | 55DD2FB217FE734100E20B77 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 55 | 55DD2FB817FE734100E20B77 /* TEST_ImageURLTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TEST_ImageURLTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 55DD2FB917FE734100E20B77 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 57 | 55DD2FC117FE734100E20B77 /* TEST_ImageURLTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TEST_ImageURLTests-Info.plist"; sourceTree = ""; }; 58 | 55DD2FC317FE734100E20B77 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 59 | 55DD2FC517FE734100E20B77 /* TEST_ImageURLTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TEST_ImageURLTests.m; sourceTree = ""; }; 60 | 55DD2FCF17FE739B00E20B77 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; }; 61 | /* End PBXFileReference section */ 62 | 63 | /* Begin PBXFrameworksBuildPhase section */ 64 | 55DD2F9417FE734100E20B77 /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | 55DD2FD017FE739B00E20B77 /* ImageIO.framework in Frameworks */, 69 | 55DD2F9D17FE734100E20B77 /* CoreGraphics.framework in Frameworks */, 70 | 55DD2F9F17FE734100E20B77 /* UIKit.framework in Frameworks */, 71 | 55DD2F9B17FE734100E20B77 /* Foundation.framework in Frameworks */, 72 | ); 73 | runOnlyForDeploymentPostprocessing = 0; 74 | }; 75 | 55DD2FB517FE734100E20B77 /* Frameworks */ = { 76 | isa = PBXFrameworksBuildPhase; 77 | buildActionMask = 2147483647; 78 | files = ( 79 | 55DD2FBA17FE734100E20B77 /* XCTest.framework in Frameworks */, 80 | 55DD2FBC17FE734100E20B77 /* UIKit.framework in Frameworks */, 81 | 55DD2FBB17FE734100E20B77 /* Foundation.framework in Frameworks */, 82 | ); 83 | runOnlyForDeploymentPostprocessing = 0; 84 | }; 85 | /* End PBXFrameworksBuildPhase section */ 86 | 87 | /* Begin PBXGroup section */ 88 | 55DD2F8E17FE734100E20B77 = { 89 | isa = PBXGroup; 90 | children = ( 91 | 55DD2FA017FE734100E20B77 /* TEST_ImageURL */, 92 | 55DD2FBF17FE734100E20B77 /* TEST_ImageURLTests */, 93 | 55DD2F9917FE734100E20B77 /* Frameworks */, 94 | 55DD2F9817FE734100E20B77 /* Products */, 95 | ); 96 | sourceTree = ""; 97 | }; 98 | 55DD2F9817FE734100E20B77 /* Products */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 55DD2F9717FE734100E20B77 /* TEST_ImageURL.app */, 102 | 55DD2FB817FE734100E20B77 /* TEST_ImageURLTests.xctest */, 103 | ); 104 | name = Products; 105 | sourceTree = ""; 106 | }; 107 | 55DD2F9917FE734100E20B77 /* Frameworks */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 55DD2FCF17FE739B00E20B77 /* ImageIO.framework */, 111 | 55DD2F9A17FE734100E20B77 /* Foundation.framework */, 112 | 55DD2F9C17FE734100E20B77 /* CoreGraphics.framework */, 113 | 55DD2F9E17FE734100E20B77 /* UIKit.framework */, 114 | 55DD2FB917FE734100E20B77 /* XCTest.framework */, 115 | ); 116 | name = Frameworks; 117 | sourceTree = ""; 118 | }; 119 | 55DD2FA017FE734100E20B77 /* TEST_ImageURL */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 55CF7396182CBBEC0086BABE /* ImageSize.h */, 123 | 55CF7397182CBBEC0086BABE /* ImageSize.m */, 124 | 55DD2FA917FE734100E20B77 /* AppDelegate.h */, 125 | 55DD2FAA17FE734100E20B77 /* AppDelegate.m */, 126 | 55DD2FAC17FE734100E20B77 /* Main.storyboard */, 127 | 55DD2FAF17FE734100E20B77 /* ViewController.h */, 128 | 55DD2FB017FE734100E20B77 /* ViewController.m */, 129 | 55DD2FB217FE734100E20B77 /* Images.xcassets */, 130 | 55DD2FA117FE734100E20B77 /* Supporting Files */, 131 | ); 132 | path = TEST_ImageURL; 133 | sourceTree = ""; 134 | }; 135 | 55DD2FA117FE734100E20B77 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 55DD2FA617FE734100E20B77 /* main.m */, 139 | 55DD2FA217FE734100E20B77 /* TEST_ImageURL-Info.plist */, 140 | 55DD2FA317FE734100E20B77 /* InfoPlist.strings */, 141 | 55DD2FA817FE734100E20B77 /* TEST_ImageURL-Prefix.pch */, 142 | ); 143 | name = "Supporting Files"; 144 | sourceTree = ""; 145 | }; 146 | 55DD2FBF17FE734100E20B77 /* TEST_ImageURLTests */ = { 147 | isa = PBXGroup; 148 | children = ( 149 | 55DD2FC517FE734100E20B77 /* TEST_ImageURLTests.m */, 150 | 55DD2FC017FE734100E20B77 /* Supporting Files */, 151 | ); 152 | path = TEST_ImageURLTests; 153 | sourceTree = ""; 154 | }; 155 | 55DD2FC017FE734100E20B77 /* Supporting Files */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 55DD2FC117FE734100E20B77 /* TEST_ImageURLTests-Info.plist */, 159 | 55DD2FC217FE734100E20B77 /* InfoPlist.strings */, 160 | ); 161 | name = "Supporting Files"; 162 | sourceTree = ""; 163 | }; 164 | /* End PBXGroup section */ 165 | 166 | /* Begin PBXNativeTarget section */ 167 | 55DD2F9617FE734100E20B77 /* TEST_ImageURL */ = { 168 | isa = PBXNativeTarget; 169 | buildConfigurationList = 55DD2FC917FE734100E20B77 /* Build configuration list for PBXNativeTarget "TEST_ImageURL" */; 170 | buildPhases = ( 171 | 55DD2F9317FE734100E20B77 /* Sources */, 172 | 55DD2F9417FE734100E20B77 /* Frameworks */, 173 | 55DD2F9517FE734100E20B77 /* Resources */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = TEST_ImageURL; 180 | productName = TEST_ImageURL; 181 | productReference = 55DD2F9717FE734100E20B77 /* TEST_ImageURL.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 55DD2FB717FE734100E20B77 /* TEST_ImageURLTests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 55DD2FCC17FE734100E20B77 /* Build configuration list for PBXNativeTarget "TEST_ImageURLTests" */; 187 | buildPhases = ( 188 | 55DD2FB417FE734100E20B77 /* Sources */, 189 | 55DD2FB517FE734100E20B77 /* Frameworks */, 190 | 55DD2FB617FE734100E20B77 /* Resources */, 191 | ); 192 | buildRules = ( 193 | ); 194 | dependencies = ( 195 | 55DD2FBE17FE734100E20B77 /* PBXTargetDependency */, 196 | ); 197 | name = TEST_ImageURLTests; 198 | productName = TEST_ImageURLTests; 199 | productReference = 55DD2FB817FE734100E20B77 /* TEST_ImageURLTests.xctest */; 200 | productType = "com.apple.product-type.bundle.unit-test"; 201 | }; 202 | /* End PBXNativeTarget section */ 203 | 204 | /* Begin PBXProject section */ 205 | 55DD2F8F17FE734100E20B77 /* Project object */ = { 206 | isa = PBXProject; 207 | attributes = { 208 | LastUpgradeCheck = 0500; 209 | ORGANIZATIONNAME = cxjwin; 210 | TargetAttributes = { 211 | 55DD2FB717FE734100E20B77 = { 212 | TestTargetID = 55DD2F9617FE734100E20B77; 213 | }; 214 | }; 215 | }; 216 | buildConfigurationList = 55DD2F9217FE734100E20B77 /* Build configuration list for PBXProject "TEST_ImageURL" */; 217 | compatibilityVersion = "Xcode 3.2"; 218 | developmentRegion = English; 219 | hasScannedForEncodings = 0; 220 | knownRegions = ( 221 | en, 222 | Base, 223 | ); 224 | mainGroup = 55DD2F8E17FE734100E20B77; 225 | productRefGroup = 55DD2F9817FE734100E20B77 /* Products */; 226 | projectDirPath = ""; 227 | projectRoot = ""; 228 | targets = ( 229 | 55DD2F9617FE734100E20B77 /* TEST_ImageURL */, 230 | 55DD2FB717FE734100E20B77 /* TEST_ImageURLTests */, 231 | ); 232 | }; 233 | /* End PBXProject section */ 234 | 235 | /* Begin PBXResourcesBuildPhase section */ 236 | 55DD2F9517FE734100E20B77 /* Resources */ = { 237 | isa = PBXResourcesBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 55DD2FB317FE734100E20B77 /* Images.xcassets in Resources */, 241 | 55DD2FA517FE734100E20B77 /* InfoPlist.strings in Resources */, 242 | 55DD2FAE17FE734100E20B77 /* Main.storyboard in Resources */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | 55DD2FB617FE734100E20B77 /* Resources */ = { 247 | isa = PBXResourcesBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | 55DD2FC417FE734100E20B77 /* InfoPlist.strings in Resources */, 251 | ); 252 | runOnlyForDeploymentPostprocessing = 0; 253 | }; 254 | /* End PBXResourcesBuildPhase section */ 255 | 256 | /* Begin PBXSourcesBuildPhase section */ 257 | 55DD2F9317FE734100E20B77 /* Sources */ = { 258 | isa = PBXSourcesBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | 55CF7398182CBBEC0086BABE /* ImageSize.m in Sources */, 262 | 55DD2FB117FE734100E20B77 /* ViewController.m in Sources */, 263 | 55DD2FAB17FE734100E20B77 /* AppDelegate.m in Sources */, 264 | 55DD2FA717FE734100E20B77 /* main.m in Sources */, 265 | ); 266 | runOnlyForDeploymentPostprocessing = 0; 267 | }; 268 | 55DD2FB417FE734100E20B77 /* Sources */ = { 269 | isa = PBXSourcesBuildPhase; 270 | buildActionMask = 2147483647; 271 | files = ( 272 | 55DD2FC617FE734100E20B77 /* TEST_ImageURLTests.m in Sources */, 273 | ); 274 | runOnlyForDeploymentPostprocessing = 0; 275 | }; 276 | /* End PBXSourcesBuildPhase section */ 277 | 278 | /* Begin PBXTargetDependency section */ 279 | 55DD2FBE17FE734100E20B77 /* PBXTargetDependency */ = { 280 | isa = PBXTargetDependency; 281 | target = 55DD2F9617FE734100E20B77 /* TEST_ImageURL */; 282 | targetProxy = 55DD2FBD17FE734100E20B77 /* PBXContainerItemProxy */; 283 | }; 284 | /* End PBXTargetDependency section */ 285 | 286 | /* Begin PBXVariantGroup section */ 287 | 55DD2FA317FE734100E20B77 /* InfoPlist.strings */ = { 288 | isa = PBXVariantGroup; 289 | children = ( 290 | 55DD2FA417FE734100E20B77 /* en */, 291 | ); 292 | name = InfoPlist.strings; 293 | sourceTree = ""; 294 | }; 295 | 55DD2FAC17FE734100E20B77 /* Main.storyboard */ = { 296 | isa = PBXVariantGroup; 297 | children = ( 298 | 55DD2FAD17FE734100E20B77 /* Base */, 299 | ); 300 | name = Main.storyboard; 301 | sourceTree = ""; 302 | }; 303 | 55DD2FC217FE734100E20B77 /* InfoPlist.strings */ = { 304 | isa = PBXVariantGroup; 305 | children = ( 306 | 55DD2FC317FE734100E20B77 /* en */, 307 | ); 308 | name = InfoPlist.strings; 309 | sourceTree = ""; 310 | }; 311 | /* End PBXVariantGroup section */ 312 | 313 | /* Begin XCBuildConfiguration section */ 314 | 55DD2FC717FE734100E20B77 /* Debug */ = { 315 | isa = XCBuildConfiguration; 316 | buildSettings = { 317 | ALWAYS_SEARCH_USER_PATHS = NO; 318 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 319 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 320 | CLANG_CXX_LIBRARY = "libc++"; 321 | CLANG_ENABLE_MODULES = YES; 322 | CLANG_ENABLE_OBJC_ARC = YES; 323 | CLANG_WARN_BOOL_CONVERSION = YES; 324 | CLANG_WARN_CONSTANT_CONVERSION = YES; 325 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 326 | CLANG_WARN_EMPTY_BODY = YES; 327 | CLANG_WARN_ENUM_CONVERSION = YES; 328 | CLANG_WARN_INT_CONVERSION = YES; 329 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 330 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 331 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 332 | COPY_PHASE_STRIP = NO; 333 | GCC_C_LANGUAGE_STANDARD = gnu99; 334 | GCC_DYNAMIC_NO_PIC = NO; 335 | GCC_OPTIMIZATION_LEVEL = 0; 336 | GCC_PREPROCESSOR_DEFINITIONS = ( 337 | "DEBUG=1", 338 | "$(inherited)", 339 | ); 340 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 341 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 342 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 343 | GCC_WARN_UNDECLARED_SELECTOR = YES; 344 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 345 | GCC_WARN_UNUSED_FUNCTION = YES; 346 | GCC_WARN_UNUSED_VARIABLE = YES; 347 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 348 | ONLY_ACTIVE_ARCH = YES; 349 | SDKROOT = iphoneos; 350 | }; 351 | name = Debug; 352 | }; 353 | 55DD2FC817FE734100E20B77 /* Release */ = { 354 | isa = XCBuildConfiguration; 355 | buildSettings = { 356 | ALWAYS_SEARCH_USER_PATHS = NO; 357 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 358 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 359 | CLANG_CXX_LIBRARY = "libc++"; 360 | CLANG_ENABLE_MODULES = YES; 361 | CLANG_ENABLE_OBJC_ARC = YES; 362 | CLANG_WARN_BOOL_CONVERSION = YES; 363 | CLANG_WARN_CONSTANT_CONVERSION = YES; 364 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 365 | CLANG_WARN_EMPTY_BODY = YES; 366 | CLANG_WARN_ENUM_CONVERSION = YES; 367 | CLANG_WARN_INT_CONVERSION = YES; 368 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 369 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 370 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 371 | COPY_PHASE_STRIP = YES; 372 | ENABLE_NS_ASSERTIONS = NO; 373 | GCC_C_LANGUAGE_STANDARD = gnu99; 374 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 375 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 376 | GCC_WARN_UNDECLARED_SELECTOR = YES; 377 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 378 | GCC_WARN_UNUSED_FUNCTION = YES; 379 | GCC_WARN_UNUSED_VARIABLE = YES; 380 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 381 | SDKROOT = iphoneos; 382 | VALIDATE_PRODUCT = YES; 383 | }; 384 | name = Release; 385 | }; 386 | 55DD2FCA17FE734100E20B77 /* Debug */ = { 387 | isa = XCBuildConfiguration; 388 | buildSettings = { 389 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 390 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 391 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 392 | GCC_PREFIX_HEADER = "TEST_ImageURL/TEST_ImageURL-Prefix.pch"; 393 | INFOPLIST_FILE = "TEST_ImageURL/TEST_ImageURL-Info.plist"; 394 | PRODUCT_NAME = "$(TARGET_NAME)"; 395 | WRAPPER_EXTENSION = app; 396 | }; 397 | name = Debug; 398 | }; 399 | 55DD2FCB17FE734100E20B77 /* Release */ = { 400 | isa = XCBuildConfiguration; 401 | buildSettings = { 402 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 403 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 404 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 405 | GCC_PREFIX_HEADER = "TEST_ImageURL/TEST_ImageURL-Prefix.pch"; 406 | INFOPLIST_FILE = "TEST_ImageURL/TEST_ImageURL-Info.plist"; 407 | PRODUCT_NAME = "$(TARGET_NAME)"; 408 | WRAPPER_EXTENSION = app; 409 | }; 410 | name = Release; 411 | }; 412 | 55DD2FCD17FE734100E20B77 /* Debug */ = { 413 | isa = XCBuildConfiguration; 414 | buildSettings = { 415 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 416 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TEST_ImageURL.app/TEST_ImageURL"; 417 | FRAMEWORK_SEARCH_PATHS = ( 418 | "$(SDKROOT)/Developer/Library/Frameworks", 419 | "$(inherited)", 420 | "$(DEVELOPER_FRAMEWORKS_DIR)", 421 | ); 422 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 423 | GCC_PREFIX_HEADER = "TEST_ImageURL/TEST_ImageURL-Prefix.pch"; 424 | GCC_PREPROCESSOR_DEFINITIONS = ( 425 | "DEBUG=1", 426 | "$(inherited)", 427 | ); 428 | INFOPLIST_FILE = "TEST_ImageURLTests/TEST_ImageURLTests-Info.plist"; 429 | PRODUCT_NAME = "$(TARGET_NAME)"; 430 | TEST_HOST = "$(BUNDLE_LOADER)"; 431 | WRAPPER_EXTENSION = xctest; 432 | }; 433 | name = Debug; 434 | }; 435 | 55DD2FCE17FE734100E20B77 /* Release */ = { 436 | isa = XCBuildConfiguration; 437 | buildSettings = { 438 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 439 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TEST_ImageURL.app/TEST_ImageURL"; 440 | FRAMEWORK_SEARCH_PATHS = ( 441 | "$(SDKROOT)/Developer/Library/Frameworks", 442 | "$(inherited)", 443 | "$(DEVELOPER_FRAMEWORKS_DIR)", 444 | ); 445 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 446 | GCC_PREFIX_HEADER = "TEST_ImageURL/TEST_ImageURL-Prefix.pch"; 447 | INFOPLIST_FILE = "TEST_ImageURLTests/TEST_ImageURLTests-Info.plist"; 448 | PRODUCT_NAME = "$(TARGET_NAME)"; 449 | TEST_HOST = "$(BUNDLE_LOADER)"; 450 | WRAPPER_EXTENSION = xctest; 451 | }; 452 | name = Release; 453 | }; 454 | /* End XCBuildConfiguration section */ 455 | 456 | /* Begin XCConfigurationList section */ 457 | 55DD2F9217FE734100E20B77 /* Build configuration list for PBXProject "TEST_ImageURL" */ = { 458 | isa = XCConfigurationList; 459 | buildConfigurations = ( 460 | 55DD2FC717FE734100E20B77 /* Debug */, 461 | 55DD2FC817FE734100E20B77 /* Release */, 462 | ); 463 | defaultConfigurationIsVisible = 0; 464 | defaultConfigurationName = Release; 465 | }; 466 | 55DD2FC917FE734100E20B77 /* Build configuration list for PBXNativeTarget "TEST_ImageURL" */ = { 467 | isa = XCConfigurationList; 468 | buildConfigurations = ( 469 | 55DD2FCA17FE734100E20B77 /* Debug */, 470 | 55DD2FCB17FE734100E20B77 /* Release */, 471 | ); 472 | defaultConfigurationIsVisible = 0; 473 | defaultConfigurationName = Release; 474 | }; 475 | 55DD2FCC17FE734100E20B77 /* Build configuration list for PBXNativeTarget "TEST_ImageURLTests" */ = { 476 | isa = XCConfigurationList; 477 | buildConfigurations = ( 478 | 55DD2FCD17FE734100E20B77 /* Debug */, 479 | 55DD2FCE17FE734100E20B77 /* Release */, 480 | ); 481 | defaultConfigurationIsVisible = 0; 482 | defaultConfigurationName = Release; 483 | }; 484 | /* End XCConfigurationList section */ 485 | }; 486 | rootObject = 55DD2F8F17FE734100E20B77 /* Project object */; 487 | } 488 | --------------------------------------------------------------------------------