[
  {
    "path": ".gitignore",
    "content": "\n#global\n*.orig\n\n#Pods\nPods/\n\n#ios\n*.DS_Store\n*~\nproject.xcworkspace/\n*.xccheckout\nxcuserdata/\n.svn\n.idea\n# CocoaPods\nPods\nPodfile.lock\n\n#CrashMonkey\ninstrumentscli*.trace/\ncrash_monkey_result/\n"
  },
  {
    "path": ".gitmodules",
    "content": "[submodule \"Alamofire\"]\n\tpath = Alamofire\n\turl = https://github.com/Alamofire/Alamofire.git\n    ignore = dirty\n"
  },
  {
    "path": "README.md",
    "content": "V2EX iOS客户端\n===========\n\nFeatures:\n-------\n- 最热话题\n- 节点列表\n- 节点下的话题\n- 话题内容详情与讨论\n\nBuild\n---------\n- git submodule init; git submodule update\n\nTechnology:\n-----------\n- Swift 开发\n\nTODO:\n----------\n- More features\n- Model refactoring\n\nScreenshots:\n-----------\n<img src=\"ScreenShot/hot_4.7.png\" alt=\"列表\" width=\"200px\" hspace=\"10\"/>\n<img src=\"ScreenShot/content_4.7.png\" alt=\"内容\" width=\"200px\" hspace=\"10\"/>\n<img src=\"ScreenShot/nodes_4.7.png\" alt=\"节点\" width=\"200px\" hspace=\"10\"/>\n\nLinks\n-------------\n个人其他开源项目:\n\n- 支持任意类型的URL Router:[LJURLRouter]\n\n- 自动轮播banner:[LJAutoScrollView]\n\n- 懒人笔记客户端:[Voice2Note]\n\n- Swift语法分享PPT:[SwiftSharing]\n\n- iOS \\& web混合开发框架:[HybridBridge]\n\n- 五星打分组件:[StarRatingView]\n\n- 正则定义样式的UILabel:[RichStyleLabel]\n\n- 常用图片处理category:[EasyImage]\n\n- iOS AutoLayout科普及demo:[AutoLayout]\n\n订阅文章\n-------\n欢迎关注[简书]，关注微信公众号(iOSers)，订阅高质量原创技术文章：\n\n<img src=\"http://upload-images.jianshu.io/upload_images/1859836-2f44998e2341e34d.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\" alt=\"公众号\" width=\"300px\" hspace=\"10\"/>\n\n\n[LJAutoScrollView]:https://github.com/liaojinxing/LJAutoScrollView\n[V2EXClient]:https://github.com/liaojinxing/V2EXClient\n[SwiftSharing]:https://github.com/liaojinxing/SwiftSharing\n[StarRatingView]:https://github.com/liaojinxing/StarRatingView\n[HybridBridge]:https://github.com/liaojinxing/HybridBridge\n[RichStyleLabel]:https://github.com/liaojinxing/RichStyleLabel\n[EasyImage]:https://github.com/liaojinxing/EasyImage\n[AutoLayout]:https://github.com/liaojinxing/Autolayout\n[LJURLRouter]:https://github.com/liaojinxing/LJURLRouter\n[Voice2Note]:https://github.com/liaojinxing/Voice2Note\n[简书]:http://www.jianshu.com/users/25481f0294aa/latest_articles\n"
  },
  {
    "path": "SDWebImage/.gitignore",
    "content": "# Xcode\n#\nbuild/\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nproject.xcworkspace\n!default.xcworkspace\nxcuserdata\n*.xccheckout\n*.moved-aside\nDerivedData\n*.hmap\n*.ipa\n*.xcuserstate\n\n# CocoaPods\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control\n#\nPods/\nPodfile.lock"
  },
  {
    "path": "SDWebImage/.gitmodules",
    "content": "[submodule \"Vendors/libwebp\"]\n\tpath = Vendors/libwebp\n\turl = http://git.chromium.org/webm/libwebp.git\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/AppDelegate.h",
    "content": "//\n//  AppDelegate.h\n//  SDWebImage Demo\n//\n//  Created by Olivier Poitrey on 09/05/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@property (strong, nonatomic) UINavigationController *navigationController;\n\n@end\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/AppDelegate.m",
    "content": "//\n//  AppDelegate.m\n//  SDWebImage Demo\n//\n//  Created by Olivier Poitrey on 09/05/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import \"AppDelegate.h\"\n\n#import \"MasterViewController.h\"\n\n#import <SDWebImage/SDImageCache.h>\n\n@implementation AppDelegate\n\n@synthesize window = _window;\n@synthesize navigationController = _navigationController;\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    //Add a custom read-only cache path\n    NSString *bundledPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@\"CustomPathImages\"];\n    [[SDImageCache sharedImageCache] addReadOnlyCachePath:bundledPath];\n\n    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];\n    // Override point for customization after application launch.\n\n    MasterViewController *masterViewController = [[MasterViewController alloc] initWithNibName:@\"MasterViewController\" bundle:nil];\n    self.navigationController = [[UINavigationController alloc] initWithRootViewController:masterViewController];\n    self.window.rootViewController = self.navigationController;\n    [self.window makeKeyAndVisible];\n    return YES;\n}\n\n- (void)applicationWillResignActive:(UIApplication *)application\n{\n    // 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.\n    // 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.\n}\n\n- (void)applicationDidEnterBackground:(UIApplication *)application\n{\n    // 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. \n    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n}\n\n- (void)applicationWillEnterForeground:(UIApplication *)application\n{\n    // 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.\n}\n\n- (void)applicationDidBecomeActive:(UIApplication *)application\n{\n    // 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.\n}\n\n- (void)applicationWillTerminate:(UIApplication *)application\n{\n    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/DetailViewController.h",
    "content": "//\n//  DetailViewController.h\n//  SDWebImage Demo\n//\n//  Created by Olivier Poitrey on 09/05/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface DetailViewController : UIViewController\n\n@property (strong, nonatomic) NSURL *imageURL;\n\n@property (strong, nonatomic) IBOutlet UIImageView *imageView;\n\n@end\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/DetailViewController.m",
    "content": "//\n//  DetailViewController.m\n//  SDWebImage Demo\n//\n//  Created by Olivier Poitrey on 09/05/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import \"DetailViewController.h\"\n#import <SDWebImage/UIImageView+WebCache.h>\n\n@interface DetailViewController ()\n- (void)configureView;\n@end\n\n@implementation DetailViewController\n\n@synthesize imageURL = _imageURL;\n@synthesize imageView = _imageView;\n\n#pragma mark - Managing the detail item\n\n- (void)setImageURL:(NSURL *)imageURL\n{\n    if (_imageURL != imageURL)\n    {\n        _imageURL = imageURL;\n        [self configureView];\n    }\n}\n\n- (void)configureView\n{\n    if (self.imageURL) {\n        __block UIActivityIndicatorView *activityIndicator;\n        __weak UIImageView *weakImageView = self.imageView;\n        [self.imageView sd_setImageWithURL:self.imageURL\n                          placeholderImage:nil\n                                   options:SDWebImageProgressiveDownload\n                                  progress:^(NSInteger receivedSize, NSInteger expectedSize) {\n                                      if (!activityIndicator) {\n                                          [weakImageView addSubview:activityIndicator = [UIActivityIndicatorView.alloc initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]];\n                                          activityIndicator.center = weakImageView.center;\n                                          [activityIndicator startAnimating];\n                                      }\n                                  }\n                                 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n                                     [activityIndicator removeFromSuperview];\n                                     activityIndicator = nil;\n                                 }];\n    }\n}\n\n- (void)viewDidLoad\n{\n    [super viewDidLoad];\n    [self configureView];\n}\n\n- (void)viewDidUnload\n{\n    [super viewDidUnload];\n    self.imageView = nil;\n}\n\n- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation\n{\n    return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/MasterViewController.h",
    "content": "//\n//  MasterViewController.h\n//  SDWebImage Demo\n//\n//  Created by Olivier Poitrey on 09/05/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class DetailViewController;\n\n@interface MasterViewController : UITableViewController\n\n@property (strong, nonatomic) DetailViewController *detailViewController;\n\n@end\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/MasterViewController.m",
    "content": "//\n//  MasterViewController.m\n//  SDWebImage Demo\n//\n//  Created by Olivier Poitrey on 09/05/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import \"MasterViewController.h\"\n#import <SDWebImage/UIImageView+WebCache.h>\n#import \"DetailViewController.h\"\n\n@interface MasterViewController () {\n    NSArray *_objects;\n}\n@end\n\n@implementation MasterViewController\n\n@synthesize detailViewController = _detailViewController;\n\n- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil\n{\n    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];\n    if (self)\n    {\n        self.title = @\"SDWebImage\";\n        self.navigationItem.rightBarButtonItem = [UIBarButtonItem.alloc initWithTitle:@\"Clear Cache\"\n                                                                                style:UIBarButtonItemStylePlain\n                                                                               target:self\n                                                                               action:@selector(flushCache)];\n        \n        // HTTP NTLM auth example\n        // Add your NTLM image url to the array below and replace the credentials\n        [SDWebImageManager sharedManager].imageDownloader.username = @\"httpwatch\";\n        [SDWebImageManager sharedManager].imageDownloader.password = @\"httpwatch01\";\n        \n        _objects = [NSArray arrayWithObjects:\n                    @\"http://www.httpwatch.com/httpgallery/authentication/authenticatedimage/default.aspx?0.35786508303135633\",     // requires HTTP auth, used to demo the NTLM auth\n                    @\"http://assets.sbnation.com/assets/2512203/dogflops.gif\",\n                    @\"http://www.ioncannon.net/wp-content/uploads/2011/06/test2.webp\",\n                    @\"http://www.ioncannon.net/wp-content/uploads/2011/06/test9.webp\",\n                    @\"http://static2.dmcdn.net/static/video/656/177/44771656:jpeg_preview_small.jpg?20120509154705\",\n                    @\"http://static2.dmcdn.net/static/video/629/228/44822926:jpeg_preview_small.jpg?20120509181018\",\n                    @\"http://static2.dmcdn.net/static/video/116/367/44763611:jpeg_preview_small.jpg?20120509101749\",\n                    @\"http://static2.dmcdn.net/static/video/340/086/44680043:jpeg_preview_small.jpg?20120509180118\",\n                    @\"http://static2.dmcdn.net/static/video/666/645/43546666:jpeg_preview_small.jpg?20120412153140\",\n                    @\"http://static2.dmcdn.net/static/video/771/577/44775177:jpeg_preview_small.jpg?20120509183230\",\n                    @\"http://static2.dmcdn.net/static/video/810/508/44805018:jpeg_preview_small.jpg?20120508125339\",\n                    @\"http://static2.dmcdn.net/static/video/152/008/44800251:jpeg_preview_small.jpg?20120508103336\",\n                    @\"http://static2.dmcdn.net/static/video/694/741/35147496:jpeg_preview_small.jpg?20120508111445\",\n                    @\"http://static2.dmcdn.net/static/video/988/667/44766889:jpeg_preview_small.jpg?20120508130425\",\n                    @\"http://static2.dmcdn.net/static/video/282/467/44764282:jpeg_preview_small.jpg?20120507130637\",\n                    @\"http://static2.dmcdn.net/static/video/754/657/44756457:jpeg_preview_small.jpg?20120507093012\",\n                    @\"http://static2.dmcdn.net/static/video/831/107/44701138:jpeg_preview_small.jpg?20120506133917\",\n                    @\"http://static2.dmcdn.net/static/video/411/057/44750114:jpeg_preview_small.jpg?20120507014914\",\n                    @\"http://static2.dmcdn.net/static/video/894/547/44745498:jpeg_preview_small.jpg?20120509183004\",\n                    @\"http://static2.dmcdn.net/static/video/082/947/44749280:jpeg_preview_small.jpg?20120507015022\",\n                    @\"http://static2.dmcdn.net/static/video/833/347/44743338:jpeg_preview_small.jpg?20120509183004\",\n                    @\"http://static2.dmcdn.net/static/video/683/666/44666386:jpeg_preview_small.jpg?20120505111208\",\n                    @\"http://static2.dmcdn.net/static/video/595/946/44649595:jpeg_preview_small.jpg?20120507194104\",\n                    @\"http://static2.dmcdn.net/static/video/984/935/44539489:jpeg_preview_small.jpg?20120501184650\",\n                    @\"http://static2.dmcdn.net/static/video/440/416/44614044:jpeg_preview_small.jpg?20120505174152\",\n                    @\"http://static2.dmcdn.net/static/video/561/977/20779165:jpeg_preview_small.jpg?20120423161805\",\n                    @\"http://static2.dmcdn.net/static/video/104/546/44645401:jpeg_preview_small.jpg?20120507185246\",\n                    @\"http://static2.dmcdn.net/static/video/671/636/44636176:jpeg_preview_small.jpg?20120504021339\",\n                    @\"http://static2.dmcdn.net/static/video/142/746/44647241:jpeg_preview_small.jpg?20120504104451\",\n                    @\"http://static2.dmcdn.net/static/video/776/860/44068677:jpeg_preview_small.jpg?20120507185251\",\n                    @\"http://static2.dmcdn.net/static/video/026/626/44626620:jpeg_preview_small.jpg?20120503203036\",\n                    @\"http://static2.dmcdn.net/static/video/364/663/39366463:jpeg_preview_small.jpg?20120509163505\",\n                    @\"http://static2.dmcdn.net/static/video/392/895/44598293:jpeg_preview_small.jpg?20120503165252\",\n                    @\"http://static2.dmcdn.net/static/video/620/865/44568026:jpeg_preview_small.jpg?20120507185121\",\n                    @\"http://static2.dmcdn.net/static/video/031/395/44593130:jpeg_preview_small.jpg?20120507185139\",\n                    @\"http://static2.dmcdn.net/static/video/676/495/44594676:jpeg_preview_small.jpg?20120503121341\",\n                    @\"http://static2.dmcdn.net/static/video/025/195/44591520:jpeg_preview_small.jpg?20120503132132\",\n                    @\"http://static2.dmcdn.net/static/video/993/665/44566399:jpeg_preview_small.jpg?20120503182623\",\n                    @\"http://static2.dmcdn.net/static/video/137/635/44536731:jpeg_preview_small.jpg?20120501165940\",\n                    @\"http://static2.dmcdn.net/static/video/611/794/44497116:jpeg_preview_small.jpg?20120507184954\",\n                    @\"http://static2.dmcdn.net/static/video/732/790/44097237:jpeg_preview_small.jpg?20120430162348\",\n                    @\"http://static2.dmcdn.net/static/video/064/991/44199460:jpeg_preview_small.jpg?20120430101250\",\n                    @\"http://static2.dmcdn.net/static/video/404/094/44490404:jpeg_preview_small.jpg?20120507184948\",\n                    @\"http://static2.dmcdn.net/static/video/413/120/44021314:jpeg_preview_small.jpg?20120507180850\",\n                    @\"http://static2.dmcdn.net/static/video/200/584/44485002:jpeg_preview_small.jpg?20120507184941\",\n                    @\"http://static2.dmcdn.net/static/video/551/318/42813155:jpeg_preview_small.jpg?20120412153202\",\n                    @\"http://static2.dmcdn.net/static/video/524/750/44057425:jpeg_preview_small.jpg?20120501220912\",\n                    @\"http://static2.dmcdn.net/static/video/124/843/44348421:jpeg_preview_small.jpg?20120507184551\",\n                    @\"http://static2.dmcdn.net/static/video/496/394/42493694:jpeg_preview_small.jpg?20120430105337\",\n                    @\"http://static2.dmcdn.net/static/video/548/883/44388845:jpeg_preview_small.jpg?20120428212713\",\n                    @\"http://static2.dmcdn.net/static/video/282/533/44335282:jpeg_preview_small.jpg?20120427102844\",\n                    @\"http://static2.dmcdn.net/static/video/257/132/44231752:jpeg_preview_small.jpg?20120428212609\",\n                    @\"http://static2.dmcdn.net/static/video/480/193/44391084:jpeg_preview_small.jpg?20120501143214\",\n                    @\"http://static2.dmcdn.net/static/video/903/432/44234309:jpeg_preview_small.jpg?20120427200002\",\n                    @\"http://static2.dmcdn.net/static/video/646/573/44375646:jpeg_preview_small.jpg?20120507184652\",\n                    @\"http://static2.dmcdn.net/static/video/709/573/44375907:jpeg_preview_small.jpg?20120507184652\",\n                    @\"http://static2.dmcdn.net/static/video/885/633/44336588:jpeg_preview_small.jpg?20120507184540\",\n                    @\"http://static2.dmcdn.net/static/video/732/523/44325237:jpeg_preview_small.jpg?20120426110308\",\n                    @\"http://static2.dmcdn.net/static/video/935/132/44231539:jpeg_preview_small.jpg?20120426115744\",\n                    @\"http://static2.dmcdn.net/static/video/941/129/43921149:jpeg_preview_small.jpg?20120426094640\",\n                    @\"http://static2.dmcdn.net/static/video/775/942/44249577:jpeg_preview_small.jpg?20120425011228\",\n                    @\"http://static2.dmcdn.net/static/video/868/332/44233868:jpeg_preview_small.jpg?20120429152901\",\n                    @\"http://static2.dmcdn.net/static/video/959/732/44237959:jpeg_preview_small.jpg?20120425133534\",\n                    @\"http://static2.dmcdn.net/static/video/383/402/44204383:jpeg_preview_small.jpg?20120424185842\",\n                    @\"http://static2.dmcdn.net/static/video/971/932/44239179:jpeg_preview_small.jpg?20120424154419\",\n                    @\"http://static2.dmcdn.net/static/video/096/991/44199690:jpeg_preview_small.jpg?20120423162001\",\n                    @\"http://static2.dmcdn.net/static/video/661/450/44054166:jpeg_preview_small.jpg?20120507180921\",\n                    @\"http://static2.dmcdn.net/static/video/419/322/44223914:jpeg_preview_small.jpg?20120424112858\",\n                    @\"http://static2.dmcdn.net/static/video/673/391/44193376:jpeg_preview_small.jpg?20120507181450\",\n                    @\"http://static2.dmcdn.net/static/video/907/781/44187709:jpeg_preview_small.jpg?20120423103507\",\n                    @\"http://static2.dmcdn.net/static/video/446/571/44175644:jpeg_preview_small.jpg?20120423033122\",\n                    @\"http://static2.dmcdn.net/static/video/146/671/44176641:jpeg_preview_small.jpg?20120428235503\",\n                    @\"http://static2.dmcdn.net/static/video/463/571/44175364:jpeg_preview_small.jpg?20120428235503\",\n                    @\"http://static2.dmcdn.net/static/video/442/471/44174244:jpeg_preview_small.jpg?20120428235502\",\n                    @\"http://static2.dmcdn.net/static/video/523/471/44174325:jpeg_preview_small.jpg?20120422205107\",\n                    @\"http://static2.dmcdn.net/static/video/977/159/43951779:jpeg_preview_small.jpg?20120420182100\",\n                    @\"http://static2.dmcdn.net/static/video/875/880/40088578:jpeg_preview_small.jpg?20120501131026\",\n                    @\"http://static2.dmcdn.net/static/video/434/992/38299434:jpeg_preview_small.jpg?20120503193356\",\n                    @\"http://static2.dmcdn.net/static/video/448/798/42897844:jpeg_preview_small.jpg?20120418155203\",\n                    @\"http://static2.dmcdn.net/static/video/374/690/44096473:jpeg_preview_small.jpg?20120507181124\",\n                    @\"http://static2.dmcdn.net/static/video/284/313/43313482:jpeg_preview_small.jpg?20120420184511\",\n                    @\"http://static2.dmcdn.net/static/video/682/060/44060286:jpeg_preview_small.jpg?20120421122436\",\n                    @\"http://static2.dmcdn.net/static/video/701/750/44057107:jpeg_preview_small.jpg?20120420112918\",\n                    @\"http://static2.dmcdn.net/static/video/790/850/44058097:jpeg_preview_small.jpg?20120424114522\",\n                    @\"http://static2.dmcdn.net/static/video/153/617/43716351:jpeg_preview_small.jpg?20120419190650\",\n                    @\"http://static2.dmcdn.net/static/video/394/633/37336493:jpeg_preview_small.jpg?20111109151109\",\n                    @\"http://static2.dmcdn.net/static/video/893/330/44033398:jpeg_preview_small.jpg?20120419123322\",\n                    @\"http://static2.dmcdn.net/static/video/395/046/42640593:jpeg_preview_small.jpg?20120418103546\",\n                    @\"http://static2.dmcdn.net/static/video/913/040/44040319:jpeg_preview_small.jpg?20120419164908\",\n                    @\"http://static2.dmcdn.net/static/video/090/020/44020090:jpeg_preview_small.jpg?20120418185934\",\n                    @\"http://static2.dmcdn.net/static/video/349/299/43992943:jpeg_preview_small.jpg?20120418112749\",\n                    @\"http://static2.dmcdn.net/static/video/530/189/43981035:jpeg_preview_small.jpg?20120419013834\",\n                    @\"http://static2.dmcdn.net/static/video/763/469/43964367:jpeg_preview_small.jpg?20120425111931\",\n                    @\"http://static2.dmcdn.net/static/video/961/455/43554169:jpeg_preview_small.jpg?20120418110127\",\n                    @\"http://static2.dmcdn.net/static/video/666/889/43988666:jpeg_preview_small.jpg?20120507180735\",\n                    @\"http://static2.dmcdn.net/static/video/160/459/43954061:jpeg_preview_small.jpg?20120501202847\",\n                    @\"http://static2.dmcdn.net/static/video/352/069/43960253:jpeg_preview_small.jpg?20120503175747\",\n                    @\"http://static2.dmcdn.net/static/video/096/502/43205690:jpeg_preview_small.jpg?20120417142655\",\n                    @\"http://static2.dmcdn.net/static/video/257/119/43911752:jpeg_preview_small.jpg?20120416101238\",\n                    @\"http://static2.dmcdn.net/static/video/874/098/43890478:jpeg_preview_small.jpg?20120415193608\",\n                    @\"http://static2.dmcdn.net/static/video/406/148/43841604:jpeg_preview_small.jpg?20120416123145\",\n                    @\"http://static2.dmcdn.net/static/video/463/885/43588364:jpeg_preview_small.jpg?20120409130206\",\n                    @\"http://static2.dmcdn.net/static/video/176/845/38548671:jpeg_preview_small.jpg?20120414200742\",\n                    @\"http://static2.dmcdn.net/static/video/447/848/51848744:jpeg_preview_small.jpg?20121105223446\",\n                    @\"http://static2.dmcdn.net/static/video/337/848/51848733:jpeg_preview_small.jpg?20121105223433\",\n                    @\"http://static2.dmcdn.net/static/video/707/848/51848707:jpeg_preview_small.jpg?20121105223428\",\n                    @\"http://static2.dmcdn.net/static/video/102/848/51848201:jpeg_preview_small.jpg?20121105223411\",\n                    @\"http://static2.dmcdn.net/static/video/817/848/51848718:jpeg_preview_small.jpg?20121105223402\",\n                    @\"http://static2.dmcdn.net/static/video/007/848/51848700:jpeg_preview_small.jpg?20121105223345\",\n                    @\"http://static2.dmcdn.net/static/video/696/848/51848696:jpeg_preview_small.jpg?20121105223355\",\n                    @\"http://static2.dmcdn.net/static/video/296/848/51848692:jpeg_preview_small.jpg?20121105223337\",\n                    @\"http://static2.dmcdn.net/static/video/080/848/51848080:jpeg_preview_small.jpg?20121105223653\",\n                    @\"http://static2.dmcdn.net/static/video/386/848/51848683:jpeg_preview_small.jpg?20121105223343\",\n                    @\"http://static2.dmcdn.net/static/video/876/848/51848678:jpeg_preview_small.jpg?20121105223301\",\n                    @\"http://static2.dmcdn.net/static/video/866/848/51848668:jpeg_preview_small.jpg?20121105223244\",\n                    @\"http://static2.dmcdn.net/static/video/572/548/51845275:jpeg_preview_small.jpg?20121105223229\",\n                    @\"http://static2.dmcdn.net/static/video/972/548/51845279:jpeg_preview_small.jpg?20121105223227\",\n                    @\"http://static2.dmcdn.net/static/video/112/548/51845211:jpeg_preview_small.jpg?20121105223226\",\n                    @\"http://static2.dmcdn.net/static/video/549/448/51844945:jpeg_preview_small.jpg?20121105223223\",\n                    @\"http://static2.dmcdn.net/static/video/166/848/51848661:jpeg_preview_small.jpg?20121105223228\",\n                    @\"http://static2.dmcdn.net/static/video/856/848/51848658:jpeg_preview_small.jpg?20121105223223\",\n                    @\"http://static2.dmcdn.net/static/video/746/848/51848647:jpeg_preview_small.jpg?20121105223204\",\n                    @\"http://static2.dmcdn.net/static/video/446/848/51848644:jpeg_preview_small.jpg?20121105223204\",\n                    @\"http://static2.dmcdn.net/static/video/726/848/51848627:jpeg_preview_small.jpg?20121105223221\",\n                    @\"http://static2.dmcdn.net/static/video/436/848/51848634:jpeg_preview_small.jpg?20121105223445\",\n                    @\"http://static2.dmcdn.net/static/video/836/848/51848638:jpeg_preview_small.jpg?20121105223144\",\n                    @\"http://static2.dmcdn.net/static/video/036/848/51848630:jpeg_preview_small.jpg?20121105223125\",\n                    @\"http://static2.dmcdn.net/static/video/026/848/51848620:jpeg_preview_small.jpg?20121105223102\",\n                    @\"http://static2.dmcdn.net/static/video/895/848/51848598:jpeg_preview_small.jpg?20121105223112\",\n                    @\"http://static2.dmcdn.net/static/video/116/848/51848611:jpeg_preview_small.jpg?20121105223052\",\n                    @\"http://static2.dmcdn.net/static/video/006/848/51848600:jpeg_preview_small.jpg?20121105223043\",\n                    @\"http://static2.dmcdn.net/static/video/432/548/51845234:jpeg_preview_small.jpg?20121105223022\",\n                    @\"http://static2.dmcdn.net/static/video/785/848/51848587:jpeg_preview_small.jpg?20121105223031\",\n                    @\"http://static2.dmcdn.net/static/video/975/848/51848579:jpeg_preview_small.jpg?20121105223012\",\n                    @\"http://static2.dmcdn.net/static/video/965/848/51848569:jpeg_preview_small.jpg?20121105222952\",\n                    @\"http://static2.dmcdn.net/static/video/365/848/51848563:jpeg_preview_small.jpg?20121105222943\",\n                    @\"http://static2.dmcdn.net/static/video/755/848/51848557:jpeg_preview_small.jpg?20121105222943\",\n                    @\"http://static2.dmcdn.net/static/video/722/248/51842227:jpeg_preview_small.jpg?20121105222908\",\n                    @\"http://static2.dmcdn.net/static/video/155/848/51848551:jpeg_preview_small.jpg?20121105222913\",\n                    @\"http://static2.dmcdn.net/static/video/345/848/51848543:jpeg_preview_small.jpg?20121105222907\",\n                    @\"http://static2.dmcdn.net/static/video/535/848/51848535:jpeg_preview_small.jpg?20121105222848\",\n                    @\"http://static2.dmcdn.net/static/video/035/848/51848530:jpeg_preview_small.jpg?20121105222837\",\n                    @\"http://static2.dmcdn.net/static/video/525/848/51848525:jpeg_preview_small.jpg?20121105222826\",\n                    @\"http://static2.dmcdn.net/static/video/233/848/51848332:jpeg_preview_small.jpg?20121105223414\",\n                    @\"http://static2.dmcdn.net/static/video/125/848/51848521:jpeg_preview_small.jpg?20121105222809\",\n                    @\"http://static2.dmcdn.net/static/video/005/848/51848500:jpeg_preview_small.jpg?20121105222802\",\n                    @\"http://static2.dmcdn.net/static/video/015/848/51848510:jpeg_preview_small.jpg?20121105222755\",\n                    @\"http://static2.dmcdn.net/static/video/121/548/51845121:jpeg_preview_small.jpg?20121105222850\",\n                    @\"http://static2.dmcdn.net/static/video/205/848/51848502:jpeg_preview_small.jpg?20121105222737\",\n                    @\"http://static2.dmcdn.net/static/video/697/448/51844796:jpeg_preview_small.jpg?20121105222818\",\n                    @\"http://static2.dmcdn.net/static/video/494/848/51848494:jpeg_preview_small.jpg?20121105222724\",\n                    @\"http://static2.dmcdn.net/static/video/806/448/51844608:jpeg_preview_small.jpg?20121105222811\",\n                    @\"http://static2.dmcdn.net/static/video/729/348/51843927:jpeg_preview_small.jpg?20121105222805\",\n                    @\"http://static2.dmcdn.net/static/video/865/148/51841568:jpeg_preview_small.jpg?20121105222803\",\n                    @\"http://static2.dmcdn.net/static/video/481/548/51845184:jpeg_preview_small.jpg?20121105222700\",\n                    @\"http://static2.dmcdn.net/static/video/190/548/51845091:jpeg_preview_small.jpg?20121105222656\",\n                    @\"http://static2.dmcdn.net/static/video/128/448/51844821:jpeg_preview_small.jpg?20121105222656\",\n                    @\"http://static2.dmcdn.net/static/video/784/848/51848487:jpeg_preview_small.jpg?20121105222704\",\n                    @\"http://static2.dmcdn.net/static/video/182/448/51844281:jpeg_preview_small.jpg?20121105222652\",\n                    @\"http://static2.dmcdn.net/static/video/801/848/51848108:jpeg_preview_small.jpg?20121105222907\",\n                    @\"http://static2.dmcdn.net/static/video/974/848/51848479:jpeg_preview_small.jpg?20121105222657\",\n                    @\"http://static2.dmcdn.net/static/video/274/848/51848472:jpeg_preview_small.jpg?20121105222644\",\n                    @\"http://static2.dmcdn.net/static/video/954/848/51848459:jpeg_preview_small.jpg?20121105222637\",\n                    @\"http://static2.dmcdn.net/static/video/554/848/51848455:jpeg_preview_small.jpg?20121105222615\",\n                    @\"http://static2.dmcdn.net/static/video/944/848/51848449:jpeg_preview_small.jpg?20121105222558\",\n                    @\"http://static2.dmcdn.net/static/video/144/848/51848441:jpeg_preview_small.jpg?20121105222556\",\n                    @\"http://static2.dmcdn.net/static/video/134/848/51848431:jpeg_preview_small.jpg?20121105222539\",\n                    @\"http://static2.dmcdn.net/static/video/624/848/51848426:jpeg_preview_small.jpg?20121105222523\",\n                    @\"http://static2.dmcdn.net/static/video/281/448/51844182:jpeg_preview_small.jpg?20121105222502\",\n                    @\"http://static2.dmcdn.net/static/video/414/848/51848414:jpeg_preview_small.jpg?20121105222516\",\n                    @\"http://static2.dmcdn.net/static/video/171/848/51848171:jpeg_preview_small.jpg?20121105223449\",\n                    @\"http://static2.dmcdn.net/static/video/904/848/51848409:jpeg_preview_small.jpg?20121105222514\",\n                    @\"http://static2.dmcdn.net/static/video/004/848/51848400:jpeg_preview_small.jpg?20121105222443\",\n                    @\"http://static2.dmcdn.net/static/video/693/848/51848396:jpeg_preview_small.jpg?20121105222439\",\n                    @\"http://static2.dmcdn.net/static/video/401/848/51848104:jpeg_preview_small.jpg?20121105222832\",\n                    @\"http://static2.dmcdn.net/static/video/957/648/51846759:jpeg_preview_small.jpg?20121105223109\",\n                    @\"http://static2.dmcdn.net/static/video/603/848/51848306:jpeg_preview_small.jpg?20121105222324\",\n                    @\"http://static2.dmcdn.net/static/video/990/848/51848099:jpeg_preview_small.jpg?20121105222807\",\n                    @\"http://static2.dmcdn.net/static/video/929/448/51844929:jpeg_preview_small.jpg?20121105222216\",\n                    @\"http://static2.dmcdn.net/static/video/320/548/51845023:jpeg_preview_small.jpg?20121105222214\",\n                    @\"http://static2.dmcdn.net/static/video/387/448/51844783:jpeg_preview_small.jpg?20121105222212\",\n                    @\"http://static2.dmcdn.net/static/video/833/248/51842338:jpeg_preview_small.jpg?20121105222209\",\n                    @\"http://static2.dmcdn.net/static/video/993/348/51843399:jpeg_preview_small.jpg?20121105222012\",\n                    @\"http://static2.dmcdn.net/static/video/660/848/51848066:jpeg_preview_small.jpg?20121105222754\",\n                    @\"http://static2.dmcdn.net/static/video/471/848/51848174:jpeg_preview_small.jpg?20121105223419\",\n                    @\"http://static2.dmcdn.net/static/video/255/748/51847552:jpeg_preview_small.jpg?20121105222420\",\n                    @\"http://static2.dmcdn.net/static/video/257/448/51844752:jpeg_preview_small.jpg?20121105221728\",\n                    @\"http://static2.dmcdn.net/static/video/090/848/51848090:jpeg_preview_small.jpg?20121105223020\",\n                    @\"http://static2.dmcdn.net/static/video/807/448/51844708:jpeg_preview_small.jpg?20121105221654\",\n                    @\"http://static2.dmcdn.net/static/video/196/448/51844691:jpeg_preview_small.jpg?20121105222110\",\n                    @\"http://static2.dmcdn.net/static/video/406/448/51844604:jpeg_preview_small.jpg?20121105221647\",\n                    @\"http://static2.dmcdn.net/static/video/865/348/51843568:jpeg_preview_small.jpg?20121105221644\",\n                    @\"http://static2.dmcdn.net/static/video/932/448/51844239:jpeg_preview_small.jpg?20121105221309\",\n                    @\"http://static2.dmcdn.net/static/video/967/438/51834769:jpeg_preview_small.jpg?20121105221020\",\n                    @\"http://static2.dmcdn.net/static/video/362/348/51843263:jpeg_preview_small.jpg?20121105220855\",\n                    @\"http://static2.dmcdn.net/static/video/777/448/51844777:jpeg_preview_small.jpg?20121105220715\",\n                    @\"http://static2.dmcdn.net/static/video/567/348/51843765:jpeg_preview_small.jpg?20121105220708\",\n                    @\"http://static2.dmcdn.net/static/video/905/248/51842509:jpeg_preview_small.jpg?20121105220640\",\n                    @\"http://static2.dmcdn.net/static/video/857/748/51847758:jpeg_preview_small.jpg?20121105221003\",\n                    @\"http://static2.dmcdn.net/static/video/578/348/51843875:jpeg_preview_small.jpg?20121105220350\",\n                    @\"http://static2.dmcdn.net/static/video/214/448/51844412:jpeg_preview_small.jpg?20121105220415\",\n                    @\"http://static2.dmcdn.net/static/video/264/748/51847462:jpeg_preview_small.jpg?20121105220635\",\n                    @\"http://static2.dmcdn.net/static/video/817/748/51847718:jpeg_preview_small.jpg?20121105220233\",\n                    @\"http://static2.dmcdn.net/static/video/784/848/51848487:jpeg_preview_small.jpg?20121105222704\",\n                    @\"http://static2.dmcdn.net/static/video/182/448/51844281:jpeg_preview_small.jpg?20121105222652\",\n                    @\"http://static2.dmcdn.net/static/video/801/848/51848108:jpeg_preview_small.jpg?20121105222907\",\n                    @\"http://static2.dmcdn.net/static/video/974/848/51848479:jpeg_preview_small.jpg?20121105222657\",\n                    @\"http://static2.dmcdn.net/static/video/274/848/51848472:jpeg_preview_small.jpg?20121105222644\",\n                    @\"http://static2.dmcdn.net/static/video/954/848/51848459:jpeg_preview_small.jpg?20121105222637\",\n                    @\"http://static2.dmcdn.net/static/video/554/848/51848455:jpeg_preview_small.jpg?20121105222615\",\n                    @\"http://static2.dmcdn.net/static/video/944/848/51848449:jpeg_preview_small.jpg?20121105222558\",\n                    @\"http://static2.dmcdn.net/static/video/144/848/51848441:jpeg_preview_small.jpg?20121105222556\",\n                    @\"http://static2.dmcdn.net/static/video/134/848/51848431:jpeg_preview_small.jpg?20121105222539\",\n                    @\"http://static2.dmcdn.net/static/video/624/848/51848426:jpeg_preview_small.jpg?20121105222523\",\n                    @\"http://static2.dmcdn.net/static/video/281/448/51844182:jpeg_preview_small.jpg?20121105222502\",\n                    @\"http://static2.dmcdn.net/static/video/414/848/51848414:jpeg_preview_small.jpg?20121105222516\",\n                    @\"http://static2.dmcdn.net/static/video/171/848/51848171:jpeg_preview_small.jpg?20121105223449\",\n                    @\"http://static2.dmcdn.net/static/video/904/848/51848409:jpeg_preview_small.jpg?20121105222514\",\n                    @\"http://static2.dmcdn.net/static/video/004/848/51848400:jpeg_preview_small.jpg?20121105222443\",\n                    @\"http://static2.dmcdn.net/static/video/693/848/51848396:jpeg_preview_small.jpg?20121105222439\",\n                    @\"http://static2.dmcdn.net/static/video/401/848/51848104:jpeg_preview_small.jpg?20121105222832\",\n                    @\"http://static2.dmcdn.net/static/video/957/648/51846759:jpeg_preview_small.jpg?20121105223109\",\n                    @\"http://static2.dmcdn.net/static/video/603/848/51848306:jpeg_preview_small.jpg?20121105222324\",\n                    @\"http://static2.dmcdn.net/static/video/990/848/51848099:jpeg_preview_small.jpg?20121105222807\",\n                    @\"http://static2.dmcdn.net/static/video/929/448/51844929:jpeg_preview_small.jpg?20121105222216\",\n                    @\"http://static2.dmcdn.net/static/video/320/548/51845023:jpeg_preview_small.jpg?20121105222214\",\n                    @\"http://static2.dmcdn.net/static/video/387/448/51844783:jpeg_preview_small.jpg?20121105222212\",\n                    @\"http://static2.dmcdn.net/static/video/833/248/51842338:jpeg_preview_small.jpg?20121105222209\",\n                    @\"http://static2.dmcdn.net/static/video/993/348/51843399:jpeg_preview_small.jpg?20121105222012\",\n                    @\"http://static2.dmcdn.net/static/video/660/848/51848066:jpeg_preview_small.jpg?20121105222754\",\n                    @\"http://static2.dmcdn.net/static/video/471/848/51848174:jpeg_preview_small.jpg?20121105223419\",\n                    @\"http://static2.dmcdn.net/static/video/255/748/51847552:jpeg_preview_small.jpg?20121105222420\",\n                    @\"http://static2.dmcdn.net/static/video/257/448/51844752:jpeg_preview_small.jpg?20121105221728\",\n                    @\"http://static2.dmcdn.net/static/video/090/848/51848090:jpeg_preview_small.jpg?20121105224514\",\n                    @\"http://static2.dmcdn.net/static/video/807/448/51844708:jpeg_preview_small.jpg?20121105221654\",\n                    @\"http://static2.dmcdn.net/static/video/196/448/51844691:jpeg_preview_small.jpg?20121105222110\",\n                    @\"http://static2.dmcdn.net/static/video/406/448/51844604:jpeg_preview_small.jpg?20121105221647\",\n                    @\"http://static2.dmcdn.net/static/video/865/348/51843568:jpeg_preview_small.jpg?20121105221644\",\n                    @\"http://static2.dmcdn.net/static/video/932/448/51844239:jpeg_preview_small.jpg?20121105221309\",\n                    @\"http://static2.dmcdn.net/static/video/967/438/51834769:jpeg_preview_small.jpg?20121105221020\",\n                    @\"http://static2.dmcdn.net/static/video/362/348/51843263:jpeg_preview_small.jpg?20121105220855\",\n                    @\"http://static2.dmcdn.net/static/video/777/448/51844777:jpeg_preview_small.jpg?20121105220715\",\n                    @\"http://static2.dmcdn.net/static/video/567/348/51843765:jpeg_preview_small.jpg?20121105220708\",\n                    @\"http://static2.dmcdn.net/static/video/905/248/51842509:jpeg_preview_small.jpg?20121105220640\",\n                    @\"http://static2.dmcdn.net/static/video/857/748/51847758:jpeg_preview_small.jpg?20121105221003\",\n                    @\"http://static2.dmcdn.net/static/video/578/348/51843875:jpeg_preview_small.jpg?20121105220350\",\n                    @\"http://static2.dmcdn.net/static/video/214/448/51844412:jpeg_preview_small.jpg?20121105220415\",\n                    @\"http://static2.dmcdn.net/static/video/264/748/51847462:jpeg_preview_small.jpg?20121105220635\",\n                    @\"http://static2.dmcdn.net/static/video/817/748/51847718:jpeg_preview_small.jpg?20121105220233\",\n                    @\"http://static2.dmcdn.net/static/video/807/748/51847708:jpeg_preview_small.jpg?20121105220241\",\n                    @\"http://static2.dmcdn.net/static/video/199/838/51838991:jpeg_preview_small.jpg?20121105220605\",\n                    @\"http://static2.dmcdn.net/static/video/776/748/51847677:jpeg_preview_small.jpg?20121105220150\",\n                    @\"http://static2.dmcdn.net/static/video/986/748/51847689:jpeg_preview_small.jpg?20121105224514\",\n                    @\"http://static2.dmcdn.net/static/video/915/748/51847519:jpeg_preview_small.jpg?20121105222216\",\n                    @\"http://static2.dmcdn.net/static/video/983/448/51844389:jpeg_preview_small.jpg?20121105220116\",\n                    @\"http://static2.dmcdn.net/static/video/751/348/51843157:jpeg_preview_small.jpg?20121105220104\",\n                    @\"http://static2.dmcdn.net/static/video/192/538/51835291:jpeg_preview_small.jpg?20121105220103\",\n                    @\"http://static2.dmcdn.net/static/video/596/448/51844695:jpeg_preview_small.jpg?20121105220033\",\n                    @\"http://static2.dmcdn.net/static/video/750/648/51846057:jpeg_preview_small.jpg?20121105221259\",\n                    @\"http://static2.dmcdn.net/static/video/441/148/51841144:jpeg_preview_small.jpg?20121105215911\",\n                    @\"http://static2.dmcdn.net/static/video/860/448/51844068:jpeg_preview_small.jpg?20121105215905\",\n                    @\"http://static2.dmcdn.net/static/video/995/748/51847599:jpeg_preview_small.jpg?20121105215939\",\n                    @\"http://static2.dmcdn.net/static/video/774/748/51847477:jpeg_preview_small.jpg?20121105223414\",\n                    @\"http://static2.dmcdn.net/static/video/498/648/51846894:jpeg_preview_small.jpg?20121105221807\",\n                    @\"http://static2.dmcdn.net/static/video/011/748/51847110:jpeg_preview_small.jpg?20121105221118\",\n                    @\"http://static2.dmcdn.net/static/video/794/748/51847497:jpeg_preview_small.jpg?20121105220829\",\n                    @\"http://static2.dmcdn.net/static/video/988/648/51846889:jpeg_preview_small.jpg?20121105222149\",\n                    @\"http://static2.dmcdn.net/static/video/769/548/51845967:jpeg_preview_small.jpg?20121105215601\",\n                    @\"http://static2.dmcdn.net/static/video/225/448/51844522:jpeg_preview_small.jpg?20121105215552\",\n                    @\"http://static2.dmcdn.net/static/video/172/308/51803271:jpeg_preview_small.jpg?20121105215455\",\n                    @\"http://static2.dmcdn.net/static/video/994/748/51847499:jpeg_preview_small.jpg?20121105220343\",\n                    @\"http://static2.dmcdn.net/static/video/852/748/51847258:jpeg_preview_small.jpg?20121105221031\",\n                    @\"http://static2.dmcdn.net/static/video/671/838/51838176:jpeg_preview_small.jpg?20121105215421\",\n                    @\"http://static2.dmcdn.net/static/video/172/448/51844271:jpeg_preview_small.jpg?20121105215420\",\n                    @\"http://static2.dmcdn.net/static/video/735/448/51844537:jpeg_preview_small.jpg?20121105215437\",\n                    @\"http://static2.dmcdn.net/static/video/834/448/51844438:jpeg_preview_small.jpg?20121105215431\",\n                    @\"http://static2.dmcdn.net/static/video/613/448/51844316:jpeg_preview_small.jpg?20121105215431\",\n                    @\"http://static2.dmcdn.net/static/video/581/748/51847185:jpeg_preview_small.jpg?20121105220637\",\n                    @\"http://static2.dmcdn.net/static/video/407/648/51846704:jpeg_preview_small.jpg?20121105220316\",\n                    @\"http://static2.dmcdn.net/static/video/460/448/51844064:jpeg_preview_small.jpg?20121105215245\",\n                    @\"http://static2.dmcdn.net/static/video/298/648/51846892:jpeg_preview_small.jpg?20121105220953\",\n                    @\"http://static2.dmcdn.net/static/video/053/748/51847350:jpeg_preview_small.jpg?20121105221113\",\n                    @\"http://static2.dmcdn.net/static/video/996/448/51844699:jpeg_preview_small.jpg?20121105222807\",\n                    @\"http://static2.dmcdn.net/static/video/451/448/51844154:jpeg_preview_small.jpg?20121105221955\",\n                    @\"http://static2.dmcdn.net/static/video/049/648/51846940:jpeg_preview_small.jpg?20121105215910\",\n                    @\"http://static2.dmcdn.net/static/video/091/748/51847190:jpeg_preview_small.jpg?20121105215617\",\n                    @\"http://static2.dmcdn.net/static/video/573/748/51847375:jpeg_preview_small.jpg?20121105223420\",\n                    @\"http://static2.dmcdn.net/static/video/103/248/51842301:jpeg_preview_small.jpg?20121105215014\",\n                    @\"http://static2.dmcdn.net/static/video/991/548/51845199:jpeg_preview_small.jpg?20121105215407\",\n                    @\"http://static2.dmcdn.net/static/video/872/648/51846278:jpeg_preview_small.jpg?20121105220635\",\n                    @\"http://static2.dmcdn.net/static/video/813/748/51847318:jpeg_preview_small.jpg?20121105214729\",\n                    @\"http://static2.dmcdn.net/static/video/153/448/51844351:jpeg_preview_small.jpg?20121105214622\",\n                    @\"http://static2.dmcdn.net/static/video/328/648/51846823:jpeg_preview_small.jpg?20121105214944\",\n                    @\"http://static2.dmcdn.net/static/video/892/748/51847298:jpeg_preview_small.jpg?20121105224514\",\n                    @\"http://static2.dmcdn.net/static/video/640/048/51840046:jpeg_preview_small.jpg?20121105214430\",\n                    @\"http://static2.dmcdn.net/static/video/153/648/51846351:jpeg_preview_small.jpg?20121105214426\",\n                    @\"http://static2.dmcdn.net/static/video/769/248/51842967:jpeg_preview_small.jpg?20121105214255\",\n                    @\"http://static2.dmcdn.net/static/video/720/448/51844027:jpeg_preview_small.jpg?20121105214248\",\n                    @\"http://static2.dmcdn.net/static/video/895/048/51840598:jpeg_preview_small.jpg?20121105214234\",\n                    @\"http://static2.dmcdn.net/static/video/893/348/51843398:jpeg_preview_small.jpg?20121105214157\",\n                    @\"http://static2.dmcdn.net/static/video/351/748/51847153:jpeg_preview_small.jpg?20121105214106\",\n                    @\"http://static2.dmcdn.net/static/video/364/648/51846463:jpeg_preview_small.jpg?20121105215005\",\n                    @\"http://static2.dmcdn.net/static/video/269/938/51839962:jpeg_preview_small.jpg?20121105214014\",\n                    nil];\n    }\n    [SDWebImageManager.sharedManager.imageDownloader setValue:@\"SDWebImage Demo\" forHTTPHeaderField:@\"AppName\"];\n    SDWebImageManager.sharedManager.imageDownloader.executionOrder = SDWebImageDownloaderLIFOExecutionOrder;\n    return self;\n}\n\n- (void)flushCache\n{\n    [SDWebImageManager.sharedManager.imageCache clearMemory];\n    [SDWebImageManager.sharedManager.imageCache clearDisk];\n}\n\t\t\t\t\t\t\t\n- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation\n{\n    return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);\n}\n\n#pragma mark - Table View\n\n- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView\n{\n    return 1;\n}\n\n- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section\n{\n    return _objects.count;\n}\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    static NSString *CellIdentifier = @\"Cell\";\n    \n    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];\n    if (cell == nil)\n    {\n        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];\n    }\n\n    cell.textLabel.text = [NSString stringWithFormat:@\"Image #%ld\", (long)indexPath.row];\n    cell.imageView.contentMode = UIViewContentModeScaleAspectFill;\n    [cell.imageView sd_setImageWithURL:[NSURL URLWithString:[_objects objectAtIndex:indexPath.row]]\n                      placeholderImage:[UIImage imageNamed:@\"placeholder\"] options:indexPath.row == 0 ? SDWebImageRefreshCached : 0];\n    return cell;\n}\n\n- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    if (!self.detailViewController)\n    {\n        self.detailViewController = [[DetailViewController alloc] initWithNibName:@\"DetailViewController\" bundle:nil];\n    }\n    NSString *largeImageURL = [[_objects objectAtIndex:indexPath.row] stringByReplacingOccurrencesOfString:@\"small\" withString:@\"source\"];\n    self.detailViewController.imageURL = [NSURL URLWithString:largeImageURL];\n    [self.navigationController pushViewController:self.detailViewController animated:YES];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/SDWebImage Demo-Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleDisplayName</key>\n\t<string>${PRODUCT_NAME}</string>\n\t<key>CFBundleExecutable</key>\n\t<string>${EXECUTABLE_NAME}</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>com.dailymotion.${PRODUCT_NAME:rfc1034identifier}</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>${PRODUCT_NAME}</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1.0</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/SDWebImage Demo-Prefix.pch",
    "content": "//\n// Prefix header for all source files of the 'SDWebImage Demo' target in the 'SDWebImage Demo' project\n//\n\n#import <Availability.h>\n\n#ifndef __IPHONE_4_0\n#warning \"This project uses features only available in iOS SDK 4.0 and later.\"\n#endif\n\n#ifdef __OBJC__\n    #import <UIKit/UIKit.h>\n    #import <Foundation/Foundation.h>\n#endif\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/en.lproj/DetailViewController.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<archive type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"8.00\">\n\t<data>\n\t\t<int key=\"IBDocument.SystemTarget\">1296</int>\n\t\t<string key=\"IBDocument.SystemVersion\">11D50b</string>\n\t\t<string key=\"IBDocument.InterfaceBuilderVersion\">2182</string>\n\t\t<string key=\"IBDocument.AppKitVersion\">1138.32</string>\n\t\t<string key=\"IBDocument.HIToolboxVersion\">568.00</string>\n\t\t<object class=\"NSMutableDictionary\" key=\"IBDocument.PluginVersions\">\n\t\t\t<string key=\"NS.key.0\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t<string key=\"NS.object.0\">1181</string>\n\t\t</object>\n\t\t<array key=\"IBDocument.IntegratedClassDependencies\">\n\t\t\t<string>IBProxyObject</string>\n\t\t\t<string>IBUIView</string>\n\t\t\t<string>IBUIImageView</string>\n\t\t</array>\n\t\t<array key=\"IBDocument.PluginDependencies\">\n\t\t\t<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t</array>\n\t\t<object class=\"NSMutableDictionary\" key=\"IBDocument.Metadata\">\n\t\t\t<string key=\"NS.key.0\">PluginDependencyRecalculationVersion</string>\n\t\t\t<integer value=\"1\" key=\"NS.object.0\"/>\n\t\t</object>\n\t\t<array class=\"NSMutableArray\" key=\"IBDocument.RootObjects\" id=\"1000\">\n\t\t\t<object class=\"IBProxyObject\" id=\"372490531\">\n\t\t\t\t<string key=\"IBProxiedObjectIdentifier\">IBFilesOwner</string>\n\t\t\t\t<string key=\"targetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t\t</object>\n\t\t\t<object class=\"IBProxyObject\" id=\"975951072\">\n\t\t\t\t<string key=\"IBProxiedObjectIdentifier\">IBFirstResponder</string>\n\t\t\t\t<string key=\"targetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t\t</object>\n\t\t\t<object class=\"IBUIView\" id=\"191373211\">\n\t\t\t\t<reference key=\"NSNextResponder\"/>\n\t\t\t\t<int key=\"NSvFlags\">274</int>\n\t\t\t\t<array class=\"NSMutableArray\" key=\"NSSubviews\">\n\t\t\t\t\t<object class=\"IBUIImageView\" id=\"268130440\">\n\t\t\t\t\t\t<reference key=\"NSNextResponder\" ref=\"191373211\"/>\n\t\t\t\t\t\t<int key=\"NSvFlags\">274</int>\n\t\t\t\t\t\t<string key=\"NSFrameSize\">{320, 460}</string>\n\t\t\t\t\t\t<reference key=\"NSSuperview\" ref=\"191373211\"/>\n\t\t\t\t\t\t<reference key=\"NSWindow\"/>\n\t\t\t\t\t\t<string key=\"NSReuseIdentifierKey\">_NS:9</string>\n\t\t\t\t\t\t<int key=\"IBUIContentMode\">1</int>\n\t\t\t\t\t\t<bool key=\"IBUIUserInteractionEnabled\">NO</bool>\n\t\t\t\t\t\t<string key=\"targetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t\t\t\t</object>\n\t\t\t\t</array>\n\t\t\t\t<string key=\"NSFrame\">{{0, 20}, {320, 460}}</string>\n\t\t\t\t<reference key=\"NSSuperview\"/>\n\t\t\t\t<reference key=\"NSWindow\"/>\n\t\t\t\t<object class=\"NSColor\" key=\"IBUIBackgroundColor\">\n\t\t\t\t\t<int key=\"NSColorSpace\">3</int>\n\t\t\t\t\t<bytes key=\"NSWhite\">MQA</bytes>\n\t\t\t\t\t<object class=\"NSColorSpace\" key=\"NSCustomColorSpace\">\n\t\t\t\t\t\t<int key=\"NSID\">2</int>\n\t\t\t\t\t</object>\n\t\t\t\t</object>\n\t\t\t\t<object class=\"IBUISimulatedStatusBarMetrics\" key=\"IBUISimulatedStatusBarMetrics\"/>\n\t\t\t\t<string key=\"targetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t\t</object>\n\t\t</array>\n\t\t<object class=\"IBObjectContainer\" key=\"IBDocument.Objects\">\n\t\t\t<array class=\"NSMutableArray\" key=\"connectionRecords\">\n\t\t\t\t<object class=\"IBConnectionRecord\">\n\t\t\t\t\t<object class=\"IBCocoaTouchOutletConnection\" key=\"connection\">\n\t\t\t\t\t\t<string key=\"label\">view</string>\n\t\t\t\t\t\t<reference key=\"source\" ref=\"372490531\"/>\n\t\t\t\t\t\t<reference key=\"destination\" ref=\"191373211\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<int key=\"connectionID\">3</int>\n\t\t\t\t</object>\n\t\t\t\t<object class=\"IBConnectionRecord\">\n\t\t\t\t\t<object class=\"IBCocoaTouchOutletConnection\" key=\"connection\">\n\t\t\t\t\t\t<string key=\"label\">imageView</string>\n\t\t\t\t\t\t<reference key=\"source\" ref=\"372490531\"/>\n\t\t\t\t\t\t<reference key=\"destination\" ref=\"268130440\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<int key=\"connectionID\">8</int>\n\t\t\t\t</object>\n\t\t\t</array>\n\t\t\t<object class=\"IBMutableOrderedSet\" key=\"objectRecords\">\n\t\t\t\t<array key=\"orderedObjects\">\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">0</int>\n\t\t\t\t\t\t<array key=\"object\" id=\"0\"/>\n\t\t\t\t\t\t<reference key=\"children\" ref=\"1000\"/>\n\t\t\t\t\t\t<nil key=\"parent\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">1</int>\n\t\t\t\t\t\t<reference key=\"object\" ref=\"191373211\"/>\n\t\t\t\t\t\t<array class=\"NSMutableArray\" key=\"children\">\n\t\t\t\t\t\t\t<reference ref=\"268130440\"/>\n\t\t\t\t\t\t</array>\n\t\t\t\t\t\t<reference key=\"parent\" ref=\"0\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">-1</int>\n\t\t\t\t\t\t<reference key=\"object\" ref=\"372490531\"/>\n\t\t\t\t\t\t<reference key=\"parent\" ref=\"0\"/>\n\t\t\t\t\t\t<string key=\"objectName\">File's Owner</string>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">-2</int>\n\t\t\t\t\t\t<reference key=\"object\" ref=\"975951072\"/>\n\t\t\t\t\t\t<reference key=\"parent\" ref=\"0\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">7</int>\n\t\t\t\t\t\t<reference key=\"object\" ref=\"268130440\"/>\n\t\t\t\t\t\t<reference key=\"parent\" ref=\"191373211\"/>\n\t\t\t\t\t</object>\n\t\t\t\t</array>\n\t\t\t</object>\n\t\t\t<dictionary class=\"NSMutableDictionary\" key=\"flattenedProperties\">\n\t\t\t\t<string key=\"-1.CustomClassName\">DetailViewController</string>\n\t\t\t\t<string key=\"-1.IBPluginDependency\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t\t<string key=\"-2.CustomClassName\">UIResponder</string>\n\t\t\t\t<string key=\"-2.IBPluginDependency\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t\t<string key=\"1.IBPluginDependency\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t\t<string key=\"7.IBPluginDependency\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t</dictionary>\n\t\t\t<dictionary class=\"NSMutableDictionary\" key=\"unlocalizedProperties\"/>\n\t\t\t<nil key=\"activeLocalization\"/>\n\t\t\t<dictionary class=\"NSMutableDictionary\" key=\"localizations\"/>\n\t\t\t<nil key=\"sourceID\"/>\n\t\t\t<int key=\"maxID\">8</int>\n\t\t</object>\n\t\t<object class=\"IBClassDescriber\" key=\"IBDocument.Classes\">\n\t\t\t<array class=\"NSMutableArray\" key=\"referencedPartialClassDescriptions\">\n\t\t\t\t<object class=\"IBPartialClassDescription\">\n\t\t\t\t\t<string key=\"className\">DetailViewController</string>\n\t\t\t\t\t<string key=\"superclassName\">UIViewController</string>\n\t\t\t\t\t<object class=\"NSMutableDictionary\" key=\"outlets\">\n\t\t\t\t\t\t<string key=\"NS.key.0\">imageView</string>\n\t\t\t\t\t\t<string key=\"NS.object.0\">UIImageView</string>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"NSMutableDictionary\" key=\"toOneOutletInfosByName\">\n\t\t\t\t\t\t<string key=\"NS.key.0\">imageView</string>\n\t\t\t\t\t\t<object class=\"IBToOneOutletInfo\" key=\"NS.object.0\">\n\t\t\t\t\t\t\t<string key=\"name\">imageView</string>\n\t\t\t\t\t\t\t<string key=\"candidateClassName\">UIImageView</string>\n\t\t\t\t\t\t</object>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBClassDescriptionSource\" key=\"sourceIdentifier\">\n\t\t\t\t\t\t<string key=\"majorKey\">IBProjectSource</string>\n\t\t\t\t\t\t<string key=\"minorKey\">./Classes/DetailViewController.h</string>\n\t\t\t\t\t</object>\n\t\t\t\t</object>\n\t\t\t</array>\n\t\t</object>\n\t\t<int key=\"IBDocument.localizationMode\">0</int>\n\t\t<string key=\"IBDocument.TargetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t<object class=\"NSMutableDictionary\" key=\"IBDocument.PluginDeclaredDependencyDefaults\">\n\t\t\t<string key=\"NS.key.0\">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>\n\t\t\t<real value=\"1296\" key=\"NS.object.0\"/>\n\t\t</object>\n\t\t<bool key=\"IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion\">YES</bool>\n\t\t<int key=\"IBDocument.defaultPropertyAccessControl\">3</int>\n\t\t<string key=\"IBCocoaTouchPluginVersion\">1181</string>\n\t</data>\n</archive>\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/en.lproj/MasterViewController.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<archive type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"8.00\">\n\t<data>\n\t\t<int key=\"IBDocument.SystemTarget\">1280</int>\n\t\t<string key=\"IBDocument.SystemVersion\">11C25</string>\n\t\t<string key=\"IBDocument.InterfaceBuilderVersion\">1919</string>\n\t\t<string key=\"IBDocument.AppKitVersion\">1138.11</string>\n\t\t<string key=\"IBDocument.HIToolboxVersion\">566.00</string>\n\t\t<object class=\"NSMutableDictionary\" key=\"IBDocument.PluginVersions\">\n\t\t\t<string key=\"NS.key.0\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t<string key=\"NS.object.0\">916</string>\n\t\t</object>\n\t\t<array key=\"IBDocument.IntegratedClassDependencies\">\n\t\t\t<string>IBProxyObject</string>\n\t\t\t<string>IBUITableView</string>\n\t\t</array>\n\t\t<array key=\"IBDocument.PluginDependencies\">\n\t\t\t<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t</array>\n\t\t<object class=\"NSMutableDictionary\" key=\"IBDocument.Metadata\">\n\t\t\t<string key=\"NS.key.0\">PluginDependencyRecalculationVersion</string>\n\t\t\t<integer value=\"1\" key=\"NS.object.0\"/>\n\t\t</object>\n\t\t<array class=\"NSMutableArray\" key=\"IBDocument.RootObjects\" id=\"1000\">\n\t\t\t<object class=\"IBProxyObject\" id=\"841351856\">\n\t\t\t\t<string key=\"IBProxiedObjectIdentifier\">IBFilesOwner</string>\n\t\t\t\t<string key=\"targetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t\t</object>\n\t\t\t<object class=\"IBProxyObject\" id=\"371349661\">\n\t\t\t\t<string key=\"IBProxiedObjectIdentifier\">IBFirstResponder</string>\n\t\t\t\t<string key=\"targetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t\t</object>\n\t\t\t<object class=\"IBUITableView\" id=\"709618507\">\n\t\t\t\t<reference key=\"NSNextResponder\"/>\n\t\t\t\t<int key=\"NSvFlags\">274</int>\n\t\t\t\t<string key=\"NSFrame\">{{0, 20}, {320, 460}}</string>\n\t\t\t\t<reference key=\"NSSuperview\"/>\n\t\t\t\t<reference key=\"NSWindow\"/>\n\t\t\t\t<object class=\"NSColor\" key=\"IBUIBackgroundColor\">\n\t\t\t\t\t<int key=\"NSColorSpace\">3</int>\n\t\t\t\t\t<bytes key=\"NSWhite\">MQA</bytes>\n\t\t\t\t</object>\n\t\t\t\t<bool key=\"IBUIClipsSubviews\">YES</bool>\n\t\t\t\t<object class=\"IBUISimulatedStatusBarMetrics\" key=\"IBUISimulatedStatusBarMetrics\"/>\n\t\t\t\t<string key=\"targetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t\t\t<bool key=\"IBUIAlwaysBounceVertical\">YES</bool>\n\t\t\t\t<int key=\"IBUISeparatorStyle\">1</int>\n\t\t\t\t<int key=\"IBUISectionIndexMinimumDisplayRowCount\">0</int>\n\t\t\t\t<bool key=\"IBUIShowsSelectionImmediatelyOnTouchBegin\">YES</bool>\n\t\t\t\t<float key=\"IBUIRowHeight\">44</float>\n\t\t\t\t<float key=\"IBUISectionHeaderHeight\">22</float>\n\t\t\t\t<float key=\"IBUISectionFooterHeight\">22</float>\n\t\t\t</object>\n\t\t</array>\n\t\t<object class=\"IBObjectContainer\" key=\"IBDocument.Objects\">\n\t\t\t<array class=\"NSMutableArray\" key=\"connectionRecords\">\n\t\t\t\t<object class=\"IBConnectionRecord\">\n\t\t\t\t\t<object class=\"IBCocoaTouchOutletConnection\" key=\"connection\">\n\t\t\t\t\t\t<string key=\"label\">view</string>\n\t\t\t\t\t\t<reference key=\"source\" ref=\"841351856\"/>\n\t\t\t\t\t\t<reference key=\"destination\" ref=\"709618507\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<int key=\"connectionID\">3</int>\n\t\t\t\t</object>\n\t\t\t\t<object class=\"IBConnectionRecord\">\n\t\t\t\t\t<object class=\"IBCocoaTouchOutletConnection\" key=\"connection\">\n\t\t\t\t\t\t<string key=\"label\">dataSource</string>\n\t\t\t\t\t\t<reference key=\"source\" ref=\"709618507\"/>\n\t\t\t\t\t\t<reference key=\"destination\" ref=\"841351856\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<int key=\"connectionID\">4</int>\n\t\t\t\t</object>\n\t\t\t\t<object class=\"IBConnectionRecord\">\n\t\t\t\t\t<object class=\"IBCocoaTouchOutletConnection\" key=\"connection\">\n\t\t\t\t\t\t<string key=\"label\">delegate</string>\n\t\t\t\t\t\t<reference key=\"source\" ref=\"709618507\"/>\n\t\t\t\t\t\t<reference key=\"destination\" ref=\"841351856\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<int key=\"connectionID\">5</int>\n\t\t\t\t</object>\n\t\t\t</array>\n\t\t\t<object class=\"IBMutableOrderedSet\" key=\"objectRecords\">\n\t\t\t\t<array key=\"orderedObjects\">\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">0</int>\n\t\t\t\t\t\t<array key=\"object\" id=\"0\"/>\n\t\t\t\t\t\t<reference key=\"children\" ref=\"1000\"/>\n\t\t\t\t\t\t<nil key=\"parent\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">-1</int>\n\t\t\t\t\t\t<reference key=\"object\" ref=\"841351856\"/>\n\t\t\t\t\t\t<reference key=\"parent\" ref=\"0\"/>\n\t\t\t\t\t\t<string key=\"objectName\">File's Owner</string>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">-2</int>\n\t\t\t\t\t\t<reference key=\"object\" ref=\"371349661\"/>\n\t\t\t\t\t\t<reference key=\"parent\" ref=\"0\"/>\n\t\t\t\t\t</object>\n\t\t\t\t\t<object class=\"IBObjectRecord\">\n\t\t\t\t\t\t<int key=\"objectID\">2</int>\n\t\t\t\t\t\t<reference key=\"object\" ref=\"709618507\"/>\n\t\t\t\t\t\t<reference key=\"parent\" ref=\"0\"/>\n\t\t\t\t\t</object>\n\t\t\t\t</array>\n\t\t\t</object>\n\t\t\t<dictionary class=\"NSMutableDictionary\" key=\"flattenedProperties\">\n\t\t\t\t<string key=\"-1.CustomClassName\">MasterViewController</string>\n\t\t\t\t<string key=\"-1.IBPluginDependency\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t\t<string key=\"-2.CustomClassName\">UIResponder</string>\n\t\t\t\t<string key=\"-2.IBPluginDependency\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t\t<string key=\"2.IBPluginDependency\">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>\n\t\t\t</dictionary>\n\t\t\t<dictionary class=\"NSMutableDictionary\" key=\"unlocalizedProperties\"/>\n\t\t\t<nil key=\"activeLocalization\"/>\n\t\t\t<dictionary class=\"NSMutableDictionary\" key=\"localizations\"/>\n\t\t\t<nil key=\"sourceID\"/>\n\t\t\t<int key=\"maxID\">5</int>\n\t\t</object>\n\t\t<object class=\"IBClassDescriber\" key=\"IBDocument.Classes\">\n\t\t\t<array class=\"NSMutableArray\" key=\"referencedPartialClassDescriptions\">\n\t\t\t\t<object class=\"IBPartialClassDescription\">\n\t\t\t\t\t<string key=\"className\">MasterViewController</string>\n\t\t\t\t\t<string key=\"superclassName\">UITableViewController</string>\n\t\t\t\t\t<object class=\"IBClassDescriptionSource\" key=\"sourceIdentifier\">\n\t\t\t\t\t\t<string key=\"majorKey\">IBProjectSource</string>\n\t\t\t\t\t\t<string key=\"minorKey\">./Classes/MasterViewController.h</string>\n\t\t\t\t\t</object>\n\t\t\t\t</object>\n\t\t\t</array>\n\t\t</object>\n\t\t<int key=\"IBDocument.localizationMode\">0</int>\n\t\t<string key=\"IBDocument.TargetRuntimeIdentifier\">IBCocoaTouchFramework</string>\n\t\t<bool key=\"IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion\">YES</bool>\n\t\t<int key=\"IBDocument.defaultPropertyAccessControl\">3</int>\n\t\t<string key=\"IBCocoaTouchPluginVersion\">916</string>\n\t</data>\n</archive>\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo/main.m",
    "content": "//\n//  main.m\n//  SDWebImage Demo\n//\n//  Created by Olivier Poitrey on 09/05/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import \"AppDelegate.h\"\n\nint main(int argc, char *argv[])\n{\n    @autoreleasepool {\n        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));\n    }\n}\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t3E75A9861742DBE700DA412D /* CustomPathImages in Resources */ = {isa = PBXBuildFile; fileRef = 3E75A9851742DBE700DA412D /* CustomPathImages */; };\n\t\t531041C1157EAC8F00BBABC3 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 537612E6155ABA44005750A4 /* ImageIO.framework */; };\n\t\t5376129A155AB74D005750A4 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53761299155AB74D005750A4 /* UIKit.framework */; };\n\t\t5376129C155AB74D005750A4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5376129B155AB74D005750A4 /* Foundation.framework */; };\n\t\t5376129E155AB74D005750A4 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5376129D155AB74D005750A4 /* CoreGraphics.framework */; };\n\t\t537612A6155AB74D005750A4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 537612A5155AB74D005750A4 /* main.m */; };\n\t\t537612AA155AB74D005750A4 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 537612A9155AB74D005750A4 /* AppDelegate.m */; };\n\t\t537612AD155AB74D005750A4 /* MasterViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 537612AC155AB74D005750A4 /* MasterViewController.m */; };\n\t\t537612B0155AB74D005750A4 /* DetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 537612AF155AB74D005750A4 /* DetailViewController.m */; };\n\t\t537612B3155AB74D005750A4 /* MasterViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 537612B1155AB74D005750A4 /* MasterViewController.xib */; };\n\t\t537612B6155AB74D005750A4 /* DetailViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 537612B4155AB74D005750A4 /* DetailViewController.xib */; };\n\t\t53A2B50D155B155A00B12423 /* placeholder.png in Resources */ = {isa = PBXBuildFile; fileRef = 53A2B50B155B155A00B12423 /* placeholder.png */; };\n\t\t53A2B50E155B155A00B12423 /* placeholder@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 53A2B50C155B155A00B12423 /* placeholder@2x.png */; };\n\t\t53EEC18916484553007601E1 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 53EEC18816484553007601E1 /* Default-568h@2x.png */; };\n\t\tDA248D44195470FD00390AB0 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 537612E3155ABA3C005750A4 /* MapKit.framework */; };\n\t\tDA248D79195484A500390AB0 /* libSDWebImage+WebP.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DA248D761954841D00390AB0 /* libSDWebImage+WebP.a */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\tDA248D731954841D00390AB0 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = DA248D6C1954841D00390AB0 /* SDWebImage.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 53761325155AD0D5005750A4;\n\t\t\tremoteInfo = SDWebImage;\n\t\t};\n\t\tDA248D751954841D00390AB0 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = DA248D6C1954841D00390AB0 /* SDWebImage.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 537D95C117ECC1FE0097C263;\n\t\t\tremoteInfo = \"SDWebImage+WebP\";\n\t\t};\n\t\tDA248D771954841D00390AB0 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = DA248D6C1954841D00390AB0 /* SDWebImage.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 531041E0157EAFA400BBABC3;\n\t\t\tremoteInfo = \"SDWebImage+MKAnnotation\";\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t3E75A9851742DBE700DA412D /* CustomPathImages */ = {isa = PBXFileReference; lastKnownFileType = folder; path = CustomPathImages; sourceTree = SOURCE_ROOT; };\n\t\t53761295155AB74D005750A4 /* SDWebImage Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"SDWebImage Demo.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t53761299155AB74D005750A4 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };\n\t\t5376129B155AB74D005750A4 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };\n\t\t5376129D155AB74D005750A4 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };\n\t\t537612A1155AB74D005750A4 /* SDWebImage Demo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = \"SDWebImage Demo-Info.plist\"; sourceTree = \"<group>\"; };\n\t\t537612A5155AB74D005750A4 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = \"<group>\"; };\n\t\t537612A7155AB74D005750A4 /* SDWebImage Demo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = \"SDWebImage Demo-Prefix.pch\"; sourceTree = \"<group>\"; };\n\t\t537612A8155AB74D005750A4 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = \"<group>\"; };\n\t\t537612A9155AB74D005750A4 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = \"<group>\"; };\n\t\t537612AB155AB74D005750A4 /* MasterViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MasterViewController.h; sourceTree = \"<group>\"; };\n\t\t537612AC155AB74D005750A4 /* MasterViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MasterViewController.m; sourceTree = \"<group>\"; };\n\t\t537612AE155AB74D005750A4 /* DetailViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DetailViewController.h; sourceTree = \"<group>\"; };\n\t\t537612AF155AB74D005750A4 /* DetailViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DetailViewController.m; sourceTree = \"<group>\"; };\n\t\t537612B2155AB74D005750A4 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MasterViewController.xib; sourceTree = \"<group>\"; };\n\t\t537612B5155AB74D005750A4 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/DetailViewController.xib; sourceTree = \"<group>\"; };\n\t\t537612E3155ABA3C005750A4 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; };\n\t\t537612E6155ABA44005750A4 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; };\n\t\t53A2B50B155B155A00B12423 /* placeholder.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = placeholder.png; sourceTree = \"<group>\"; };\n\t\t53A2B50C155B155A00B12423 /* placeholder@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = \"placeholder@2x.png\"; sourceTree = \"<group>\"; };\n\t\t53EEC18816484553007601E1 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = \"Default-568h@2x.png\"; path = \"../Default-568h@2x.png\"; sourceTree = \"<group>\"; };\n\t\tDA248D6C1954841D00390AB0 /* SDWebImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = SDWebImage.xcodeproj; path = ../SDWebImage.xcodeproj; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t53761292155AB74D005750A4 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDA248D79195484A500390AB0 /* libSDWebImage+WebP.a in Frameworks */,\n\t\t\t\tDA248D44195470FD00390AB0 /* MapKit.framework in Frameworks */,\n\t\t\t\t531041C1157EAC8F00BBABC3 /* ImageIO.framework in Frameworks */,\n\t\t\t\t5376129A155AB74D005750A4 /* UIKit.framework in Frameworks */,\n\t\t\t\t5376129C155AB74D005750A4 /* Foundation.framework in Frameworks */,\n\t\t\t\t5376129E155AB74D005750A4 /* CoreGraphics.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t5376128A155AB74D005750A4 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D6C1954841D00390AB0 /* SDWebImage.xcodeproj */,\n\t\t\t\t5376129F155AB74D005750A4 /* SDWebImage Demo */,\n\t\t\t\t53761298155AB74D005750A4 /* Frameworks */,\n\t\t\t\t53761296155AB74D005750A4 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53761296155AB74D005750A4 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53761295155AB74D005750A4 /* SDWebImage Demo.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53761298155AB74D005750A4 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t537612E6155ABA44005750A4 /* ImageIO.framework */,\n\t\t\t\t537612E3155ABA3C005750A4 /* MapKit.framework */,\n\t\t\t\t53761299155AB74D005750A4 /* UIKit.framework */,\n\t\t\t\t5376129B155AB74D005750A4 /* Foundation.framework */,\n\t\t\t\t5376129D155AB74D005750A4 /* CoreGraphics.framework */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5376129F155AB74D005750A4 /* SDWebImage Demo */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t3E75A9851742DBE700DA412D /* CustomPathImages */,\n\t\t\t\t537612A8155AB74D005750A4 /* AppDelegate.h */,\n\t\t\t\t537612A9155AB74D005750A4 /* AppDelegate.m */,\n\t\t\t\t537612AB155AB74D005750A4 /* MasterViewController.h */,\n\t\t\t\t537612AC155AB74D005750A4 /* MasterViewController.m */,\n\t\t\t\t537612AE155AB74D005750A4 /* DetailViewController.h */,\n\t\t\t\t537612AF155AB74D005750A4 /* DetailViewController.m */,\n\t\t\t\t537612B1155AB74D005750A4 /* MasterViewController.xib */,\n\t\t\t\t537612B4155AB74D005750A4 /* DetailViewController.xib */,\n\t\t\t\t537612A0155AB74D005750A4 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = \"SDWebImage Demo\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t537612A0155AB74D005750A4 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53EEC18816484553007601E1 /* Default-568h@2x.png */,\n\t\t\t\t537612A1155AB74D005750A4 /* SDWebImage Demo-Info.plist */,\n\t\t\t\t537612A5155AB74D005750A4 /* main.m */,\n\t\t\t\t537612A7155AB74D005750A4 /* SDWebImage Demo-Prefix.pch */,\n\t\t\t\t53A2B50B155B155A00B12423 /* placeholder.png */,\n\t\t\t\t53A2B50C155B155A00B12423 /* placeholder@2x.png */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDA248D6D1954841D00390AB0 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D741954841D00390AB0 /* libSDWebImage.a */,\n\t\t\t\tDA248D761954841D00390AB0 /* libSDWebImage+WebP.a */,\n\t\t\t\tDA248D781954841D00390AB0 /* libSDWebImage+MKAnnotation.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t53761294155AB74D005750A4 /* SDWebImage Demo */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 537612B9155AB74D005750A4 /* Build configuration list for PBXNativeTarget \"SDWebImage Demo\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t53761291155AB74D005750A4 /* Sources */,\n\t\t\t\t53761292155AB74D005750A4 /* Frameworks */,\n\t\t\t\t53761293155AB74D005750A4 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"SDWebImage Demo\";\n\t\t\tproductName = \"SDWebImage Demo\";\n\t\t\tproductReference = 53761295155AB74D005750A4 /* SDWebImage Demo.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t5376128C155AB74D005750A4 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0500;\n\t\t\t\tORGANIZATIONNAME = Dailymotion;\n\t\t\t};\n\t\t\tbuildConfigurationList = 5376128F155AB74D005750A4 /* Build configuration list for PBXProject \"SDWebImage Demo\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t);\n\t\t\tmainGroup = 5376128A155AB74D005750A4;\n\t\t\tproductRefGroup = 53761296155AB74D005750A4 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectReferences = (\n\t\t\t\t{\n\t\t\t\t\tProductGroup = DA248D6D1954841D00390AB0 /* Products */;\n\t\t\t\t\tProjectRef = DA248D6C1954841D00390AB0 /* SDWebImage.xcodeproj */;\n\t\t\t\t},\n\t\t\t);\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t53761294155AB74D005750A4 /* SDWebImage Demo */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXReferenceProxy section */\n\t\tDA248D741954841D00390AB0 /* libSDWebImage.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libSDWebImage.a;\n\t\t\tremoteRef = DA248D731954841D00390AB0 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\tDA248D761954841D00390AB0 /* libSDWebImage+WebP.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = \"libSDWebImage+WebP.a\";\n\t\t\tremoteRef = DA248D751954841D00390AB0 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\tDA248D781954841D00390AB0 /* libSDWebImage+MKAnnotation.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = \"libSDWebImage+MKAnnotation.a\";\n\t\t\tremoteRef = DA248D771954841D00390AB0 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n/* End PBXReferenceProxy section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t53761293155AB74D005750A4 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t537612B3155AB74D005750A4 /* MasterViewController.xib in Resources */,\n\t\t\t\t537612B6155AB74D005750A4 /* DetailViewController.xib in Resources */,\n\t\t\t\t53A2B50D155B155A00B12423 /* placeholder.png in Resources */,\n\t\t\t\t53A2B50E155B155A00B12423 /* placeholder@2x.png in Resources */,\n\t\t\t\t53EEC18916484553007601E1 /* Default-568h@2x.png in Resources */,\n\t\t\t\t3E75A9861742DBE700DA412D /* CustomPathImages in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t53761291155AB74D005750A4 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t537612A6155AB74D005750A4 /* main.m in Sources */,\n\t\t\t\t537612AA155AB74D005750A4 /* AppDelegate.m in Sources */,\n\t\t\t\t537612AD155AB74D005750A4 /* MasterViewController.m in Sources */,\n\t\t\t\t537612B0155AB74D005750A4 /* DetailViewController.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t537612B1155AB74D005750A4 /* MasterViewController.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t537612B2155AB74D005750A4 /* en */,\n\t\t\t);\n\t\t\tname = MasterViewController.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t537612B4155AB74D005750A4 /* DetailViewController.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t537612B5155AB74D005750A4 /* en */,\n\t\t\t);\n\t\t\tname = DetailViewController.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t537612B7155AB74D005750A4 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = \"compiler-default\";\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_VERSION = \"\";\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 5.0;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t537612B8155AB74D005750A4 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = \"compiler-default\";\n\t\t\t\tGCC_VERSION = \"\";\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 5.0;\n\t\t\t\tOTHER_CFLAGS = \"-DNS_BLOCK_ASSERTIONS=1\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t537612BA155AB74D005750A4 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"SDWebImage Demo/SDWebImage Demo-Prefix.pch\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"DEBUG=1\";\n\t\t\t\tHEADER_SEARCH_PATHS = (\n\t\t\t\t\t\"\\\"$(OBJROOT)/UninstalledProducts/include\\\"\",\n\t\t\t\t\t\"\\\"$(TARGET_BUILD_DIR)/usr/local/lib/include\\\"\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = \"SDWebImage Demo/SDWebImage Demo-Info.plist\";\n\t\t\t\tOTHER_CFLAGS = \"\";\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tWRAPPER_EXTENSION = app;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t537612BB155AB74D005750A4 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"SDWebImage Demo/SDWebImage Demo-Prefix.pch\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"\";\n\t\t\t\tHEADER_SEARCH_PATHS = (\n\t\t\t\t\t\"\\\"$(OBJROOT)/UninstalledProducts/include\\\"\",\n\t\t\t\t\t\"\\\"$(TARGET_BUILD_DIR)/usr/local/lib/include\\\"\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = \"SDWebImage Demo/SDWebImage Demo-Info.plist\";\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tWRAPPER_EXTENSION = app;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t5376128F155AB74D005750A4 /* Build configuration list for PBXProject \"SDWebImage Demo\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t537612B7155AB74D005750A4 /* Debug */,\n\t\t\t\t537612B8155AB74D005750A4 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t537612B9155AB74D005750A4 /* Build configuration list for PBXNativeTarget \"SDWebImage Demo\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t537612BA155AB74D005750A4 /* Debug */,\n\t\t\t\t537612BB155AB74D005750A4 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 5376128C155AB74D005750A4 /* Project object */;\n}\n"
  },
  {
    "path": "SDWebImage/Examples/SDWebImage Demo.xcodeproj/xcshareddata/xcschemes/SDWebImage Demo.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0510\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"53761294155AB74D005750A4\"\n               BuildableName = \"SDWebImage Demo.app\"\n               BlueprintName = \"SDWebImage Demo\"\n               ReferencedContainer = \"container:SDWebImage Demo.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"53761294155AB74D005750A4\"\n            BuildableName = \"SDWebImage Demo.app\"\n            BlueprintName = \"SDWebImage Demo\"\n            ReferencedContainer = \"container:SDWebImage Demo.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"53761294155AB74D005750A4\"\n            BuildableName = \"SDWebImage Demo.app\"\n            BlueprintName = \"SDWebImage Demo\"\n            ReferencedContainer = \"container:SDWebImage Demo.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"53761294155AB74D005750A4\"\n            BuildableName = \"SDWebImage Demo.app\"\n            BlueprintName = \"SDWebImage Demo\"\n            ReferencedContainer = \"container:SDWebImage Demo.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "SDWebImage/LICENSE",
    "content": "Copyright (c) 2009 Olivier Poitrey <rs@dailymotion.com>\n \nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n \nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n \nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n"
  },
  {
    "path": "SDWebImage/README.md",
    "content": "Web Image\n=========\n[![Build Status](http://img.shields.io/travis/rs/SDWebImage/master.svg?style=flat)](https://travis-ci.org/rs/SDWebImage)\n[![Pod Version](http://img.shields.io/cocoapods/v/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/)\n[![Pod Platform](http://img.shields.io/cocoapods/p/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/)\n[![Pod License](http://img.shields.io/cocoapods/l/SDWebImage.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\nThis library provides a category for UIImageView with support for remote images coming from the web.\n\nIt provides:\n\n- An UIImageView category adding web image and cache management to the Cocoa Touch framework\n- An asynchronous image downloader\n- An asynchronous memory + disk image caching with automatic cache expiration handling\n- Animated GIF support\n- WebP format support\n- A background image decompression\n- A guarantee that the same URL won't be downloaded several times\n- A guarantee that bogus URLs won't be retried again and again\n- A guarantee that main thread will never be blocked\n- Performances!\n- Use GCD and ARC\n- Arm64 support\n\nNOTE: The version 3.0 of SDWebImage isn't fully backward compatible with 2.0 and requires iOS 5.1.1\nminimum deployement version. If you need iOS < 5.0 support, please use the last [2.0 version](https://github.com/rs/SDWebImage/tree/2.0-compat).\n\n[How is SDWebImage better than X?](https://github.com/rs/SDWebImage/wiki/How-is-SDWebImage-better-than-X%3F)\n\nWho Use It\n----------\n\nFind out [who uses SDWebImage](https://github.com/rs/SDWebImage/wiki/Who-Uses-SDWebImage) and add your app to the list.\n\nHow To Use\n----------\n\nAPI documentation is available at [http://hackemist.com/SDWebImage/doc/](http://hackemist.com/SDWebImage/doc/)\n\n### Using UIImageView+WebCache category with UITableView\n\nJust #import the UIImageView+WebCache.h header, and call the setImageWithURL:placeholderImage:\nmethod from the tableView:cellForRowAtIndexPath: UITableViewDataSource method. Everything will be\nhandled for you, from async downloads to caching management.\n\n```objective-c\n#import <SDWebImage/UIImageView+WebCache.h>\n\n...\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    static NSString *MyIdentifier = @\"MyIdentifier\";\n\n    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];\n\n    if (cell == nil)\n    {\n        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault\n                                       reuseIdentifier:MyIdentifier] autorelease];\n    }\n\n    // Here we use the new provided setImageWithURL: method to load the web image\n    [cell.imageView setImageWithURL:[NSURL URLWithString:@\"http://www.domain.com/path/to/image.jpg\"]\n                   placeholderImage:[UIImage imageNamed:@\"placeholder.png\"]];\n\n    cell.textLabel.text = @\"My Text\";\n    return cell;\n}\n```\n\n### Using blocks\n\nWith blocks, you can be notified about the image download progress and whenever the image retrival\nhas completed with success or not:\n\n```objective-c\n// Here we use the new provided setImageWithURL: method to load the web image\n[cell.imageView setImageWithURL:[NSURL URLWithString:@\"http://www.domain.com/path/to/image.jpg\"]\n               placeholderImage:[UIImage imageNamed:@\"placeholder.png\"]\n                      completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) {... completion code here ...}];\n```\n\nNote: neither your success nor failure block will be call if your image request is canceled before completion.\n\n### Using SDWebImageManager\n\nThe SDWebImageManager is the class behind the UIImageView+WebCache category. It ties the\nasynchronous downloader with the image cache store. You can use this class directly to benefit\nfrom web image downloading with caching in another context than a UIView (ie: with Cocoa).\n\nHere is a simple example of how to use SDWebImageManager:\n\n```objective-c\nSDWebImageManager *manager = [SDWebImageManager sharedManager];\n[manager downloadWithURL:imageURL\n                 options:0\n                 progress:^(NSInteger receivedSize, NSInteger expectedSize)\n                 {\n                     // progression tracking code\n                 }\n                 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished)\n                 {\n                     if (image)\n                     {\n                         // do something with image\n                     }\n                 }];\n```\n\n### Using Asynchronous Image Downloader Independently\n\nIt's also possible to use the async image downloader independently:\n\n```objective-c\n[SDWebImageDownloader.sharedDownloader downloadImageWithURL:imageURL\n                                                    options:0\n                                                   progress:^(NSInteger receivedSize, NSInteger expectedSize)\n                                                   {\n                                                       // progression tracking code\n                                                   }\n                                                   completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished)\n                                                   {\n                                                       if (image && finished)\n                                                       {\n                                                           // do something with image\n                                                       }\n                                                   }];\n```\n\n### Using Asynchronous Image Caching Independently\n\nIt is also possible to use the aync based image cache store independently. SDImageCache\nmaintains a memory cache and an optional disk cache. Disk cache write operations are performed\nasynchronous so it doesn't add unnecessary latency to the UI.\n\nThe SDImageCache class provides a singleton instance for convenience but you can create your own\ninstance if you want to create separated cache namespace.\n\nTo lookup the cache, you use the `queryDiskCacheForKey:done:` method. If the method returns nil, it means the cache\ndoesn't currently own the image. You are thus responsible for generating and caching it. The cache\nkey is an application unique identifier for the image to cache. It is generally the absolute URL of\nthe image.\n\n```objective-c\nSDImageCache *imageCache = [[SDImageCache alloc] initWithNamespace:@\"myNamespace\"];\n[imageCache queryDiskCacheForKey:myCacheKey done:^(UIImage *image)\n{\n    // image is not nil if image was found\n}];\n```\n\nBy default SDImageCache will lookup the disk cache if an image can't be found in the memory cache.\nYou can prevent this from happening by calling the alternative method `imageFromMemoryCacheForKey:`.\n\nTo store an image into the cache, you use the storeImage:forKey: method:\n\n```objective-c\n[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey];\n```\n\nBy default, the image will be stored in memory cache as well as on disk cache (asynchronously). If\nyou want only the memory cache, use the alternative method storeImage:forKey:toDisk: with a negative\nthird argument.\n\n### Using cache key filter\n\nSometime, you may not want to use the image URL as cache key because part of the URL is dynamic\n(i.e.: for access control purpose). SDWebImageManager provides a way to set a cache key filter that\ntakes the NSURL as input, and output a cache key NSString.\n\nThe following example sets a filter in the application delegate that will remove any query-string from\nthe URL before to use it as a cache key:\n\n```objective-c\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    SDWebImageManager.sharedManager.cacheKeyFilter:^(NSURL *url)\n    {\n        url = [[[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path] autorelease];\n        return [url absoluteString];\n    };\n\n    // Your app init code...\n    return YES;\n}\n```\n\n\nCommon Problems\n---------------\n\n### Using dynamic image size with UITableViewCell\n\nUITableView determins the size of the image by the first image set for a cell. If your remote images\ndon't have the same size as your placeholder image, you may experience strange anamorphic scaling issue.\nThe following article gives a way to workaround this issue:\n\n[http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/](http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/)\n\n\n### Handle image refresh\n\nSDWebImage does very aggressive caching by default. It ignores all kind of caching control header returned by the HTTP server and cache the returned images with no time restriction. It implies your images URLs are static URLs pointing to images that never change. If the pointed image happen to change, some parts of the URL should change accordingly.\n\nIf you don't control the image server you're using, you may not be able to change the URL when its content is updated. This is the case for Facebook avatar URLs for instance. In such case, you may use the `SDWebImageRefreshCached` flag. This will slightly degrade the performance but will respect the HTTP caching control headers:\n\n``` objective-c\n[imageView setImageWithURL:[NSURL URLWithString:@\"https://graph.facebook.com/olivier.poitrey/picture\"]\n          placeholderImage:[UIImage imageNamed:@\"avatar-placeholder.png\"]\n                   options:SDWebImageRefreshCached];\n```\n\n### Add a progress indicator\n\nSee this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage\n\nInstallation\n------------\n\nThere are three ways to use SDWebImage in your project:\n- using Cocoapods\n- copying all the files into your project\n- importing the project as a static library\n\n### Installation with CocoaPods\n\n[CocoaPods](http://cocoapods.org/) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the [Get Started](http://cocoapods.org/#get_started) section for more details.\n\n#### Podfile\n```\nplatform :ios, '6.1'\npod 'SDWebImage', '~>3.6'\n```\n\n### Add the SDWebImage project to your project\n\n- Download and unzip the last version of the framework from the [download page](https://github.com/rs/SDWebImage/releases)\n- Right-click on the project navigator and select \"Add Files to \"Your Project\":\n- In the dialog, select SDWebImage.framework:\n- Check the \"Copy items into destination group's folder (if needed)\" checkbox\n\n### Add dependencies\n\n- In you application project app’s target settings, find the \"Build Phases\" section and open the \"Link Binary With Libraries\" block:\n- Click the \"+\" button again and select the \"ImageIO.framework\", this is needed by the progressive download feature:\n\n### Add Linker Flag\n\nOpen the \"Build Settings\" tab, in the \"Linking\" section, locate the \"Other Linker Flags\" setting and add the \"-ObjC\" flag:\n\n![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg)\n\nAlternatively, if this causes compilation problems with frameworks that extend optional libraries, such as Parse,  RestKit or opencv2, instead of the -ObjC flag use:\n\n```\n-force_load SDWebImage.framework/Versions/Current/SDWebImage\n```\n\n### Import headers in your source files\n\nIn the source files where you need to use the library, import the header file:\n\n```objective-c\n#import <SDWebImage/UIImageView+WebCache.h>\n```\n\n### Build Project\n\nAt this point your workspace should build without error. If you are having problem, post to the Issue and the\ncommunity can help you solve it.\n\nFuture Enhancements\n-------------------\n\n- LRU memory cache cleanup instead of reset on memory warning\n\n## Licenses\n\nAll source code is licensed under the [MIT License](https://raw.github.com/rs/SDWebImage/master/LICENSE).\n"
  },
  {
    "path": "SDWebImage/SDWebImage/MKAnnotationView+WebCache.h",
    "content": "//\n//  MKAnnotationView+WebCache.h\n//  SDWebImage\n//\n//  Created by Olivier Poitrey on 14/03/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import \"MapKit/MapKit.h\"\n#import \"SDWebImageManager.h\"\n\n/**\n * Integrates SDWebImage async downloading and caching of remote images with MKAnnotationView.\n */\n@interface MKAnnotationView (WebCache)\n\n/**\n * Get the current image URL.\n *\n * Note that because of the limitations of categories this property can get out of sync\n * if you use sd_setImage: directly.\n */\n- (NSURL *)sd_imageURL;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url The url for the image.\n */\n- (void)sd_setImageWithURL:(NSURL *)url;\n\n/**\n * Set the imageView `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Cancel the current download\n */\n- (void)sd_cancelCurrentImageLoad;\n\n@end\n\n\n@interface MKAnnotationView (WebCacheDeprecated)\n\n- (NSURL *)imageURL __deprecated_msg(\"Use `sd_imageURL`\");\n\n- (void)setImageWithURL:(NSURL *)url __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:options:`\");\n\n- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:completed:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:completed:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:options:completed:`\");\n\n- (void)cancelCurrentImageLoad __deprecated_msg(\"Use `sd_cancelCurrentImageLoad`\");\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/MKAnnotationView+WebCache.m",
    "content": "//\n//  MKAnnotationView+WebCache.m\n//  SDWebImage\n//\n//  Created by Olivier Poitrey on 14/03/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import \"MKAnnotationView+WebCache.h\"\n#import \"objc/runtime.h\"\n#import \"UIView+WebCacheOperation.h\"\n\nstatic char imageURLKey;\n\n@implementation MKAnnotationView (WebCache)\n\n- (NSURL *)sd_imageURL {\n    return objc_getAssociatedObject(self, &imageURLKey);\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_cancelCurrentImageLoad];\n\n    objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    self.image = placeholder;\n\n    if (url) {\n        __weak MKAnnotationView *wself = self;\n        id <SDWebImageOperation> operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n            if (!wself) return;\n            dispatch_main_sync_safe(^{\n                __strong MKAnnotationView *sself = wself;\n                if (!sself) return;\n                if (image) {\n                    sself.image = image;\n                }\n                if (completedBlock && finished) {\n                    completedBlock(image, error, cacheType, url);\n                }\n            });\n        }];\n        [self sd_setImageLoadOperation:operation forKey:@\"MKAnnotationViewImage\"];\n    } else {\n        dispatch_main_async_safe(^{\n            NSError *error = [NSError errorWithDomain:@\"SDWebImageErrorDomain\" code:-1 userInfo:@{NSLocalizedDescriptionKey : @\"Trying to load a nil url\"}];\n            if (completedBlock) {\n                completedBlock(nil, error, SDImageCacheTypeNone, url);\n            }\n        });\n    }\n}\n\n- (void)sd_cancelCurrentImageLoad {\n    [self sd_cancelImageLoadOperationWithKey:@\"MKAnnotationViewImage\"];\n}\n\n@end\n\n\n@implementation MKAnnotationView (WebCacheDeprecated)\n\n- (NSURL *)imageURL {\n    return [self sd_imageURL];\n}\n\n- (void)setImageWithURL:(NSURL *)url {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)cancelCurrentImageLoad {\n    [self sd_cancelCurrentImageLoad];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/NSData+ImageContentType.h",
    "content": "//\n// Created by Fabrice Aneche on 06/01/14.\n// Copyright (c) 2014 Dailymotion. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSData (ImageContentType)\n\n/**\n *  Compute the content type for an image data\n *\n *  @param data the input data\n *\n *  @return the content type as string (i.e. image/jpeg, image/gif)\n */\n+ (NSString *)sd_contentTypeForImageData:(NSData *)data;\n\n@end\n\n\n@interface NSData (ImageContentTypeDeprecated)\n\n+ (NSString *)contentTypeForImageData:(NSData *)data __deprecated_msg(\"Use `sd_contentTypeForImageData:`\");\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/NSData+ImageContentType.m",
    "content": "//\n// Created by Fabrice Aneche on 06/01/14.\n// Copyright (c) 2014 Dailymotion. All rights reserved.\n//\n\n#import \"NSData+ImageContentType.h\"\n\n\n@implementation NSData (ImageContentType)\n\n+ (NSString *)sd_contentTypeForImageData:(NSData *)data {\n    uint8_t c;\n    [data getBytes:&c length:1];\n    switch (c) {\n        case 0xFF:\n            return @\"image/jpeg\";\n        case 0x89:\n            return @\"image/png\";\n        case 0x47:\n            return @\"image/gif\";\n        case 0x49:\n        case 0x4D:\n            return @\"image/tiff\";\n        case 0x52:\n            // R as RIFF for WEBP\n            if ([data length] < 12) {\n                return nil;\n            }\n\n            NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding];\n            if ([testString hasPrefix:@\"RIFF\"] && [testString hasSuffix:@\"WEBP\"]) {\n                return @\"image/webp\";\n            }\n\n            return nil;\n    }\n    return nil;\n}\n\n@end\n\n\n@implementation NSData (ImageContentTypeDeprecated)\n\n+ (NSString *)contentTypeForImageData:(NSData *)data {\n    return [self sd_contentTypeForImageData:data];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDImageCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n\ntypedef NS_ENUM(NSInteger, SDImageCacheType) {\n    /**\n     * The image wasn't available the SDWebImage caches, but was downloaded from the web.\n     */\n    SDImageCacheTypeNone,\n    /**\n     * The image was obtained from the disk cache.\n     */\n    SDImageCacheTypeDisk,\n    /**\n     * The image was obtained from the memory cache.\n     */\n    SDImageCacheTypeMemory\n};\n\ntypedef void(^SDWebImageQueryCompletedBlock)(UIImage *image, SDImageCacheType cacheType);\n\ntypedef void(^SDWebImageCheckCacheCompletionBlock)(BOOL isInCache);\n\ntypedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger totalSize);\n\n/**\n * SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed\n * asynchronous so it doesn’t add unnecessary latency to the UI.\n */\n@interface SDImageCache : NSObject\n\n/**\n * The maximum \"total cost\" of the in-memory image cache. The cost function is the number of pixels held in memory.\n */\n@property (assign, nonatomic) NSUInteger maxMemoryCost;\n\n/**\n * The maximum length of time to keep an image in the cache, in seconds\n */\n@property (assign, nonatomic) NSInteger maxCacheAge;\n\n/**\n * The maximum size of the cache, in bytes.\n */\n@property (assign, nonatomic) NSUInteger maxCacheSize;\n\n/**\n * Returns global shared cache instance\n *\n * @return SDImageCache global instance\n */\n+ (SDImageCache *)sharedImageCache;\n\n/**\n * Init a new cache store with a specific namespace\n *\n * @param ns The namespace to use for this cache store\n */\n- (id)initWithNamespace:(NSString *)ns;\n\n/**\n * Add a read-only cache path to search for images pre-cached by SDImageCache\n * Useful if you want to bundle pre-loaded images with your app\n *\n * @param path The path to use for this read-only cache path\n */\n- (void)addReadOnlyCachePath:(NSString *)path;\n\n/**\n * Store an image into memory and disk cache at the given key.\n *\n * @param image The image to store\n * @param key   The unique image cache key, usually it's image absolute URL\n */\n- (void)storeImage:(UIImage *)image forKey:(NSString *)key;\n\n/**\n * Store an image into memory and optionally disk cache at the given key.\n *\n * @param image  The image to store\n * @param key    The unique image cache key, usually it's image absolute URL\n * @param toDisk Store the image to disk cache if YES\n */\n- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk;\n\n/**\n * Store an image into memory and optionally disk cache at the given key.\n *\n * @param image       The image to store\n * @param recalculate BOOL indicates if imageData can be used or a new data should be constructed from the UIImage\n * @param imageData   The image data as returned by the server, this representation will be used for disk storage\n *                    instead of converting the given image object into a storable/compressed image format in order\n *                    to save quality and CPU\n * @param key         The unique image cache key, usually it's image absolute URL\n * @param toDisk      Store the image to disk cache if YES\n */\n- (void)storeImage:(UIImage *)image recalculateFromImage:(BOOL)recalculate imageData:(NSData *)imageData forKey:(NSString *)key toDisk:(BOOL)toDisk;\n\n/**\n * Query the disk cache asynchronously.\n *\n * @param key The unique key used to store the wanted image\n */\n- (NSOperation *)queryDiskCacheForKey:(NSString *)key done:(SDWebImageQueryCompletedBlock)doneBlock;\n\n/**\n * Query the memory cache synchronously.\n *\n * @param key The unique key used to store the wanted image\n */\n- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key;\n\n/**\n * Query the disk cache synchronously after checking the memory cache.\n *\n * @param key The unique key used to store the wanted image\n */\n- (UIImage *)imageFromDiskCacheForKey:(NSString *)key;\n\n/**\n * Remove the image from memory and disk cache synchronously\n *\n * @param key The unique image cache key\n */\n- (void)removeImageForKey:(NSString *)key;\n\n\n/**\n * Remove the image from memory and disk cache synchronously\n *\n * @param key             The unique image cache key\n * @param completionBlock An block that should be executed after the image has been removed (optional)\n */\n- (void)removeImageForKey:(NSString *)key withCompletion:(SDWebImageNoParamsBlock)completion;\n\n/**\n * Remove the image from memory and optionally disk cache synchronously\n *\n * @param key      The unique image cache key\n * @param fromDisk Also remove cache entry from disk if YES\n */\n- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk;\n\n/**\n * Remove the image from memory and optionally disk cache synchronously\n *\n * @param key             The unique image cache key\n * @param fromDisk        Also remove cache entry from disk if YES\n * @param completionBlock An block that should be executed after the image has been removed (optional)\n */\n- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(SDWebImageNoParamsBlock)completion;\n\n/**\n * Clear all memory cached images\n */\n- (void)clearMemory;\n\n/**\n * Clear all disk cached images. Non-blocking method - returns immediately.\n * @param completionBlock An block that should be executed after cache expiration completes (optional)\n */\n- (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion;\n\n/**\n * Clear all disk cached images\n * @see clearDiskOnCompletion:\n */\n- (void)clearDisk;\n\n/**\n * Remove all expired cached image from disk. Non-blocking method - returns immediately.\n * @param completionBlock An block that should be executed after cache expiration completes (optional)\n */\n- (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock;\n\n/**\n * Remove all expired cached image from disk\n * @see cleanDiskWithCompletionBlock:\n */\n- (void)cleanDisk;\n\n/**\n * Get the size used by the disk cache\n */\n- (NSUInteger)getSize;\n\n/**\n * Get the number of images in the disk cache\n */\n- (NSUInteger)getDiskCount;\n\n/**\n * Asynchronously calculate the disk cache's size.\n */\n- (void)calculateSizeWithCompletionBlock:(SDWebImageCalculateSizeBlock)completionBlock;\n\n/**\n *  Async check if image exists in disk cache already (does not load the image)\n *\n *  @param key             the key describing the url\n *  @param completionBlock the block to be executed when the check is done.\n *  @note the completion block will be always executed on the main queue\n */\n- (void)diskImageExistsWithKey:(NSString *)key completion:(SDWebImageCheckCacheCompletionBlock)completionBlock;\n\n/**\n *  Check if image exists in disk cache already (does not load the image)\n *\n *  @param key the key describing the url\n *\n *  @return YES if an image exists for the given key\n */\n- (BOOL)diskImageExistsWithKey:(NSString *)key;\n\n/**\n *  Get the cache path for a certain key (needs the cache path root folder)\n *\n *  @param key  the key (can be obtained from url using cacheKeyForURL)\n *  @param path the cach path root folder\n *\n *  @return the cache path\n */\n- (NSString *)cachePathForKey:(NSString *)key inPath:(NSString *)path;\n\n/**\n *  Get the default cache path for a certain key\n *\n *  @param key the key (can be obtained from url using cacheKeyForURL)\n *\n *  @return the default cache path\n */\n- (NSString *)defaultCachePathForKey:(NSString *)key;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDImageCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDImageCache.h\"\n#import \"SDWebImageDecoder.h\"\n#import \"UIImage+MultiFormat.h\"\n#import <CommonCrypto/CommonDigest.h>\n\nstatic const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week\n// PNG signature bytes and data (below)\nstatic unsigned char kPNGSignatureBytes[8] = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A};\nstatic NSData *kPNGSignatureData = nil;\n\nBOOL ImageDataHasPNGPreffix(NSData *data);\n\nBOOL ImageDataHasPNGPreffix(NSData *data) {\n    NSUInteger pngSignatureLength = [kPNGSignatureData length];\n    if ([data length] >= pngSignatureLength) {\n        if ([[data subdataWithRange:NSMakeRange(0, pngSignatureLength)] isEqualToData:kPNGSignatureData]) {\n            return YES;\n        }\n    }\n\n    return NO;\n}\n\n@interface SDImageCache ()\n\n@property (strong, nonatomic) NSCache *memCache;\n@property (strong, nonatomic) NSString *diskCachePath;\n@property (strong, nonatomic) NSMutableArray *customPaths;\n@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t ioQueue;\n\n@end\n\n\n@implementation SDImageCache {\n    NSFileManager *_fileManager;\n}\n\n+ (SDImageCache *)sharedImageCache {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n        kPNGSignatureData = [NSData dataWithBytes:kPNGSignatureBytes length:8];\n    });\n    return instance;\n}\n\n- (id)init {\n    return [self initWithNamespace:@\"default\"];\n}\n\n- (id)initWithNamespace:(NSString *)ns {\n    if ((self = [super init])) {\n        NSString *fullNamespace = [@\"com.hackemist.SDWebImageCache.\" stringByAppendingString:ns];\n\n        // Create IO serial queue\n        _ioQueue = dispatch_queue_create(\"com.hackemist.SDWebImageCache\", DISPATCH_QUEUE_SERIAL);\n\n        // Init default values\n        _maxCacheAge = kDefaultCacheMaxCacheAge;\n\n        // Init the memory cache\n        _memCache = [[NSCache alloc] init];\n        _memCache.name = fullNamespace;\n\n        // Init the disk cache\n        NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);\n        _diskCachePath = [paths[0] stringByAppendingPathComponent:fullNamespace];\n\n        dispatch_sync(_ioQueue, ^{\n            _fileManager = [NSFileManager new];\n        });\n\n#if TARGET_OS_IPHONE\n        // Subscribe to app events\n        [[NSNotificationCenter defaultCenter] addObserver:self\n                                                 selector:@selector(clearMemory)\n                                                     name:UIApplicationDidReceiveMemoryWarningNotification\n                                                   object:nil];\n\n        [[NSNotificationCenter defaultCenter] addObserver:self\n                                                 selector:@selector(cleanDisk)\n                                                     name:UIApplicationWillTerminateNotification\n                                                   object:nil];\n\n        [[NSNotificationCenter defaultCenter] addObserver:self\n                                                 selector:@selector(backgroundCleanDisk)\n                                                     name:UIApplicationDidEnterBackgroundNotification\n                                                   object:nil];\n#endif\n    }\n\n    return self;\n}\n\n- (void)dealloc {\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n    SDDispatchQueueRelease(_ioQueue);\n}\n\n- (void)addReadOnlyCachePath:(NSString *)path {\n    if (!self.customPaths) {\n        self.customPaths = [NSMutableArray new];\n    }\n\n    if (![self.customPaths containsObject:path]) {\n        [self.customPaths addObject:path];\n    }\n}\n\n- (NSString *)cachePathForKey:(NSString *)key inPath:(NSString *)path {\n    NSString *filename = [self cachedFileNameForKey:key];\n    return [path stringByAppendingPathComponent:filename];\n}\n\n- (NSString *)defaultCachePathForKey:(NSString *)key {\n    return [self cachePathForKey:key inPath:self.diskCachePath];\n}\n\n#pragma mark SDImageCache (private)\n\n- (NSString *)cachedFileNameForKey:(NSString *)key {\n    const char *str = [key UTF8String];\n    if (str == NULL) {\n        str = \"\";\n    }\n    unsigned char r[CC_MD5_DIGEST_LENGTH];\n    CC_MD5(str, (CC_LONG)strlen(str), r);\n    NSString *filename = [NSString stringWithFormat:@\"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x\",\n                                                    r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], r[8], r[9], r[10], r[11], r[12], r[13], r[14], r[15]];\n\n    return filename;\n}\n\n#pragma mark ImageCache\n\n- (void)storeImage:(UIImage *)image recalculateFromImage:(BOOL)recalculate imageData:(NSData *)imageData forKey:(NSString *)key toDisk:(BOOL)toDisk {\n    if (!image || !key) {\n        return;\n    }\n\n    [self.memCache setObject:image forKey:key cost:image.size.height * image.size.width * image.scale];\n\n    if (toDisk) {\n        dispatch_async(self.ioQueue, ^{\n            NSData *data = imageData;\n\n            if (image && (recalculate || !data)) {\n#if TARGET_OS_IPHONE\n                // We need to determine if the image is a PNG or a JPEG\n                // PNGs are easier to detect because they have a unique signature (http://www.w3.org/TR/PNG-Structure.html)\n                // The first eight bytes of a PNG file always contain the following (decimal) values:\n                // 137 80 78 71 13 10 26 10\n\n                // We assume the image is PNG, in case the imageData is nil (i.e. if trying to save a UIImage directly),\n                // we will consider it PNG to avoid loosing the transparency\n                BOOL imageIsPng = YES;\n\n                // But if we have an image data, we will look at the preffix\n                if ([imageData length] >= [kPNGSignatureData length]) {\n                    imageIsPng = ImageDataHasPNGPreffix(imageData);\n                }\n\n                if (imageIsPng) {\n                    data = UIImagePNGRepresentation(image);\n                }\n                else {\n                    data = UIImageJPEGRepresentation(image, (CGFloat)1.0);\n                }\n#else\n                data = [NSBitmapImageRep representationOfImageRepsInArray:image.representations usingType: NSJPEGFileType properties:nil];\n#endif\n            }\n\n            if (data) {\n                if (![_fileManager fileExistsAtPath:_diskCachePath]) {\n                    [_fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL];\n                }\n\n                [_fileManager createFileAtPath:[self defaultCachePathForKey:key] contents:data attributes:nil];\n            }\n        });\n    }\n}\n\n- (void)storeImage:(UIImage *)image forKey:(NSString *)key {\n    [self storeImage:image recalculateFromImage:YES imageData:nil forKey:key toDisk:YES];\n}\n\n- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk {\n    [self storeImage:image recalculateFromImage:YES imageData:nil forKey:key toDisk:toDisk];\n}\n\n- (BOOL)diskImageExistsWithKey:(NSString *)key {\n    BOOL exists = NO;\n    \n    // this is an exception to access the filemanager on another queue than ioQueue, but we are using the shared instance\n    // from apple docs on NSFileManager: The methods of the shared NSFileManager object can be called from multiple threads safely.\n    exists = [[NSFileManager defaultManager] fileExistsAtPath:[self defaultCachePathForKey:key]];\n    \n    return exists;\n}\n\n- (void)diskImageExistsWithKey:(NSString *)key completion:(SDWebImageCheckCacheCompletionBlock)completionBlock {\n    dispatch_async(_ioQueue, ^{\n        BOOL exists = [_fileManager fileExistsAtPath:[self defaultCachePathForKey:key]];\n        if (completionBlock) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completionBlock(exists);\n            });\n        }\n    });\n}\n\n- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key {\n    return [self.memCache objectForKey:key];\n}\n\n- (UIImage *)imageFromDiskCacheForKey:(NSString *)key {\n    // First check the in-memory cache...\n    UIImage *image = [self imageFromMemoryCacheForKey:key];\n    if (image) {\n        return image;\n    }\n\n    // Second check the disk cache...\n    UIImage *diskImage = [self diskImageForKey:key];\n    if (diskImage) {\n        CGFloat cost = diskImage.size.height * diskImage.size.width * diskImage.scale;\n        [self.memCache setObject:diskImage forKey:key cost:cost];\n    }\n\n    return diskImage;\n}\n\n- (NSData *)diskImageDataBySearchingAllPathsForKey:(NSString *)key {\n    NSString *defaultPath = [self defaultCachePathForKey:key];\n    NSData *data = [NSData dataWithContentsOfFile:defaultPath];\n    if (data) {\n        return data;\n    }\n\n    for (NSString *path in self.customPaths) {\n        NSString *filePath = [self cachePathForKey:key inPath:path];\n        NSData *imageData = [NSData dataWithContentsOfFile:filePath];\n        if (imageData) {\n            return imageData;\n        }\n    }\n\n    return nil;\n}\n\n- (UIImage *)diskImageForKey:(NSString *)key {\n    NSData *data = [self diskImageDataBySearchingAllPathsForKey:key];\n    if (data) {\n        UIImage *image = [UIImage sd_imageWithData:data];\n        image = [self scaledImageForKey:key image:image];\n        image = [UIImage decodedImageWithImage:image];\n        return image;\n    }\n    else {\n        return nil;\n    }\n}\n\n- (UIImage *)scaledImageForKey:(NSString *)key image:(UIImage *)image {\n    return SDScaledImageForKey(key, image);\n}\n\n- (NSOperation *)queryDiskCacheForKey:(NSString *)key done:(SDWebImageQueryCompletedBlock)doneBlock {\n    if (!doneBlock) {\n        return nil;\n    }\n\n    if (!key) {\n        doneBlock(nil, SDImageCacheTypeNone);\n        return nil;\n    }\n\n    // First check the in-memory cache...\n    UIImage *image = [self imageFromMemoryCacheForKey:key];\n    if (image) {\n        doneBlock(image, SDImageCacheTypeMemory);\n        return nil;\n    }\n\n    NSOperation *operation = [NSOperation new];\n    dispatch_async(self.ioQueue, ^{\n        if (operation.isCancelled) {\n            return;\n        }\n\n        @autoreleasepool {\n            UIImage *diskImage = [self diskImageForKey:key];\n            if (diskImage) {\n                CGFloat cost = diskImage.size.height * diskImage.size.width * diskImage.scale;\n                [self.memCache setObject:diskImage forKey:key cost:cost];\n            }\n\n            dispatch_async(dispatch_get_main_queue(), ^{\n                doneBlock(diskImage, SDImageCacheTypeDisk);\n            });\n        }\n    });\n\n    return operation;\n}\n\n- (void)removeImageForKey:(NSString *)key {\n    [self removeImageForKey:key withCompletion:nil];\n}\n\n- (void)removeImageForKey:(NSString *)key withCompletion:(SDWebImageNoParamsBlock)completion {\n    [self removeImageForKey:key fromDisk:YES withCompletion:completion];\n}\n\n- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk {\n    [self removeImageForKey:key fromDisk:fromDisk withCompletion:nil];\n}\n\n- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(SDWebImageNoParamsBlock)completion {\n    \n    if (key == nil) {\n        return;\n    }\n    \n    [self.memCache removeObjectForKey:key];\n    \n    if (fromDisk) {\n        dispatch_async(self.ioQueue, ^{\n            [_fileManager removeItemAtPath:[self defaultCachePathForKey:key] error:nil];\n            \n            if (completion) {\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    completion();\n                });\n            }\n        });\n    } else if (completion){\n        completion();\n    }\n    \n}\n\n- (void)setMaxMemoryCost:(NSUInteger)maxMemoryCost {\n    self.memCache.totalCostLimit = maxMemoryCost;\n}\n\n- (NSUInteger)maxMemoryCost {\n    return self.memCache.totalCostLimit;\n}\n\n- (void)clearMemory {\n    [self.memCache removeAllObjects];\n}\n\n- (void)clearDisk {\n    [self clearDiskOnCompletion:nil];\n}\n\n- (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion\n{\n    dispatch_async(self.ioQueue, ^{\n        [_fileManager removeItemAtPath:self.diskCachePath error:nil];\n        [_fileManager createDirectoryAtPath:self.diskCachePath\n                withIntermediateDirectories:YES\n                                 attributes:nil\n                                      error:NULL];\n\n        if (completion) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completion();\n            });\n        }\n    });\n}\n\n- (void)cleanDisk {\n    [self cleanDiskWithCompletionBlock:nil];\n}\n\n- (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock {\n    dispatch_async(self.ioQueue, ^{\n        NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES];\n        NSArray *resourceKeys = @[NSURLIsDirectoryKey, NSURLContentModificationDateKey, NSURLTotalFileAllocatedSizeKey];\n\n        // This enumerator prefetches useful properties for our cache files.\n        NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtURL:diskCacheURL\n                                                   includingPropertiesForKeys:resourceKeys\n                                                                      options:NSDirectoryEnumerationSkipsHiddenFiles\n                                                                 errorHandler:NULL];\n\n        NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.maxCacheAge];\n        NSMutableDictionary *cacheFiles = [NSMutableDictionary dictionary];\n        NSUInteger currentCacheSize = 0;\n\n        // Enumerate all of the files in the cache directory.  This loop has two purposes:\n        //\n        //  1. Removing files that are older than the expiration date.\n        //  2. Storing file attributes for the size-based cleanup pass.\n        NSMutableArray *urlsToDelete = [[NSMutableArray alloc] init];\n        for (NSURL *fileURL in fileEnumerator) {\n            NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:NULL];\n\n            // Skip directories.\n            if ([resourceValues[NSURLIsDirectoryKey] boolValue]) {\n                continue;\n            }\n\n            // Remove files that are older than the expiration date;\n            NSDate *modificationDate = resourceValues[NSURLContentModificationDateKey];\n            if ([[modificationDate laterDate:expirationDate] isEqualToDate:expirationDate]) {\n                [urlsToDelete addObject:fileURL];\n                continue;\n            }\n\n            // Store a reference to this file and account for its total size.\n            NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey];\n            currentCacheSize += [totalAllocatedSize unsignedIntegerValue];\n            [cacheFiles setObject:resourceValues forKey:fileURL];\n        }\n        \n        for (NSURL *fileURL in urlsToDelete) {\n            [_fileManager removeItemAtURL:fileURL error:nil];\n        }\n\n        // If our remaining disk cache exceeds a configured maximum size, perform a second\n        // size-based cleanup pass.  We delete the oldest files first.\n        if (self.maxCacheSize > 0 && currentCacheSize > self.maxCacheSize) {\n            // Target half of our maximum cache size for this cleanup pass.\n            const NSUInteger desiredCacheSize = self.maxCacheSize / 2;\n\n            // Sort the remaining cache files by their last modification time (oldest first).\n            NSArray *sortedFiles = [cacheFiles keysSortedByValueWithOptions:NSSortConcurrent\n                                                            usingComparator:^NSComparisonResult(id obj1, id obj2) {\n                                                                return [obj1[NSURLContentModificationDateKey] compare:obj2[NSURLContentModificationDateKey]];\n                                                            }];\n\n            // Delete files until we fall below our desired cache size.\n            for (NSURL *fileURL in sortedFiles) {\n                if ([_fileManager removeItemAtURL:fileURL error:nil]) {\n                    NSDictionary *resourceValues = cacheFiles[fileURL];\n                    NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey];\n                    currentCacheSize -= [totalAllocatedSize unsignedIntegerValue];\n\n                    if (currentCacheSize < desiredCacheSize) {\n                        break;\n                    }\n                }\n            }\n        }\n        if (completionBlock) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completionBlock();\n            });\n        }\n    });\n}\n\n- (void)backgroundCleanDisk {\n    UIApplication *application = [UIApplication sharedApplication];\n    __block UIBackgroundTaskIdentifier bgTask = [application beginBackgroundTaskWithExpirationHandler:^{\n        // Clean up any unfinished task business by marking where you\n        // stopped or ending the task outright.\n        [application endBackgroundTask:bgTask];\n        bgTask = UIBackgroundTaskInvalid;\n    }];\n\n    // Start the long-running task and return immediately.\n    [self cleanDiskWithCompletionBlock:^{\n        [application endBackgroundTask:bgTask];\n        bgTask = UIBackgroundTaskInvalid;\n    }];\n}\n\n- (NSUInteger)getSize {\n    __block NSUInteger size = 0;\n    dispatch_sync(self.ioQueue, ^{\n        NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath];\n        for (NSString *fileName in fileEnumerator) {\n            NSString *filePath = [self.diskCachePath stringByAppendingPathComponent:fileName];\n            NSDictionary *attrs = [[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:nil];\n            size += [attrs fileSize];\n        }\n    });\n    return size;\n}\n\n- (NSUInteger)getDiskCount {\n    __block NSUInteger count = 0;\n    dispatch_sync(self.ioQueue, ^{\n        NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath];\n        count = [[fileEnumerator allObjects] count];\n    });\n    return count;\n}\n\n- (void)calculateSizeWithCompletionBlock:(SDWebImageCalculateSizeBlock)completionBlock {\n    NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES];\n\n    dispatch_async(self.ioQueue, ^{\n        NSUInteger fileCount = 0;\n        NSUInteger totalSize = 0;\n\n        NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtURL:diskCacheURL\n                                                   includingPropertiesForKeys:@[NSFileSize]\n                                                                      options:NSDirectoryEnumerationSkipsHiddenFiles\n                                                                 errorHandler:NULL];\n\n        for (NSURL *fileURL in fileEnumerator) {\n            NSNumber *fileSize;\n            [fileURL getResourceValue:&fileSize forKey:NSURLFileSizeKey error:NULL];\n            totalSize += [fileSize unsignedIntegerValue];\n            fileCount += 1;\n        }\n\n        if (completionBlock) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completionBlock(fileCount, totalSize);\n            });\n        }\n    });\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageCompat.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Jamie Pinkham\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <TargetConditionals.h>\n\n#ifdef __OBJC_GC__\n#error SDWebImage does not support Objective-C Garbage Collection\n#endif\n\n#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0\n#error SDWebImage doesn't support Deployement Target version < 5.0\n#endif\n\n#if !TARGET_OS_IPHONE\n#import <AppKit/AppKit.h>\n#ifndef UIImage\n#define UIImage NSImage\n#endif\n#ifndef UIImageView\n#define UIImageView NSImageView\n#endif\n#else\n\n#import <UIKit/UIKit.h>\n\n#endif\n\n#ifndef NS_ENUM\n#define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type\n#endif\n\n#ifndef NS_OPTIONS\n#define NS_OPTIONS(_type, _name) enum _name : _type _name; enum _name : _type\n#endif\n\n#if OS_OBJECT_USE_OBJC\n    #undef SDDispatchQueueRelease\n    #undef SDDispatchQueueSetterSementics\n    #define SDDispatchQueueRelease(q)\n    #define SDDispatchQueueSetterSementics strong\n#else\n#undef SDDispatchQueueRelease\n#undef SDDispatchQueueSetterSementics\n#define SDDispatchQueueRelease(q) (dispatch_release(q))\n#define SDDispatchQueueSetterSementics assign\n#endif\n\nextern UIImage *SDScaledImageForKey(NSString *key, UIImage *image);\n\ntypedef void(^SDWebImageNoParamsBlock)();\n\n#define dispatch_main_sync_safe(block)\\\n    if ([NSThread isMainThread]) {\\\n        block();\\\n    } else {\\\n        dispatch_sync(dispatch_get_main_queue(), block);\\\n    }\n\n#define dispatch_main_async_safe(block)\\\n    if ([NSThread isMainThread]) {\\\n        block();\\\n    } else {\\\n        dispatch_async(dispatch_get_main_queue(), block);\\\n    }\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageCompat.m",
    "content": "//\n//  SDWebImageCompat.m\n//  SDWebImage\n//\n//  Created by Olivier Poitrey on 11/12/12.\n//  Copyright (c) 2012 Dailymotion. All rights reserved.\n//\n\n#import \"SDWebImageCompat.h\"\n\n#if !__has_feature(objc_arc)\n#error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag\n#endif\n\ninline UIImage *SDScaledImageForKey(NSString *key, UIImage *image) {\n    if (!image) {\n        return nil;\n    }\n    \n    if ([image.images count] > 0) {\n        NSMutableArray *scaledImages = [NSMutableArray array];\n\n        for (UIImage *tempImage in image.images) {\n            [scaledImages addObject:SDScaledImageForKey(key, tempImage)];\n        }\n\n        return [UIImage animatedImageWithImages:scaledImages duration:image.duration];\n    }\n    else {\n        if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) {\n            CGFloat scale = 1.0;\n            if (key.length >= 8) {\n                // Search @2x. at the end of the string, before a 3 to 4 extension length (only if key len is 8 or more @2x. + 4 len ext)\n                NSRange range = [key rangeOfString:@\"@2x.\" options:0 range:NSMakeRange(key.length - 8, 5)];\n                if (range.location != NSNotFound) {\n                    scale = 2.0;\n                }\n            }\n\n            UIImage *scaledImage = [[UIImage alloc] initWithCGImage:image.CGImage scale:scale orientation:image.imageOrientation];\n            image = scaledImage;\n        }\n        return image;\n    }\n}\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageDecoder.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * Created by james <https://github.com/mystcolor> on 9/28/11.\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n\n@interface UIImage (ForceDecode)\n\n+ (UIImage *)decodedImageWithImage:(UIImage *)image;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageDecoder.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * Created by james <https://github.com/mystcolor> on 9/28/11.\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageDecoder.h\"\n\n@implementation UIImage (ForceDecode)\n\n+ (UIImage *)decodedImageWithImage:(UIImage *)image {\n    if (image.images) {\n        // Do not decode animated images\n        return image;\n    }\n\n    CGImageRef imageRef = image.CGImage;\n    CGSize imageSize = CGSizeMake(CGImageGetWidth(imageRef), CGImageGetHeight(imageRef));\n    CGRect imageRect = (CGRect){.origin = CGPointZero, .size = imageSize};\n\n    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();\n    CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);\n\n    int infoMask = (bitmapInfo & kCGBitmapAlphaInfoMask);\n    BOOL anyNonAlpha = (infoMask == kCGImageAlphaNone ||\n            infoMask == kCGImageAlphaNoneSkipFirst ||\n            infoMask == kCGImageAlphaNoneSkipLast);\n\n    // CGBitmapContextCreate doesn't support kCGImageAlphaNone with RGB.\n    // https://developer.apple.com/library/mac/#qa/qa1037/_index.html\n    if (infoMask == kCGImageAlphaNone && CGColorSpaceGetNumberOfComponents(colorSpace) > 1) {\n        // Unset the old alpha info.\n        bitmapInfo &= ~kCGBitmapAlphaInfoMask;\n\n        // Set noneSkipFirst.\n        bitmapInfo |= kCGImageAlphaNoneSkipFirst;\n    }\n            // Some PNGs tell us they have alpha but only 3 components. Odd.\n    else if (!anyNonAlpha && CGColorSpaceGetNumberOfComponents(colorSpace) == 3) {\n        // Unset the old alpha info.\n        bitmapInfo &= ~kCGBitmapAlphaInfoMask;\n        bitmapInfo |= kCGImageAlphaPremultipliedFirst;\n    }\n\n    // It calculates the bytes-per-row based on the bitsPerComponent and width arguments.\n    CGContextRef context = CGBitmapContextCreate(NULL,\n            imageSize.width,\n            imageSize.height,\n            CGImageGetBitsPerComponent(imageRef),\n            0,\n            colorSpace,\n            bitmapInfo);\n    CGColorSpaceRelease(colorSpace);\n\n    // If failed, return undecompressed image\n    if (!context) return image;\n\n    CGContextDrawImage(context, imageRect, imageRef);\n    CGImageRef decompressedImageRef = CGBitmapContextCreateImage(context);\n\n    CGContextRelease(context);\n\n    UIImage *decompressedImage = [UIImage imageWithCGImage:decompressedImageRef scale:image.scale orientation:image.imageOrientation];\n    CGImageRelease(decompressedImageRef);\n    return decompressedImage;\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageDownloader.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageOperation.h\"\n\ntypedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) {\n    SDWebImageDownloaderLowPriority = 1 << 0,\n    SDWebImageDownloaderProgressiveDownload = 1 << 1,\n\n    /**\n     * By default, request prevent the of NSURLCache. With this flag, NSURLCache\n     * is used with default policies.\n     */\n    SDWebImageDownloaderUseNSURLCache = 1 << 2,\n\n    /**\n     * Call completion block with nil image/imageData if the image was read from NSURLCache\n     * (to be combined with `SDWebImageDownloaderUseNSURLCache`).\n     */\n\n    SDWebImageDownloaderIgnoreCachedResponse = 1 << 3,\n    /**\n     * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for\n     * extra time in background to let the request finish. If the background task expires the operation will be cancelled.\n     */\n\n    SDWebImageDownloaderContinueInBackground = 1 << 4,\n\n    /**\n     * Handles cookies stored in NSHTTPCookieStore by setting \n     * NSMutableURLRequest.HTTPShouldHandleCookies = YES;\n     */\n    SDWebImageDownloaderHandleCookies = 1 << 5,\n\n    /**\n     * Enable to allow untrusted SSL ceriticates.\n     * Useful for testing purposes. Use with caution in production.\n     */\n    SDWebImageDownloaderAllowInvalidSSLCertificates = 1 << 6,\n\n    /**\n     * Put the image in the high priority queue.\n     */\n    SDWebImageDownloaderHighPriority = 1 << 7,\n    \n\n};\n\ntypedef NS_ENUM(NSInteger, SDWebImageDownloaderExecutionOrder) {\n    /**\n     * Default value. All download operations will execute in queue style (first-in-first-out).\n     */\n    SDWebImageDownloaderFIFOExecutionOrder,\n\n    /**\n     * All download operations will execute in stack style (last-in-first-out).\n     */\n    SDWebImageDownloaderLIFOExecutionOrder\n};\n\nextern NSString *const SDWebImageDownloadStartNotification;\nextern NSString *const SDWebImageDownloadStopNotification;\n\ntypedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize);\n\ntypedef void(^SDWebImageDownloaderCompletedBlock)(UIImage *image, NSData *data, NSError *error, BOOL finished);\n\ntypedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDictionary *headers);\n\n/**\n * Asynchronous downloader dedicated and optimized for image loading.\n */\n@interface SDWebImageDownloader : NSObject\n\n@property (assign, nonatomic) NSInteger maxConcurrentDownloads;\n\n/**\n * Shows the current amount of downloads that still need to be downloaded\n */\n\n@property (readonly, nonatomic) NSUInteger currentDownloadCount;\n\n\n/**\n *  The timeout value (in seconds) for the download operation. Default: 15.0.\n */\n@property (assign, nonatomic) NSTimeInterval downloadTimeout;\n\n\n/**\n * Changes download operations execution order. Default value is `SDWebImageDownloaderFIFOExecutionOrder`.\n */\n@property (assign, nonatomic) SDWebImageDownloaderExecutionOrder executionOrder;\n\n/**\n *  Singleton method, returns the shared instance\n *\n *  @return global shared instance of downloader class\n */\n+ (SDWebImageDownloader *)sharedDownloader;\n\n/**\n * Set username\n */\n@property (strong, nonatomic) NSString *username;\n\n/**\n * Set password\n */\n@property (strong, nonatomic) NSString *password;\n\n/**\n * Set filter to pick headers for downloading image HTTP request.\n *\n * This block will be invoked for each downloading image request, returned\n * NSDictionary will be used as headers in corresponding HTTP request.\n */\n@property (nonatomic, copy) SDWebImageDownloaderHeadersFilterBlock headersFilter;\n\n/**\n * Set a value for a HTTP header to be appended to each download HTTP request.\n *\n * @param value The value for the header field. Use `nil` value to remove the header.\n * @param field The name of the header field to set.\n */\n- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field;\n\n/**\n * Returns the value of the specified HTTP header field.\n *\n * @return The value associated with the header field field, or `nil` if there is no corresponding header field.\n */\n- (NSString *)valueForHTTPHeaderField:(NSString *)field;\n\n/**\n * Creates a SDWebImageDownloader async downloader instance with a given URL\n *\n * The delegate will be informed when the image is finish downloaded or an error has happen.\n *\n * @see SDWebImageDownloaderDelegate\n *\n * @param url            The URL to the image to download\n * @param options        The options to be used for this download\n * @param progressBlock  A block called repeatedly while the image is downloading\n * @param completedBlock A block called once the download is completed.\n *                       If the download succeeded, the image parameter is set, in case of error,\n *                       error parameter is set with the error. The last parameter is always YES\n *                       if SDWebImageDownloaderProgressiveDownload isn't use. With the\n *                       SDWebImageDownloaderProgressiveDownload option, this block is called\n *                       repeatedly with the partial image object and the finished argument set to NO\n *                       before to be called a last time with the full image and finished argument\n *                       set to YES. In case of error, the finished argument is always YES.\n *\n * @return A cancellable SDWebImageOperation\n */\n- (id <SDWebImageOperation>)downloadImageWithURL:(NSURL *)url\n                                         options:(SDWebImageDownloaderOptions)options\n                                        progress:(SDWebImageDownloaderProgressBlock)progressBlock\n                                       completed:(SDWebImageDownloaderCompletedBlock)completedBlock;\n\n/**\n * Sets the download queue suspension state\n */\n- (void)setSuspended:(BOOL)suspended;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageDownloader.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageDownloader.h\"\n#import \"SDWebImageDownloaderOperation.h\"\n#import <ImageIO/ImageIO.h>\n\nNSString *const SDWebImageDownloadStartNotification = @\"SDWebImageDownloadStartNotification\";\nNSString *const SDWebImageDownloadStopNotification = @\"SDWebImageDownloadStopNotification\";\n\nstatic NSString *const kProgressCallbackKey = @\"progress\";\nstatic NSString *const kCompletedCallbackKey = @\"completed\";\n\n@interface SDWebImageDownloader ()\n\n@property (strong, nonatomic) NSOperationQueue *downloadQueue;\n@property (weak, nonatomic) NSOperation *lastAddedOperation;\n@property (strong, nonatomic) NSMutableDictionary *URLCallbacks;\n@property (strong, nonatomic) NSMutableDictionary *HTTPHeaders;\n// This queue is used to serialize the handling of the network responses of all the download operation in a single queue\n@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t barrierQueue;\n\n@end\n\n@implementation SDWebImageDownloader\n\n+ (void)initialize {\n    // Bind SDNetworkActivityIndicator if available (download it here: http://github.com/rs/SDNetworkActivityIndicator )\n    // To use it, just add #import \"SDNetworkActivityIndicator.h\" in addition to the SDWebImage import\n    if (NSClassFromString(@\"SDNetworkActivityIndicator\")) {\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Warc-performSelector-leaks\"\n        id activityIndicator = [NSClassFromString(@\"SDNetworkActivityIndicator\") performSelector:NSSelectorFromString(@\"sharedActivityIndicator\")];\n#pragma clang diagnostic pop\n\n        // Remove observer in case it was previously added.\n        [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStartNotification object:nil];\n        [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStopNotification object:nil];\n\n        [[NSNotificationCenter defaultCenter] addObserver:activityIndicator\n                                                 selector:NSSelectorFromString(@\"startActivity\")\n                                                     name:SDWebImageDownloadStartNotification object:nil];\n        [[NSNotificationCenter defaultCenter] addObserver:activityIndicator\n                                                 selector:NSSelectorFromString(@\"stopActivity\")\n                                                     name:SDWebImageDownloadStopNotification object:nil];\n    }\n}\n\n+ (SDWebImageDownloader *)sharedDownloader {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (id)init {\n    if ((self = [super init])) {\n        _executionOrder = SDWebImageDownloaderFIFOExecutionOrder;\n        _downloadQueue = [NSOperationQueue new];\n        _downloadQueue.maxConcurrentOperationCount = 2;\n        _URLCallbacks = [NSMutableDictionary new];\n        _HTTPHeaders = [NSMutableDictionary dictionaryWithObject:@\"image/webp,image/*;q=0.8\" forKey:@\"Accept\"];\n        _barrierQueue = dispatch_queue_create(\"com.hackemist.SDWebImageDownloaderBarrierQueue\", DISPATCH_QUEUE_CONCURRENT);\n        _downloadTimeout = 15.0;\n    }\n    return self;\n}\n\n- (void)dealloc {\n    [self.downloadQueue cancelAllOperations];\n    SDDispatchQueueRelease(_barrierQueue);\n}\n\n- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field {\n    if (value) {\n        self.HTTPHeaders[field] = value;\n    }\n    else {\n        [self.HTTPHeaders removeObjectForKey:field];\n    }\n}\n\n- (NSString *)valueForHTTPHeaderField:(NSString *)field {\n    return self.HTTPHeaders[field];\n}\n\n- (void)setMaxConcurrentDownloads:(NSInteger)maxConcurrentDownloads {\n    _downloadQueue.maxConcurrentOperationCount = maxConcurrentDownloads;\n}\n\n- (NSUInteger)currentDownloadCount {\n    return _downloadQueue.operationCount;\n}\n\n- (NSInteger)maxConcurrentDownloads {\n    return _downloadQueue.maxConcurrentOperationCount;\n}\n\n- (id <SDWebImageOperation>)downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock {\n    __block SDWebImageDownloaderOperation *operation;\n    __weak SDWebImageDownloader *wself = self;\n\n    [self addProgressCallback:progressBlock andCompletedBlock:completedBlock forURL:url createCallback:^{\n        NSTimeInterval timeoutInterval = wself.downloadTimeout;\n        if (timeoutInterval == 0.0) {\n            timeoutInterval = 15.0;\n        }\n\n        // In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests if told otherwise\n        NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url cachePolicy:(options & SDWebImageDownloaderUseNSURLCache ? NSURLRequestUseProtocolCachePolicy : NSURLRequestReloadIgnoringLocalCacheData) timeoutInterval:timeoutInterval];\n        request.HTTPShouldHandleCookies = (options & SDWebImageDownloaderHandleCookies);\n        request.HTTPShouldUsePipelining = YES;\n        if (wself.headersFilter) {\n            request.allHTTPHeaderFields = wself.headersFilter(url, [wself.HTTPHeaders copy]);\n        }\n        else {\n            request.allHTTPHeaderFields = wself.HTTPHeaders;\n        }\n        operation = [[SDWebImageDownloaderOperation alloc] initWithRequest:request\n                                                                   options:options\n                                                                  progress:^(NSInteger receivedSize, NSInteger expectedSize) {\n                                                                      SDWebImageDownloader *sself = wself;\n                                                                      if (!sself) return;\n                                                                      NSArray *callbacksForURL = [sself callbacksForURL:url];\n                                                                      for (NSDictionary *callbacks in callbacksForURL) {\n                                                                          SDWebImageDownloaderProgressBlock callback = callbacks[kProgressCallbackKey];\n                                                                          if (callback) callback(receivedSize, expectedSize);\n                                                                      }\n                                                                  }\n                                                                 completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) {\n                                                                     SDWebImageDownloader *sself = wself;\n                                                                     if (!sself) return;\n                                                                     NSArray *callbacksForURL = [sself callbacksForURL:url];\n                                                                     if (finished) {\n                                                                         [sself removeCallbacksForURL:url];\n                                                                     }\n                                                                     for (NSDictionary *callbacks in callbacksForURL) {\n                                                                         SDWebImageDownloaderCompletedBlock callback = callbacks[kCompletedCallbackKey];\n                                                                         if (callback) callback(image, data, error, finished);\n                                                                     }\n                                                                 }\n                                                                 cancelled:^{\n                                                                     SDWebImageDownloader *sself = wself;\n                                                                     if (!sself) return;\n                                                                     [sself removeCallbacksForURL:url];\n                                                                 }];\n        \n        if (wself.username && wself.password) {\n            operation.credential = [NSURLCredential credentialWithUser:wself.username password:wself.password persistence:NSURLCredentialPersistenceForSession];\n        }\n        \n        if (options & SDWebImageDownloaderHighPriority) {\n            operation.queuePriority = NSOperationQueuePriorityHigh;\n        } else if (options & SDWebImageDownloaderLowPriority) {\n            operation.queuePriority = NSOperationQueuePriorityLow;\n        }\n\n        [wself.downloadQueue addOperation:operation];\n        if (wself.executionOrder == SDWebImageDownloaderLIFOExecutionOrder) {\n            // Emulate LIFO execution order by systematically adding new operations as last operation's dependency\n            [wself.lastAddedOperation addDependency:operation];\n            wself.lastAddedOperation = operation;\n        }\n    }];\n\n    return operation;\n}\n\n- (void)addProgressCallback:(SDWebImageDownloaderProgressBlock)progressBlock andCompletedBlock:(SDWebImageDownloaderCompletedBlock)completedBlock forURL:(NSURL *)url createCallback:(SDWebImageNoParamsBlock)createCallback {\n    // The URL will be used as the key to the callbacks dictionary so it cannot be nil. If it is nil immediately call the completed block with no image or data.\n    if (url == nil) {\n        if (completedBlock != nil) {\n            completedBlock(nil, nil, nil, NO);\n        }\n        return;\n    }\n\n    dispatch_barrier_sync(self.barrierQueue, ^{\n        BOOL first = NO;\n        if (!self.URLCallbacks[url]) {\n            self.URLCallbacks[url] = [NSMutableArray new];\n            first = YES;\n        }\n\n        // Handle single download of simultaneous download request for the same URL\n        NSMutableArray *callbacksForURL = self.URLCallbacks[url];\n        NSMutableDictionary *callbacks = [NSMutableDictionary new];\n        if (progressBlock) callbacks[kProgressCallbackKey] = [progressBlock copy];\n        if (completedBlock) callbacks[kCompletedCallbackKey] = [completedBlock copy];\n        [callbacksForURL addObject:callbacks];\n        self.URLCallbacks[url] = callbacksForURL;\n\n        if (first) {\n            createCallback();\n        }\n    });\n}\n\n- (NSArray *)callbacksForURL:(NSURL *)url {\n    __block NSArray *callbacksForURL;\n    dispatch_sync(self.barrierQueue, ^{\n        callbacksForURL = self.URLCallbacks[url];\n    });\n    return [callbacksForURL copy];\n}\n\n- (void)removeCallbacksForURL:(NSURL *)url {\n    dispatch_barrier_async(self.barrierQueue, ^{\n        [self.URLCallbacks removeObjectForKey:url];\n    });\n}\n\n- (void)setSuspended:(BOOL)suspended {\n    [self.downloadQueue setSuspended:suspended];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageDownloader.h\"\n#import \"SDWebImageOperation.h\"\n\n@interface SDWebImageDownloaderOperation : NSOperation <SDWebImageOperation>\n\n/**\n * The request used by the operation's connection.\n */\n@property (strong, nonatomic, readonly) NSURLRequest *request;\n\n/**\n * Whether the URL connection should consult the credential storage for authenticating the connection. `YES` by default.\n *\n * This is the value that is returned in the `NSURLConnectionDelegate` method `-connectionShouldUseCredentialStorage:`.\n */\n@property (nonatomic, assign) BOOL shouldUseCredentialStorage;\n\n/**\n * The credential used for authentication challenges in `-connection:didReceiveAuthenticationChallenge:`.\n *\n * This will be overridden by any shared credentials that exist for the username or password of the request URL, if present.\n */\n@property (nonatomic, strong) NSURLCredential *credential;\n\n/**\n * The SDWebImageDownloaderOptions for the receiver.\n */\n@property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options;\n\n/**\n *  Initializes a `SDWebImageDownloaderOperation` object\n *\n *  @see SDWebImageDownloaderOperation\n *\n *  @param request        the URL request\n *  @param options        downloader options\n *  @param progressBlock  the block executed when a new chunk of data arrives. \n *                        @note the progress block is executed on a background queue\n *  @param completedBlock the block executed when the download is done. \n *                        @note the completed block is executed on the main queue for success. If errors are found, there is a chance the block will be executed on a background queue\n *  @param cancelBlock    the block executed if the download (operation) is cancelled\n *\n *  @return the initialized instance\n */\n- (id)initWithRequest:(NSURLRequest *)request\n              options:(SDWebImageDownloaderOptions)options\n             progress:(SDWebImageDownloaderProgressBlock)progressBlock\n            completed:(SDWebImageDownloaderCompletedBlock)completedBlock\n            cancelled:(SDWebImageNoParamsBlock)cancelBlock;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageDownloaderOperation.h\"\n#import \"SDWebImageDecoder.h\"\n#import \"UIImage+MultiFormat.h\"\n#import <ImageIO/ImageIO.h>\n#import \"SDWebImageManager.h\"\n\n@interface SDWebImageDownloaderOperation () <NSURLConnectionDataDelegate>\n\n@property (copy, nonatomic) SDWebImageDownloaderProgressBlock progressBlock;\n@property (copy, nonatomic) SDWebImageDownloaderCompletedBlock completedBlock;\n@property (copy, nonatomic) SDWebImageNoParamsBlock cancelBlock;\n\n@property (assign, nonatomic, getter = isExecuting) BOOL executing;\n@property (assign, nonatomic, getter = isFinished) BOOL finished;\n@property (assign, nonatomic) NSInteger expectedSize;\n@property (strong, nonatomic) NSMutableData *imageData;\n@property (strong, nonatomic) NSURLConnection *connection;\n@property (strong, atomic) NSThread *thread;\n\n#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0\n@property (assign, nonatomic) UIBackgroundTaskIdentifier backgroundTaskId;\n#endif\n\n@end\n\n@implementation SDWebImageDownloaderOperation {\n    size_t width, height;\n    UIImageOrientation orientation;\n    BOOL responseFromCached;\n}\n\n@synthesize executing = _executing;\n@synthesize finished = _finished;\n\n- (id)initWithRequest:(NSURLRequest *)request\n              options:(SDWebImageDownloaderOptions)options\n             progress:(SDWebImageDownloaderProgressBlock)progressBlock\n            completed:(SDWebImageDownloaderCompletedBlock)completedBlock\n            cancelled:(SDWebImageNoParamsBlock)cancelBlock {\n    if ((self = [super init])) {\n        _request = request;\n        _shouldUseCredentialStorage = YES;\n        _options = options;\n        _progressBlock = [progressBlock copy];\n        _completedBlock = [completedBlock copy];\n        _cancelBlock = [cancelBlock copy];\n        _executing = NO;\n        _finished = NO;\n        _expectedSize = 0;\n        responseFromCached = YES; // Initially wrong until `connection:willCacheResponse:` is called or not called\n    }\n    return self;\n}\n\n- (void)start {\n    @synchronized (self) {\n        if (self.isCancelled) {\n            self.finished = YES;\n            [self reset];\n            return;\n        }\n\n#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0\n        if ([self shouldContinueWhenAppEntersBackground]) {\n            __weak __typeof__ (self) wself = self;\n            self.backgroundTaskId = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{\n                __strong __typeof (wself) sself = wself;\n\n                if (sself) {\n                    [sself cancel];\n\n                    [[UIApplication sharedApplication] endBackgroundTask:sself.backgroundTaskId];\n                    sself.backgroundTaskId = UIBackgroundTaskInvalid;\n                }\n            }];\n        }\n#endif\n\n        self.executing = YES;\n        self.connection = [[NSURLConnection alloc] initWithRequest:self.request delegate:self startImmediately:NO];\n        self.thread = [NSThread currentThread];\n    }\n\n    [self.connection start];\n\n    if (self.connection) {\n        if (self.progressBlock) {\n            self.progressBlock(0, NSURLResponseUnknownLength);\n        }\n        [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self];\n\n        if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_5_1) {\n            // Make sure to run the runloop in our background thread so it can process downloaded data\n            // Note: we use a timeout to work around an issue with NSURLConnection cancel under iOS 5\n            //       not waking up the runloop, leading to dead threads (see https://github.com/rs/SDWebImage/issues/466)\n            CFRunLoopRunInMode(kCFRunLoopDefaultMode, 10, false);\n        }\n        else {\n            CFRunLoopRun();\n        }\n\n        if (!self.isFinished) {\n            [self.connection cancel];\n            [self connection:self.connection didFailWithError:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorTimedOut userInfo:@{NSURLErrorFailingURLErrorKey : self.request.URL}]];\n        }\n    }\n    else {\n        if (self.completedBlock) {\n            self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @\"Connection can't be initialized\"}], YES);\n        }\n    }\n\n#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0\n    if (self.backgroundTaskId != UIBackgroundTaskInvalid) {\n        [[UIApplication sharedApplication] endBackgroundTask:self.backgroundTaskId];\n        self.backgroundTaskId = UIBackgroundTaskInvalid;\n    }\n#endif\n}\n\n- (void)cancel {\n    @synchronized (self) {\n        if (self.thread) {\n            [self performSelector:@selector(cancelInternalAndStop) onThread:self.thread withObject:nil waitUntilDone:NO];\n        }\n        else {\n            [self cancelInternal];\n        }\n    }\n}\n\n- (void)cancelInternalAndStop {\n    if (self.isFinished) return;\n    [self cancelInternal];\n    CFRunLoopStop(CFRunLoopGetCurrent());\n}\n\n- (void)cancelInternal {\n    if (self.isFinished) return;\n    [super cancel];\n    if (self.cancelBlock) self.cancelBlock();\n\n    if (self.connection) {\n        [self.connection cancel];\n        [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self];\n\n        // As we cancelled the connection, its callback won't be called and thus won't\n        // maintain the isFinished and isExecuting flags.\n        if (self.isExecuting) self.executing = NO;\n        if (!self.isFinished) self.finished = YES;\n    }\n\n    [self reset];\n}\n\n- (void)done {\n    self.finished = YES;\n    self.executing = NO;\n    [self reset];\n}\n\n- (void)reset {\n    self.cancelBlock = nil;\n    self.completedBlock = nil;\n    self.progressBlock = nil;\n    self.connection = nil;\n    self.imageData = nil;\n    self.thread = nil;\n}\n\n- (void)setFinished:(BOOL)finished {\n    [self willChangeValueForKey:@\"isFinished\"];\n    _finished = finished;\n    [self didChangeValueForKey:@\"isFinished\"];\n}\n\n- (void)setExecuting:(BOOL)executing {\n    [self willChangeValueForKey:@\"isExecuting\"];\n    _executing = executing;\n    [self didChangeValueForKey:@\"isExecuting\"];\n}\n\n- (BOOL)isConcurrent {\n    return YES;\n}\n\n#pragma mark NSURLConnection (delegate)\n\n- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {\n    if (![response respondsToSelector:@selector(statusCode)] || [((NSHTTPURLResponse *)response) statusCode] < 400) {\n        NSInteger expected = response.expectedContentLength > 0 ? (NSInteger)response.expectedContentLength : 0;\n        self.expectedSize = expected;\n        if (self.progressBlock) {\n            self.progressBlock(0, expected);\n        }\n\n        self.imageData = [[NSMutableData alloc] initWithCapacity:expected];\n    }\n    else {\n        [self.connection cancel];\n\n        [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil];\n\n        if (self.completedBlock) {\n            self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:[((NSHTTPURLResponse *)response) statusCode] userInfo:nil], YES);\n        }\n        CFRunLoopStop(CFRunLoopGetCurrent());\n        [self done];\n    }\n}\n\n- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {\n    [self.imageData appendData:data];\n\n    if ((self.options & SDWebImageDownloaderProgressiveDownload) && self.expectedSize > 0 && self.completedBlock) {\n        // The following code is from http://www.cocoaintheshell.com/2011/05/progressive-images-download-imageio/\n        // Thanks to the author @Nyx0uf\n\n        // Get the total bytes downloaded\n        const NSInteger totalSize = self.imageData.length;\n\n        // Update the data source, we must pass ALL the data, not just the new bytes\n        CGImageSourceRef imageSource = CGImageSourceCreateIncremental(NULL);\n        CGImageSourceUpdateData(imageSource, (__bridge CFDataRef)self.imageData, totalSize == self.expectedSize);\n\n        if (width + height == 0) {\n            CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL);\n            if (properties) {\n                NSInteger orientationValue = -1;\n                CFTypeRef val = CFDictionaryGetValue(properties, kCGImagePropertyPixelHeight);\n                if (val) CFNumberGetValue(val, kCFNumberLongType, &height);\n                val = CFDictionaryGetValue(properties, kCGImagePropertyPixelWidth);\n                if (val) CFNumberGetValue(val, kCFNumberLongType, &width);\n                val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation);\n                if (val) CFNumberGetValue(val, kCFNumberNSIntegerType, &orientationValue);\n                CFRelease(properties);\n\n                // When we draw to Core Graphics, we lose orientation information,\n                // which means the image below born of initWithCGIImage will be\n                // oriented incorrectly sometimes. (Unlike the image born of initWithData\n                // in connectionDidFinishLoading.) So save it here and pass it on later.\n                orientation = [[self class] orientationFromPropertyValue:(orientationValue == -1 ? 1 : orientationValue)];\n            }\n\n        }\n\n        if (width + height > 0 && totalSize < self.expectedSize) {\n            // Create the image\n            CGImageRef partialImageRef = CGImageSourceCreateImageAtIndex(imageSource, 0, NULL);\n\n#ifdef TARGET_OS_IPHONE\n            // Workaround for iOS anamorphic image\n            if (partialImageRef) {\n                const size_t partialHeight = CGImageGetHeight(partialImageRef);\n                CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();\n                CGContextRef bmContext = CGBitmapContextCreate(NULL, width, height, 8, width * 4, colorSpace, kCGBitmapByteOrderDefault | kCGImageAlphaPremultipliedFirst);\n                CGColorSpaceRelease(colorSpace);\n                if (bmContext) {\n                    CGContextDrawImage(bmContext, (CGRect){.origin.x = 0.0f, .origin.y = 0.0f, .size.width = width, .size.height = partialHeight}, partialImageRef);\n                    CGImageRelease(partialImageRef);\n                    partialImageRef = CGBitmapContextCreateImage(bmContext);\n                    CGContextRelease(bmContext);\n                }\n                else {\n                    CGImageRelease(partialImageRef);\n                    partialImageRef = nil;\n                }\n            }\n#endif\n\n            if (partialImageRef) {\n                UIImage *image = [UIImage imageWithCGImage:partialImageRef scale:1 orientation:orientation];\n                NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL];\n                UIImage *scaledImage = [self scaledImageForKey:key image:image];\n                image = [UIImage decodedImageWithImage:scaledImage];\n                CGImageRelease(partialImageRef);\n                dispatch_main_sync_safe(^{\n                    if (self.completedBlock) {\n                        self.completedBlock(image, nil, nil, NO);\n                    }\n                });\n            }\n        }\n\n        CFRelease(imageSource);\n    }\n\n    if (self.progressBlock) {\n        self.progressBlock(self.imageData.length, self.expectedSize);\n    }\n}\n\n+ (UIImageOrientation)orientationFromPropertyValue:(NSInteger)value {\n    switch (value) {\n        case 1:\n            return UIImageOrientationUp;\n        case 3:\n            return UIImageOrientationDown;\n        case 8:\n            return UIImageOrientationLeft;\n        case 6:\n            return UIImageOrientationRight;\n        case 2:\n            return UIImageOrientationUpMirrored;\n        case 4:\n            return UIImageOrientationDownMirrored;\n        case 5:\n            return UIImageOrientationLeftMirrored;\n        case 7:\n            return UIImageOrientationRightMirrored;\n        default:\n            return UIImageOrientationUp;\n    }\n}\n\n- (UIImage *)scaledImageForKey:(NSString *)key image:(UIImage *)image {\n    return SDScaledImageForKey(key, image);\n}\n\n- (void)connectionDidFinishLoading:(NSURLConnection *)aConnection {\n    SDWebImageDownloaderCompletedBlock completionBlock = self.completedBlock;\n    @synchronized(self) {\n        CFRunLoopStop(CFRunLoopGetCurrent());\n        self.thread = nil;\n        self.connection = nil;\n        [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil];\n    }\n    \n    if (![[NSURLCache sharedURLCache] cachedResponseForRequest:_request]) {\n        responseFromCached = NO;\n    }\n    \n    if (completionBlock)\n    {\n        if (self.options & SDWebImageDownloaderIgnoreCachedResponse && responseFromCached) {\n            completionBlock(nil, nil, nil, YES);\n        }\n        else {\n            UIImage *image = [UIImage sd_imageWithData:self.imageData];\n            NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL];\n            image = [self scaledImageForKey:key image:image];\n            \n            // Do not force decoding animated GIFs\n            if (!image.images) {\n                image = [UIImage decodedImageWithImage:image];\n            }\n            if (CGSizeEqualToSize(image.size, CGSizeZero)) {\n                completionBlock(nil, nil, [NSError errorWithDomain:@\"SDWebImageErrorDomain\" code:0 userInfo:@{NSLocalizedDescriptionKey : @\"Downloaded image has 0 pixels\"}], YES);\n            }\n            else {\n                completionBlock(image, self.imageData, nil, YES);\n            }\n        }\n    }\n    self.completionBlock = nil;\n    [self done];\n}\n\n- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {\n    CFRunLoopStop(CFRunLoopGetCurrent());\n    [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil];\n\n    if (self.completedBlock) {\n        self.completedBlock(nil, nil, error, YES);\n    }\n\n    [self done];\n}\n\n- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse {\n    responseFromCached = NO; // If this method is called, it means the response wasn't read from cache\n    if (self.request.cachePolicy == NSURLRequestReloadIgnoringLocalCacheData) {\n        // Prevents caching of responses\n        return nil;\n    }\n    else {\n        return cachedResponse;\n    }\n}\n\n- (BOOL)shouldContinueWhenAppEntersBackground {\n    return self.options & SDWebImageDownloaderContinueInBackground;\n}\n\n- (BOOL)connectionShouldUseCredentialStorage:(NSURLConnection __unused *)connection {\n    return self.shouldUseCredentialStorage;\n}\n\n- (void)connection:(NSURLConnection *)connection willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge{\n    if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {\n        NSURLCredential *credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];\n        [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];\n    } else {\n        if ([challenge previousFailureCount] == 0) {\n            if (self.credential) {\n                [[challenge sender] useCredential:self.credential forAuthenticationChallenge:challenge];\n            } else {\n                [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge];\n            }\n        } else {\n            [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge];\n        }\n    }\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageManager.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageOperation.h\"\n#import \"SDWebImageDownloader.h\"\n#import \"SDImageCache.h\"\n\ntypedef NS_OPTIONS(NSUInteger, SDWebImageOptions) {\n    /**\n     * By default, when a URL fail to be downloaded, the URL is blacklisted so the library won't keep trying.\n     * This flag disable this blacklisting.\n     */\n    SDWebImageRetryFailed = 1 << 0,\n\n    /**\n     * By default, image downloads are started during UI interactions, this flags disable this feature,\n     * leading to delayed download on UIScrollView deceleration for instance.\n     */\n    SDWebImageLowPriority = 1 << 1,\n\n    /**\n     * This flag disables on-disk caching\n     */\n    SDWebImageCacheMemoryOnly = 1 << 2,\n\n    /**\n     * This flag enables progressive download, the image is displayed progressively during download as a browser would do.\n     * By default, the image is only displayed once completely downloaded.\n     */\n    SDWebImageProgressiveDownload = 1 << 3,\n\n    /**\n     * Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed.\n     * The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation.\n     * This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics.\n     * If a cached image is refreshed, the completion block is called once with the cached image and again with the final image.\n     *\n     * Use this flag only if you can't make your URLs static with embeded cache busting parameter.\n     */\n    SDWebImageRefreshCached = 1 << 4,\n\n    /**\n     * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for\n     * extra time in background to let the request finish. If the background task expires the operation will be cancelled.\n     */\n    SDWebImageContinueInBackground = 1 << 5,\n\n    /**\n     * Handles cookies stored in NSHTTPCookieStore by setting\n     * NSMutableURLRequest.HTTPShouldHandleCookies = YES;\n     */\n    SDWebImageHandleCookies = 1 << 6,\n\n    /**\n     * Enable to allow untrusted SSL ceriticates.\n     * Useful for testing purposes. Use with caution in production.\n     */\n    SDWebImageAllowInvalidSSLCertificates = 1 << 7,\n\n    /**\n     * By default, image are loaded in the order they were queued. This flag move them to\n     * the front of the queue and is loaded immediately instead of waiting for the current queue to be loaded (which \n     * could take a while).\n     */\n    SDWebImageHighPriority = 1 << 8,\n    \n    /**\n     * By default, placeholder images are loaded while the image is loading. This flag will delay the loading\n     * of the placeholder image until after the image has finished loading.\n     */\n    SDWebImageDelayPlaceholder = 1 << 9\n};\n\ntypedef void(^SDWebImageCompletionBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL);\n\ntypedef void(^SDWebImageCompletionWithFinishedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL);\n\ntypedef NSString *(^SDWebImageCacheKeyFilterBlock)(NSURL *url);\n\n\n@class SDWebImageManager;\n\n@protocol SDWebImageManagerDelegate <NSObject>\n\n@optional\n\n/**\n * Controls which image should be downloaded when the image is not found in the cache.\n *\n * @param imageManager The current `SDWebImageManager`\n * @param imageURL     The url of the image to be downloaded\n *\n * @return Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied.\n */\n- (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL;\n\n/**\n * Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory.\n * NOTE: This method is called from a global queue in order to not to block the main thread.\n *\n * @param imageManager The current `SDWebImageManager`\n * @param image        The image to transform\n * @param imageURL     The url of the image to transform\n *\n * @return The transformed image object.\n */\n- (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL;\n\n@end\n\n/**\n * The SDWebImageManager is the class behind the UIImageView+WebCache category and likes.\n * It ties the asynchronous downloader (SDWebImageDownloader) with the image cache store (SDImageCache).\n * You can use this class directly to benefit from web image downloading with caching in another context than\n * a UIView.\n *\n * Here is a simple example of how to use SDWebImageManager:\n *\n * @code\n\nSDWebImageManager *manager = [SDWebImageManager sharedManager];\n[manager downloadWithURL:imageURL\n                 options:0\n                progress:nil\n               completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n                   if (image) {\n                       // do something with image\n                   }\n               }];\n\n * @endcode\n */\n@interface SDWebImageManager : NSObject\n\n@property (weak, nonatomic) id <SDWebImageManagerDelegate> delegate;\n\n@property (strong, nonatomic, readonly) SDImageCache *imageCache;\n@property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader;\n\n/**\n * The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can\n * be used to remove dynamic part of an image URL.\n *\n * The following example sets a filter in the application delegate that will remove any query-string from the\n * URL before to use it as a cache key:\n *\n * @code\n\n[[SDWebImageManager sharedManager] setCacheKeyFilter:^(NSURL *url) {\n    url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path];\n    return [url absoluteString];\n}];\n\n * @endcode\n */\n@property (copy) SDWebImageCacheKeyFilterBlock cacheKeyFilter;\n\n/**\n * Returns global SDWebImageManager instance.\n *\n * @return SDWebImageManager shared instance\n */\n+ (SDWebImageManager *)sharedManager;\n\n/**\n * Downloads the image at the given URL if not present in cache or return the cached version otherwise.\n *\n * @param url            The URL to the image\n * @param options        A mask to specify options to use for this request\n * @param progressBlock  A block called while image is downloading\n * @param completedBlock A block called when operation has been completed.\n *\n *   This parameter is required.\n * \n *   This block has no return value and takes the requested UIImage as first parameter.\n *   In case of error the image parameter is nil and the second parameter may contain an NSError.\n *\n *   The third parameter is an `SDImageCacheType` enum indicating if the image was retrived from the local cache\n *   or from the memory cache or from the network.\n *\n *   The last parameter is set to NO when the SDWebImageProgressiveDownload option is used and the image is \n *   downloading. This block is thus called repetidly with a partial image. When image is fully downloaded, the\n *   block is called a last time with the full image and the last parameter set to YES.\n *\n * @return Returns an NSObject conforming to SDWebImageOperation. Should be an instance of SDWebImageDownloaderOperation\n */\n- (id <SDWebImageOperation>)downloadImageWithURL:(NSURL *)url\n                                         options:(SDWebImageOptions)options\n                                        progress:(SDWebImageDownloaderProgressBlock)progressBlock\n                                       completed:(SDWebImageCompletionWithFinishedBlock)completedBlock;\n\n/**\n * Saves image to cache for given URL\n *\n * @param image The image to cache\n * @param url   The URL to the image\n *\n */\n\n- (void)saveImageToCache:(UIImage *)image forURL:(NSURL *)url;\n\n/**\n * Cancel all current opreations\n */\n- (void)cancelAll;\n\n/**\n * Check one or more operations running\n */\n- (BOOL)isRunning;\n\n/**\n *  Check if image has already been cached\n *\n *  @param url image url\n *\n *  @return if the image was already cached\n */\n- (BOOL)cachedImageExistsForURL:(NSURL *)url;\n\n/**\n *  Check if image has already been cached on disk only\n *\n *  @param url image url\n *\n *  @return if the image was already cached (disk only)\n */\n- (BOOL)diskImageExistsForURL:(NSURL *)url;\n\n/**\n *  Async check if image has already been cached\n *\n *  @param url              image url\n *  @param completionBlock  the block to be executed when the check is finished\n *  \n *  @note the completion block is always executed on the main queue\n */\n- (void)cachedImageExistsForURL:(NSURL *)url\n                     completion:(SDWebImageCheckCacheCompletionBlock)completionBlock;\n\n/**\n *  Async check if image has already been cached on disk only\n *\n *  @param url              image url\n *  @param completionBlock  the block to be executed when the check is finished\n *\n *  @note the completion block is always executed on the main queue\n */\n- (void)diskImageExistsForURL:(NSURL *)url\n                   completion:(SDWebImageCheckCacheCompletionBlock)completionBlock;\n\n\n/**\n *Return the cache key for a given URL\n */\n- (NSString *)cacheKeyForURL:(NSURL *)url;\n\n@end\n\n\n#pragma mark - Deprecated\n\ntypedef void(^SDWebImageCompletedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType) __deprecated_msg(\"Block type deprecated. Use `SDWebImageCompletionBlock`\");\ntypedef void(^SDWebImageCompletedWithFinishedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) __deprecated_msg(\"Block type deprecated. Use `SDWebImageCompletionWithFinishedBlock`\");\n\n\n@interface SDWebImageManager (Deprecated)\n\n/**\n *  Downloads the image at the given URL if not present in cache or return the cached version otherwise.\n *\n *  @deprecated This method has been deprecated. Use `downloadImageWithURL:options:progress:completed:`\n */\n- (id <SDWebImageOperation>)downloadWithURL:(NSURL *)url\n                                    options:(SDWebImageOptions)options\n                                   progress:(SDWebImageDownloaderProgressBlock)progressBlock\n                                  completed:(SDWebImageCompletedWithFinishedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `downloadImageWithURL:options:progress:completed:`\");\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageManager.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageManager.h\"\n#import <objc/message.h>\n\n@interface SDWebImageCombinedOperation : NSObject <SDWebImageOperation>\n\n@property (assign, nonatomic, getter = isCancelled) BOOL cancelled;\n@property (copy, nonatomic) SDWebImageNoParamsBlock cancelBlock;\n@property (strong, nonatomic) NSOperation *cacheOperation;\n\n@end\n\n@interface SDWebImageManager ()\n\n@property (strong, nonatomic, readwrite) SDImageCache *imageCache;\n@property (strong, nonatomic, readwrite) SDWebImageDownloader *imageDownloader;\n@property (strong, nonatomic) NSMutableArray *failedURLs;\n@property (strong, nonatomic) NSMutableArray *runningOperations;\n\n@end\n\n@implementation SDWebImageManager\n\n+ (id)sharedManager {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (id)init {\n    if ((self = [super init])) {\n        _imageCache = [self createCache];\n        _imageDownloader = [SDWebImageDownloader sharedDownloader];\n        _failedURLs = [NSMutableArray new];\n        _runningOperations = [NSMutableArray new];\n    }\n    return self;\n}\n\n- (SDImageCache *)createCache {\n    return [SDImageCache sharedImageCache];\n}\n\n- (NSString *)cacheKeyForURL:(NSURL *)url {\n    if (self.cacheKeyFilter) {\n        return self.cacheKeyFilter(url);\n    }\n    else {\n        return [url absoluteString];\n    }\n}\n\n- (BOOL)cachedImageExistsForURL:(NSURL *)url {\n    NSString *key = [self cacheKeyForURL:url];\n    if ([self.imageCache imageFromMemoryCacheForKey:key] != nil) return YES;\n    return [self.imageCache diskImageExistsWithKey:key];\n}\n\n- (BOOL)diskImageExistsForURL:(NSURL *)url {\n    NSString *key = [self cacheKeyForURL:url];\n    return [self.imageCache diskImageExistsWithKey:key];\n}\n\n- (void)cachedImageExistsForURL:(NSURL *)url\n                     completion:(SDWebImageCheckCacheCompletionBlock)completionBlock {\n    NSString *key = [self cacheKeyForURL:url];\n    \n    BOOL isInMemoryCache = ([self.imageCache imageFromMemoryCacheForKey:key] != nil);\n    \n    if (isInMemoryCache) {\n        // making sure we call the completion block on the main queue\n        dispatch_async(dispatch_get_main_queue(), ^{\n            if (completionBlock) {\n                completionBlock(YES);\n            }\n        });\n        return;\n    }\n    \n    [self.imageCache diskImageExistsWithKey:key completion:^(BOOL isInDiskCache) {\n        // the completion block of checkDiskCacheForImageWithKey:completion: is always called on the main queue, no need to further dispatch\n        if (completionBlock) {\n            completionBlock(isInDiskCache);\n        }\n    }];\n}\n\n- (void)diskImageExistsForURL:(NSURL *)url\n                   completion:(SDWebImageCheckCacheCompletionBlock)completionBlock {\n    NSString *key = [self cacheKeyForURL:url];\n    \n    [self.imageCache diskImageExistsWithKey:key completion:^(BOOL isInDiskCache) {\n        // the completion block of checkDiskCacheForImageWithKey:completion: is always called on the main queue, no need to further dispatch\n        if (completionBlock) {\n            completionBlock(isInDiskCache);\n        }\n    }];\n}\n\n- (id <SDWebImageOperation>)downloadImageWithURL:(NSURL *)url\n                                         options:(SDWebImageOptions)options\n                                        progress:(SDWebImageDownloaderProgressBlock)progressBlock\n                                       completed:(SDWebImageCompletionWithFinishedBlock)completedBlock {\n    // Invoking this method without a completedBlock is pointless\n    NSParameterAssert(completedBlock);\n\n    // Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, XCode won't\n    // throw any warning for this type mismatch. Here we failsafe this error by allowing URLs to be passed as NSString.\n    if ([url isKindOfClass:NSString.class]) {\n        url = [NSURL URLWithString:(NSString *)url];\n    }\n\n    // Prevents app crashing on argument type error like sending NSNull instead of NSURL\n    if (![url isKindOfClass:NSURL.class]) {\n        url = nil;\n    }\n\n    __block SDWebImageCombinedOperation *operation = [SDWebImageCombinedOperation new];\n    __weak SDWebImageCombinedOperation *weakOperation = operation;\n\n    BOOL isFailedUrl = NO;\n    @synchronized (self.failedURLs) {\n        isFailedUrl = [self.failedURLs containsObject:url];\n    }\n\n    if (!url || (!(options & SDWebImageRetryFailed) && isFailedUrl)) {\n        dispatch_main_sync_safe(^{\n            NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorFileDoesNotExist userInfo:nil];\n            completedBlock(nil, error, SDImageCacheTypeNone, YES, url);\n        });\n        return operation;\n    }\n\n    @synchronized (self.runningOperations) {\n        [self.runningOperations addObject:operation];\n    }\n    NSString *key = [self cacheKeyForURL:url];\n\n    operation.cacheOperation = [self.imageCache queryDiskCacheForKey:key done:^(UIImage *image, SDImageCacheType cacheType) {\n        if (operation.isCancelled) {\n            @synchronized (self.runningOperations) {\n                [self.runningOperations removeObject:operation];\n            }\n\n            return;\n        }\n\n        if ((!image || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) {\n            if (image && options & SDWebImageRefreshCached) {\n                dispatch_main_sync_safe(^{\n                    // If image was found in the cache bug SDWebImageRefreshCached is provided, notify about the cached image\n                    // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server.\n                    completedBlock(image, nil, cacheType, YES, url);\n                });\n            }\n\n            // download if no image or requested to refresh anyway, and download allowed by delegate\n            SDWebImageDownloaderOptions downloaderOptions = 0;\n            if (options & SDWebImageLowPriority) downloaderOptions |= SDWebImageDownloaderLowPriority;\n            if (options & SDWebImageProgressiveDownload) downloaderOptions |= SDWebImageDownloaderProgressiveDownload;\n            if (options & SDWebImageRefreshCached) downloaderOptions |= SDWebImageDownloaderUseNSURLCache;\n            if (options & SDWebImageContinueInBackground) downloaderOptions |= SDWebImageDownloaderContinueInBackground;\n            if (options & SDWebImageHandleCookies) downloaderOptions |= SDWebImageDownloaderHandleCookies;\n            if (options & SDWebImageAllowInvalidSSLCertificates) downloaderOptions |= SDWebImageDownloaderAllowInvalidSSLCertificates;\n            if (options & SDWebImageHighPriority) downloaderOptions |= SDWebImageDownloaderHighPriority;\n            if (image && options & SDWebImageRefreshCached) {\n                // force progressive off if image already cached but forced refreshing\n                downloaderOptions &= ~SDWebImageDownloaderProgressiveDownload;\n                // ignore image read from NSURLCache if image if cached but force refreshing\n                downloaderOptions |= SDWebImageDownloaderIgnoreCachedResponse;\n            }\n            id <SDWebImageOperation> subOperation = [self.imageDownloader downloadImageWithURL:url options:downloaderOptions progress:progressBlock completed:^(UIImage *downloadedImage, NSData *data, NSError *error, BOOL finished) {\n                if (weakOperation.isCancelled) {\n                    // Do nothing if the operation was cancelled\n                    // See #699 for more details\n                    // if we would call the completedBlock, there could be a race condition between this block and another completedBlock for the same object, so if this one is called second, we will overwrite the new data\n                }\n                else if (error) {\n                    dispatch_main_sync_safe(^{\n                        if (!weakOperation.isCancelled) {\n                            completedBlock(nil, error, SDImageCacheTypeNone, finished, url);\n                        }\n                    });\n\n                    if (error.code != NSURLErrorNotConnectedToInternet && error.code != NSURLErrorCancelled && error.code != NSURLErrorTimedOut) {\n                        @synchronized (self.failedURLs) {\n                            [self.failedURLs addObject:url];\n                        }\n                    }\n                }\n                else {\n                    BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly);\n\n                    if (options & SDWebImageRefreshCached && image && !downloadedImage) {\n                        // Image refresh hit the NSURLCache cache, do not call the completion block\n                    }\n                            // NOTE: We don't call transformDownloadedImage delegate method on animated images as most transformation code would mangle it\n                    else if (downloadedImage && !downloadedImage.images && [self.delegate respondsToSelector:@selector(imageManager:transformDownloadedImage:withURL:)]) {\n                        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{\n                            UIImage *transformedImage = [self.delegate imageManager:self transformDownloadedImage:downloadedImage withURL:url];\n\n                            if (transformedImage && finished) {\n                                BOOL imageWasTransformed = ![transformedImage isEqual:downloadedImage];\n                                [self.imageCache storeImage:transformedImage recalculateFromImage:imageWasTransformed imageData:data forKey:key toDisk:cacheOnDisk];\n                            }\n\n                            dispatch_main_sync_safe(^{\n                                if (!weakOperation.isCancelled) {\n                                    completedBlock(transformedImage, nil, SDImageCacheTypeNone, finished, url);\n                                }\n                            });\n                        });\n                    }\n                    else {\n                        if (downloadedImage && finished) {\n                            [self.imageCache storeImage:downloadedImage recalculateFromImage:NO imageData:data forKey:key toDisk:cacheOnDisk];\n                        }\n\n                        dispatch_main_sync_safe(^{\n                            if (!weakOperation.isCancelled) {\n                                completedBlock(downloadedImage, nil, SDImageCacheTypeNone, finished, url);\n                            }\n                        });\n                    }\n                }\n\n                if (finished) {\n                    @synchronized (self.runningOperations) {\n                        [self.runningOperations removeObject:operation];\n                    }\n                }\n            }];\n            operation.cancelBlock = ^{\n                [subOperation cancel];\n                \n                @synchronized (self.runningOperations) {\n                    [self.runningOperations removeObject:weakOperation];\n                }\n            };\n        }\n        else if (image) {\n            dispatch_main_sync_safe(^{\n                if (!weakOperation.isCancelled) {\n                    completedBlock(image, nil, cacheType, YES, url);\n                }\n            });\n            @synchronized (self.runningOperations) {\n                [self.runningOperations removeObject:operation];\n            }\n        }\n        else {\n            // Image not in cache and download disallowed by delegate\n            dispatch_main_sync_safe(^{\n                if (!weakOperation.isCancelled) {\n                    completedBlock(nil, nil, SDImageCacheTypeNone, YES, url);\n                }\n            });\n            @synchronized (self.runningOperations) {\n                [self.runningOperations removeObject:operation];\n            }\n        }\n    }];\n\n    return operation;\n}\n\n- (void)saveImageToCache:(UIImage *)image forURL:(NSURL *)url {\n    if (image && url) {\n        NSString *key = [self cacheKeyForURL:url];\n        [self.imageCache storeImage:image forKey:key toDisk:YES];\n    }\n}\n\n- (void)cancelAll {\n    @synchronized (self.runningOperations) {\n        [self.runningOperations makeObjectsPerformSelector:@selector(cancel)];\n        [self.runningOperations removeAllObjects];\n    }\n}\n\n- (BOOL)isRunning {\n    return self.runningOperations.count > 0;\n}\n\n@end\n\n\n@implementation SDWebImageCombinedOperation\n\n- (void)setCancelBlock:(SDWebImageNoParamsBlock)cancelBlock {\n    // check if the operation is already cancelled, then we just call the cancelBlock\n    if (self.isCancelled) {\n        if (cancelBlock) {\n            cancelBlock();\n        }\n        _cancelBlock = nil; // don't forget to nil the cancelBlock, otherwise we will get crashes\n    } else {\n        _cancelBlock = [cancelBlock copy];\n    }\n}\n\n- (void)cancel {\n    self.cancelled = YES;\n    if (self.cacheOperation) {\n        [self.cacheOperation cancel];\n        self.cacheOperation = nil;\n    }\n    if (self.cancelBlock) {\n        self.cancelBlock();\n        \n        // TODO: this is a temporary fix to #809.\n        // Until we can figure the exact cause of the crash, going with the ivar instead of the setter\n//        self.cancelBlock = nil;\n        _cancelBlock = nil;\n    }\n}\n\n@end\n\n\n@implementation SDWebImageManager (Deprecated)\n\n// deprecated method, uses the non deprecated method\n// adapter for the completion block\n- (id <SDWebImageOperation>)downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock {\n    return [self downloadImageWithURL:url\n                              options:options\n                             progress:progressBlock\n                            completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n                                if (completedBlock) {\n                                    completedBlock(image, error, cacheType, finished);\n                                }\n                            }];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImageOperation.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n\n@protocol SDWebImageOperation <NSObject>\n\n- (void)cancel;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImagePrefetcher.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageManager.h\"\n\n@class SDWebImagePrefetcher;\n\n@protocol SDWebImagePrefetcherDelegate <NSObject>\n\n@optional\n\n/**\n * Called when an image was prefetched.\n *\n * @param imagePrefetcher The current image prefetcher\n * @param imageURL        The image url that was prefetched\n * @param finishedCount   The total number of images that were prefetched (successful or not)\n * @param totalCount      The total number of images that were to be prefetched\n */\n- (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didPrefetchURL:(NSURL *)imageURL finishedCount:(NSUInteger)finishedCount totalCount:(NSUInteger)totalCount;\n\n/**\n * Called when all images are prefetched.\n * @param imagePrefetcher The current image prefetcher\n * @param totalCount      The total number of images that were prefetched (whether successful or not)\n * @param skippedCount    The total number of images that were skipped\n */\n- (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didFinishWithTotalCount:(NSUInteger)totalCount skippedCount:(NSUInteger)skippedCount;\n\n@end\n\ntypedef void(^SDWebImagePrefetcherProgressBlock)(NSUInteger noOfFinishedUrls, NSUInteger noOfTotalUrls);\ntypedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls, NSUInteger noOfSkippedUrls);\n\n/**\n * Prefetch some URLs in the cache for future use. Images are downloaded in low priority.\n */\n@interface SDWebImagePrefetcher : NSObject\n\n/**\n *  The web image manager\n */\n@property (strong, nonatomic, readonly) SDWebImageManager *manager;\n\n/**\n * Maximum number of URLs to prefetch at the same time. Defaults to 3.\n */\n@property (nonatomic, assign) NSUInteger maxConcurrentDownloads;\n\n/**\n * SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.\n */\n@property (nonatomic, assign) SDWebImageOptions options;\n\n@property (weak, nonatomic) id <SDWebImagePrefetcherDelegate> delegate;\n\n/**\n * Return the global image prefetcher instance.\n */\n+ (SDWebImagePrefetcher *)sharedImagePrefetcher;\n\n/**\n * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,\n * currently one image is downloaded at a time,\n * and skips images for failed downloads and proceed to the next image in the list\n *\n * @param urls list of URLs to prefetch\n */\n- (void)prefetchURLs:(NSArray *)urls;\n\n/**\n * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,\n * currently one image is downloaded at a time,\n * and skips images for failed downloads and proceed to the next image in the list\n *\n * @param urls            list of URLs to prefetch\n * @param progressBlock   block to be called when progress updates; \n *                        first parameter is the number of completed (successful or not) requests, \n *                        second parameter is the total number of images originally requested to be prefetched\n * @param completionBlock block to be called when prefetching is completed\n *                        first param is the number of completed (successful or not) requests,\n *                        second parameter is the number of skipped requests\n */\n- (void)prefetchURLs:(NSArray *)urls progress:(SDWebImagePrefetcherProgressBlock)progressBlock completed:(SDWebImagePrefetcherCompletionBlock)completionBlock;\n\n/**\n * Remove and cancel queued list\n */\n- (void)cancelPrefetching;\n\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/SDWebImagePrefetcher.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImagePrefetcher.h\"\n\n#if !defined(DEBUG) && !defined (SD_VERBOSE)\n#define NSLog(...)\n#endif\n\n@interface SDWebImagePrefetcher ()\n\n@property (strong, nonatomic) SDWebImageManager *manager;\n@property (strong, nonatomic) NSArray *prefetchURLs;\n@property (assign, nonatomic) NSUInteger requestedCount;\n@property (assign, nonatomic) NSUInteger skippedCount;\n@property (assign, nonatomic) NSUInteger finishedCount;\n@property (assign, nonatomic) NSTimeInterval startedTime;\n@property (copy, nonatomic) SDWebImagePrefetcherCompletionBlock completionBlock;\n@property (copy, nonatomic) SDWebImagePrefetcherProgressBlock progressBlock;\n\n@end\n\n@implementation SDWebImagePrefetcher\n\n+ (SDWebImagePrefetcher *)sharedImagePrefetcher {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (id)init {\n    if ((self = [super init])) {\n        _manager = [SDWebImageManager new];\n        _options = SDWebImageLowPriority;\n        self.maxConcurrentDownloads = 3;\n    }\n    return self;\n}\n\n- (void)setMaxConcurrentDownloads:(NSUInteger)maxConcurrentDownloads {\n    self.manager.imageDownloader.maxConcurrentDownloads = maxConcurrentDownloads;\n}\n\n- (NSUInteger)maxConcurrentDownloads {\n    return self.manager.imageDownloader.maxConcurrentDownloads;\n}\n\n- (void)startPrefetchingAtIndex:(NSUInteger)index {\n    if (index >= self.prefetchURLs.count) return;\n    self.requestedCount++;\n    [self.manager downloadImageWithURL:self.prefetchURLs[index] options:self.options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n        if (!finished) return;\n        self.finishedCount++;\n\n        if (image) {\n            if (self.progressBlock) {\n                self.progressBlock(self.finishedCount,[self.prefetchURLs count]);\n            }\n            NSLog(@\"Prefetched %@ out of %@\", @(self.finishedCount), @(self.prefetchURLs.count));\n        }\n        else {\n            if (self.progressBlock) {\n                self.progressBlock(self.finishedCount,[self.prefetchURLs count]);\n            }\n            NSLog(@\"Prefetched %@ out of %@ (Failed)\", @(self.finishedCount), @(self.prefetchURLs.count));\n\n            // Add last failed\n            self.skippedCount++;\n        }\n        if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didPrefetchURL:finishedCount:totalCount:)]) {\n            [self.delegate imagePrefetcher:self\n                            didPrefetchURL:self.prefetchURLs[index]\n                             finishedCount:self.finishedCount\n                                totalCount:self.prefetchURLs.count\n            ];\n        }\n\n        if (self.prefetchURLs.count > self.requestedCount) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                [self startPrefetchingAtIndex:self.requestedCount];\n            });\n        }\n        else if (self.finishedCount == self.requestedCount) {\n            [self reportStatus];\n            if (self.completionBlock) {\n                self.completionBlock(self.finishedCount, self.skippedCount);\n                self.completionBlock = nil;\n            }\n        }\n    }];\n}\n\n- (void)reportStatus {\n    NSUInteger total = [self.prefetchURLs count];\n    NSLog(@\"Finished prefetching (%@ successful, %@ skipped, timeElasped %.2f)\", @(total - self.skippedCount), @(self.skippedCount), CFAbsoluteTimeGetCurrent() - self.startedTime);\n    if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didFinishWithTotalCount:skippedCount:)]) {\n        [self.delegate imagePrefetcher:self\n               didFinishWithTotalCount:(total - self.skippedCount)\n                          skippedCount:self.skippedCount\n        ];\n    }\n}\n\n- (void)prefetchURLs:(NSArray *)urls {\n    [self prefetchURLs:urls progress:nil completed:nil];\n}\n\n- (void)prefetchURLs:(NSArray *)urls progress:(SDWebImagePrefetcherProgressBlock)progressBlock completed:(SDWebImagePrefetcherCompletionBlock)completionBlock {\n    [self cancelPrefetching]; // Prevent duplicate prefetch request\n    self.startedTime = CFAbsoluteTimeGetCurrent();\n    self.prefetchURLs = urls;\n    self.completionBlock = completionBlock;\n    self.progressBlock = progressBlock;\n\n    // Starts prefetching from the very first image on the list with the max allowed concurrency\n    NSUInteger listCount = self.prefetchURLs.count;\n    for (NSUInteger i = 0; i < self.maxConcurrentDownloads && self.requestedCount < listCount; i++) {\n        [self startPrefetchingAtIndex:i];\n    }\n}\n\n- (void)cancelPrefetching {\n    self.prefetchURLs = nil;\n    self.skippedCount = 0;\n    self.requestedCount = 0;\n    self.finishedCount = 0;\n    [self.manager cancelAll];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIButton+WebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageManager.h\"\n\n/**\n * Integrates SDWebImage async downloading and caching of remote images with UIButtonView.\n */\n@interface UIButton (WebCache)\n\n/**\n * Get the current image URL.\n */\n- (NSURL *)sd_currentImageURL;\n\n/**\n * Get the image URL for a control state.\n * \n * @param state Which state you want to know the URL for. The values are described in UIControlState.\n */\n- (NSURL *)sd_imageURLForState:(UIControlState)state;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url   The url for the image.\n * @param state The state that uses the specified title. The values are described in UIControlState.\n */\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state;\n\n/**\n * Set the imageView `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the backgroundImageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url   The url for the image.\n * @param state The state that uses the specified title. The values are described in UIControlState.\n */\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state;\n\n/**\n * Set the backgroundImageView `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder;\n\n/**\n * Set the backgroundImageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options;\n\n/**\n * Set the backgroundImageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the backgroundImageView `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the backgroundImageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Cancel the current image download\n */\n- (void)sd_cancelImageLoadForState:(UIControlState)state;\n\n/**\n * Cancel the current backgroundImage download\n */\n- (void)sd_cancelBackgroundImageLoadForState:(UIControlState)state;\n\n@end\n\n\n@interface UIButton (WebCacheDeprecated)\n\n- (NSURL *)currentImageURL __deprecated_msg(\"Use `sd_currentImageURL`\");\n- (NSURL *)imageURLForState:(UIControlState)state __deprecated_msg(\"Use `sd_imageURLForState:`\");\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:forState:`\");\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:`\");\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:options:`\");\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:forState:completed:`\");\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:completed:`\");\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:options:completed:`\");\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state __deprecated_msg(\"Method deprecated. Use `sd_setBackgroundImageWithURL:forState:`\");\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder __deprecated_msg(\"Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:`\");\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options __deprecated_msg(\"Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:options:`\");\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setBackgroundImageWithURL:forState:completed:`\");\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:completed:`\");\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:options:completed:`\");\n\n- (void)cancelCurrentImageLoad __deprecated_msg(\"Use `sd_cancelImageLoadForState:`\");\n- (void)cancelBackgroundImageLoadForState:(UIControlState)state __deprecated_msg(\"Use `sd_cancelBackgroundImageLoadForState:`\");\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIButton+WebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIButton+WebCache.h\"\n#import \"objc/runtime.h\"\n#import \"UIView+WebCacheOperation.h\"\n\nstatic char imageURLStorageKey;\n\n@implementation UIButton (WebCache)\n\n- (NSURL *)sd_currentImageURL {\n    NSURL *url = self.imageURLStorage[@(self.state)];\n\n    if (!url) {\n        url = self.imageURLStorage[@(UIControlStateNormal)];\n    }\n\n    return url;\n}\n\n- (NSURL *)sd_imageURLForState:(UIControlState)state {\n    return self.imageURLStorage[@(state)];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state {\n    [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {\n\n    [self setImage:placeholder forState:state];\n    [self sd_cancelImageLoadForState:state];\n    \n    if (!url) {\n        [self.imageURLStorage removeObjectForKey:@(state)];\n        \n        dispatch_main_async_safe(^{\n            NSError *error = [NSError errorWithDomain:@\"SDWebImageErrorDomain\" code:-1 userInfo:@{NSLocalizedDescriptionKey : @\"Trying to load a nil url\"}];\n            if (completedBlock) {\n                completedBlock(nil, error, SDImageCacheTypeNone, url);\n            }\n        });\n        \n        return;\n    }\n    \n    self.imageURLStorage[@(state)] = url;\n\n    __weak UIButton *wself = self;\n    id <SDWebImageOperation> operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n        if (!wself) return;\n        dispatch_main_sync_safe(^{\n            __strong UIButton *sself = wself;\n            if (!sself) return;\n            if (image) {\n                [sself setImage:image forState:state];\n            }\n            if (completedBlock && finished) {\n                completedBlock(image, error, cacheType, url);\n            }\n        });\n    }];\n    [self sd_setImageLoadOperation:operation forState:state];\n}\n\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock];\n}\n\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock];\n}\n\n- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_cancelImageLoadForState:state];\n\n    [self setBackgroundImage:placeholder forState:state];\n\n    if (url) {\n        __weak UIButton *wself = self;\n        id <SDWebImageOperation> operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n            if (!wself) return;\n            dispatch_main_sync_safe(^{\n                __strong UIButton *sself = wself;\n                if (!sself) return;\n                if (image) {\n                    [sself setBackgroundImage:image forState:state];\n                }\n                if (completedBlock && finished) {\n                    completedBlock(image, error, cacheType, url);\n                }\n            });\n        }];\n        [self sd_setBackgroundImageLoadOperation:operation forState:state];\n    } else {\n        dispatch_main_async_safe(^{\n            NSError *error = [NSError errorWithDomain:@\"SDWebImageErrorDomain\" code:-1 userInfo:@{NSLocalizedDescriptionKey : @\"Trying to load a nil url\"}];\n            if (completedBlock) {\n                completedBlock(nil, error, SDImageCacheTypeNone, url);\n            }\n        });\n    }\n}\n\n- (void)sd_setImageLoadOperation:(id<SDWebImageOperation>)operation forState:(UIControlState)state {\n    [self sd_setImageLoadOperation:operation forKey:[NSString stringWithFormat:@\"UIButtonImageOperation%@\", @(state)]];\n}\n\n- (void)sd_cancelImageLoadForState:(UIControlState)state {\n    [self sd_cancelImageLoadOperationWithKey:[NSString stringWithFormat:@\"UIButtonImageOperation%@\", @(state)]];\n}\n\n- (void)sd_setBackgroundImageLoadOperation:(id<SDWebImageOperation>)operation forState:(UIControlState)state {\n    [self sd_setImageLoadOperation:operation forKey:[NSString stringWithFormat:@\"UIButtonBackgroundImageOperation%@\", @(state)]];\n}\n\n- (void)sd_cancelBackgroundImageLoadForState:(UIControlState)state {\n    [self sd_cancelImageLoadOperationWithKey:[NSString stringWithFormat:@\"UIButtonBackgroundImageOperation%@\", @(state)]];\n}\n\n- (NSMutableDictionary *)imageURLStorage {\n    NSMutableDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey);\n    if (!storage)\n    {\n        storage = [NSMutableDictionary dictionary];\n        objc_setAssociatedObject(self, &imageURLStorageKey, storage, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    }\n\n    return storage;\n}\n\n@end\n\n\n@implementation UIButton (WebCacheDeprecated)\n\n- (NSURL *)currentImageURL {\n    return [self sd_currentImageURL];\n}\n\n- (NSURL *)imageURLForState:(UIControlState)state {\n    return [self sd_imageURLForState:state];\n}\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state {\n    [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)cancelCurrentImageLoad {\n    // in a backwards compatible manner, cancel for current state\n    [self sd_cancelImageLoadForState:self.state];\n}\n\n- (void)cancelBackgroundImageLoadForState:(UIControlState)state {\n    [self sd_cancelBackgroundImageLoadForState:state];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImage+GIF.h",
    "content": "//\n//  UIImage+GIF.h\n//  LBGIFImage\n//\n//  Created by Laurin Brandner on 06.01.12.\n//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIImage (GIF)\n\n+ (UIImage *)sd_animatedGIFNamed:(NSString *)name;\n\n+ (UIImage *)sd_animatedGIFWithData:(NSData *)data;\n\n- (UIImage *)sd_animatedImageByScalingAndCroppingToSize:(CGSize)size;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImage+GIF.m",
    "content": "//\n//  UIImage+GIF.m\n//  LBGIFImage\n//\n//  Created by Laurin Brandner on 06.01.12.\n//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.\n//\n\n#import \"UIImage+GIF.h\"\n#import <ImageIO/ImageIO.h>\n\n@implementation UIImage (GIF)\n\n+ (UIImage *)sd_animatedGIFWithData:(NSData *)data {\n    if (!data) {\n        return nil;\n    }\n\n    CGImageSourceRef source = CGImageSourceCreateWithData((__bridge CFDataRef)data, NULL);\n\n    size_t count = CGImageSourceGetCount(source);\n\n    UIImage *animatedImage;\n\n    if (count <= 1) {\n        animatedImage = [[UIImage alloc] initWithData:data];\n    }\n    else {\n        NSMutableArray *images = [NSMutableArray array];\n\n        NSTimeInterval duration = 0.0f;\n\n        for (size_t i = 0; i < count; i++) {\n            CGImageRef image = CGImageSourceCreateImageAtIndex(source, i, NULL);\n\n            duration += [self sd_frameDurationAtIndex:i source:source];\n\n            [images addObject:[UIImage imageWithCGImage:image scale:[UIScreen mainScreen].scale orientation:UIImageOrientationUp]];\n\n            CGImageRelease(image);\n        }\n\n        if (!duration) {\n            duration = (1.0f / 10.0f) * count;\n        }\n\n        animatedImage = [UIImage animatedImageWithImages:images duration:duration];\n    }\n\n    CFRelease(source);\n\n    return animatedImage;\n}\n\n+ (float)sd_frameDurationAtIndex:(NSUInteger)index source:(CGImageSourceRef)source {\n    float frameDuration = 0.1f;\n    CFDictionaryRef cfFrameProperties = CGImageSourceCopyPropertiesAtIndex(source, index, nil);\n    NSDictionary *frameProperties = (__bridge NSDictionary *)cfFrameProperties;\n    NSDictionary *gifProperties = frameProperties[(NSString *)kCGImagePropertyGIFDictionary];\n\n    NSNumber *delayTimeUnclampedProp = gifProperties[(NSString *)kCGImagePropertyGIFUnclampedDelayTime];\n    if (delayTimeUnclampedProp) {\n        frameDuration = [delayTimeUnclampedProp floatValue];\n    }\n    else {\n\n        NSNumber *delayTimeProp = gifProperties[(NSString *)kCGImagePropertyGIFDelayTime];\n        if (delayTimeProp) {\n            frameDuration = [delayTimeProp floatValue];\n        }\n    }\n\n    // Many annoying ads specify a 0 duration to make an image flash as quickly as possible.\n    // We follow Firefox's behavior and use a duration of 100 ms for any frames that specify\n    // a duration of <= 10 ms. See <rdar://problem/7689300> and <http://webkit.org/b/36082>\n    // for more information.\n\n    if (frameDuration < 0.011f) {\n        frameDuration = 0.100f;\n    }\n\n    CFRelease(cfFrameProperties);\n    return frameDuration;\n}\n\n+ (UIImage *)sd_animatedGIFNamed:(NSString *)name {\n    CGFloat scale = [UIScreen mainScreen].scale;\n\n    if (scale > 1.0f) {\n        NSString *retinaPath = [[NSBundle mainBundle] pathForResource:[name stringByAppendingString:@\"@2x\"] ofType:@\"gif\"];\n\n        NSData *data = [NSData dataWithContentsOfFile:retinaPath];\n\n        if (data) {\n            return [UIImage sd_animatedGIFWithData:data];\n        }\n\n        NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@\"gif\"];\n\n        data = [NSData dataWithContentsOfFile:path];\n\n        if (data) {\n            return [UIImage sd_animatedGIFWithData:data];\n        }\n\n        return [UIImage imageNamed:name];\n    }\n    else {\n        NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@\"gif\"];\n\n        NSData *data = [NSData dataWithContentsOfFile:path];\n\n        if (data) {\n            return [UIImage sd_animatedGIFWithData:data];\n        }\n\n        return [UIImage imageNamed:name];\n    }\n}\n\n- (UIImage *)sd_animatedImageByScalingAndCroppingToSize:(CGSize)size {\n    if (CGSizeEqualToSize(self.size, size) || CGSizeEqualToSize(size, CGSizeZero)) {\n        return self;\n    }\n\n    CGSize scaledSize = size;\n    CGPoint thumbnailPoint = CGPointZero;\n\n    CGFloat widthFactor = size.width / self.size.width;\n    CGFloat heightFactor = size.height / self.size.height;\n    CGFloat scaleFactor = (widthFactor > heightFactor) ? widthFactor : heightFactor;\n    scaledSize.width = self.size.width * scaleFactor;\n    scaledSize.height = self.size.height * scaleFactor;\n\n    if (widthFactor > heightFactor) {\n        thumbnailPoint.y = (size.height - scaledSize.height) * 0.5;\n    }\n    else if (widthFactor < heightFactor) {\n        thumbnailPoint.x = (size.width - scaledSize.width) * 0.5;\n    }\n\n    NSMutableArray *scaledImages = [NSMutableArray array];\n\n    UIGraphicsBeginImageContextWithOptions(size, NO, 0.0);\n\n    for (UIImage *image in self.images) {\n        [image drawInRect:CGRectMake(thumbnailPoint.x, thumbnailPoint.y, scaledSize.width, scaledSize.height)];\n        UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();\n\n        [scaledImages addObject:newImage];\n    }\n\n    UIGraphicsEndImageContext();\n\n    return [UIImage animatedImageWithImages:scaledImages duration:self.duration];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImage+MultiFormat.h",
    "content": "//\n//  UIImage+MultiFormat.h\n//  SDWebImage\n//\n//  Created by Olivier Poitrey on 07/06/13.\n//  Copyright (c) 2013 Dailymotion. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIImage (MultiFormat)\n\n+ (UIImage *)sd_imageWithData:(NSData *)data;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImage+MultiFormat.m",
    "content": "//\n//  UIImage+MultiFormat.m\n//  SDWebImage\n//\n//  Created by Olivier Poitrey on 07/06/13.\n//  Copyright (c) 2013 Dailymotion. All rights reserved.\n//\n\n#import \"UIImage+MultiFormat.h\"\n#import \"UIImage+GIF.h\"\n#import \"NSData+ImageContentType.h\"\n#import <ImageIO/ImageIO.h>\n\n#ifdef SD_WEBP\n#import \"UIImage+WebP.h\"\n#endif\n\n@implementation UIImage (MultiFormat)\n\n+ (UIImage *)sd_imageWithData:(NSData *)data {\n    UIImage *image;\n    NSString *imageContentType = [NSData sd_contentTypeForImageData:data];\n    if ([imageContentType isEqualToString:@\"image/gif\"]) {\n        image = [UIImage sd_animatedGIFWithData:data];\n    }\n#ifdef SD_WEBP\n    else if ([imageContentType isEqualToString:@\"image/webp\"])\n    {\n        image = [UIImage sd_imageWithWebPData:data];\n    }\n#endif\n    else {\n        image = [[UIImage alloc] initWithData:data];\n        UIImageOrientation orientation = [self sd_imageOrientationFromImageData:data];\n        if (orientation != UIImageOrientationUp) {\n            image = [UIImage imageWithCGImage:image.CGImage\n                                        scale:image.scale\n                                  orientation:orientation];\n        }\n    }\n\n\n    return image;\n}\n\n\n+(UIImageOrientation)sd_imageOrientationFromImageData:(NSData *)imageData {\n    UIImageOrientation result = UIImageOrientationUp;\n    CGImageSourceRef imageSource = CGImageSourceCreateWithData((__bridge CFDataRef)imageData, NULL);\n    if (imageSource) {\n        CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL);\n        if (properties) {\n            CFTypeRef val;\n            int exifOrientation;\n            val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation);\n            if (val) {\n                CFNumberGetValue(val, kCFNumberIntType, &exifOrientation);\n                result = [self sd_exifOrientationToiOSOrientation:exifOrientation];\n            } // else - if it's not set it remains at up\n            CFRelease((CFTypeRef) properties);\n        } else {\n            //NSLog(@\"NO PROPERTIES, FAIL\");\n        }\n        CFRelease(imageSource);\n    }\n    return result;\n}\n\n#pragma mark EXIF orientation tag converter\n// Convert an EXIF image orientation to an iOS one.\n// reference see here: http://sylvana.net/jpegcrop/exif_orientation.html\n+ (UIImageOrientation) sd_exifOrientationToiOSOrientation:(int)exifOrientation {\n    UIImageOrientation orientation = UIImageOrientationUp;\n    switch (exifOrientation) {\n        case 1:\n            orientation = UIImageOrientationUp;\n            break;\n\n        case 3:\n            orientation = UIImageOrientationDown;\n            break;\n\n        case 8:\n            orientation = UIImageOrientationLeft;\n            break;\n\n        case 6:\n            orientation = UIImageOrientationRight;\n            break;\n\n        case 2:\n            orientation = UIImageOrientationUpMirrored;\n            break;\n\n        case 4:\n            orientation = UIImageOrientationDownMirrored;\n            break;\n\n        case 5:\n            orientation = UIImageOrientationLeftMirrored;\n            break;\n\n        case 7:\n            orientation = UIImageOrientationRightMirrored;\n            break;\n        default:\n            break;\n    }\n    return orientation;\n}\n\n\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImage+WebP.h",
    "content": "//\n//  UIImage+WebP.h\n//  SDWebImage\n//\n//  Created by Olivier Poitrey on 07/06/13.\n//  Copyright (c) 2013 Dailymotion. All rights reserved.\n//\n\n#ifdef SD_WEBP\n\n#import <UIKit/UIKit.h>\n\n// Fix for issue #416 Undefined symbols for architecture armv7 since WebP introduction when deploying to device\nvoid WebPInitPremultiplyNEON(void);\n\nvoid WebPInitUpsamplersNEON(void);\n\nvoid VP8DspInitNEON(void);\n\n@interface UIImage (WebP)\n\n+ (UIImage *)sd_imageWithWebPData:(NSData *)data;\n\n@end\n\n#endif\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImage+WebP.m",
    "content": "//\n//  UIImage+WebP.m\n//  SDWebImage\n//\n//  Created by Olivier Poitrey on 07/06/13.\n//  Copyright (c) 2013 Dailymotion. All rights reserved.\n//\n\n#ifdef SD_WEBP\n#import \"UIImage+WebP.h\"\n#import \"webp/decode.h\"\n\n// Callback for CGDataProviderRelease\nstatic void FreeImageData(void *info, const void *data, size_t size)\n{\n    free((void *)data);\n}\n\n@implementation UIImage (WebP)\n\n+ (UIImage *)sd_imageWithWebPData:(NSData *)data {\n    WebPDecoderConfig config;\n    if (!WebPInitDecoderConfig(&config)) {\n        return nil;\n    }\n\n    config.output.colorspace = MODE_rgbA;\n    config.options.use_threads = 1;\n\n    // Decode the WebP image data into a RGBA value array.\n    if (WebPDecode(data.bytes, data.length, &config) != VP8_STATUS_OK) {\n        return nil;\n    }\n\n    int width = config.input.width;\n    int height = config.input.height;\n    if (config.options.use_scaling) {\n        width = config.options.scaled_width;\n        height = config.options.scaled_height;\n    }\n\n    // Construct a UIImage from the decoded RGBA value array.\n    CGDataProviderRef provider =\n    CGDataProviderCreateWithData(NULL, config.output.u.RGBA.rgba, config.output.u.RGBA.size, FreeImageData);\n    CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB();\n    CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Big | kCGImageAlphaPremultipliedLast;\n    CGColorRenderingIntent renderingIntent = kCGRenderingIntentDefault;\n    CGImageRef imageRef = CGImageCreate(width, height, 8, 32, 4 * width, colorSpaceRef, bitmapInfo, provider, NULL, NO, renderingIntent);\n\n    CGColorSpaceRelease(colorSpaceRef);\n    CGDataProviderRelease(provider);\n\n    UIImage *image = [[UIImage alloc] initWithCGImage:imageRef];\n    CGImageRelease(imageRef);\n\n    return image;\n}\n\n@end\n\n#if !COCOAPODS\n// Functions to resolve some undefined symbols when using WebP and force_load flag\nvoid WebPInitPremultiplyNEON(void) {}\nvoid WebPInitUpsamplersNEON(void) {}\nvoid VP8DspInitNEON(void) {}\n#endif\n\n#endif\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <UIKit/UIKit.h>\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageManager.h\"\n\n/**\n * Integrates SDWebImage async downloading and caching of remote images with UIImageView for highlighted state.\n */\n@interface UIImageView (HighlightedWebCache)\n\n/**\n * Set the imageView `highlightedImage` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url The url for the image.\n */\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url;\n\n/**\n * Set the imageView `highlightedImage` with an `url` and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url     The url for the image.\n * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options;\n\n/**\n * Set the imageView `highlightedImage` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `highlightedImage` with an `url` and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `highlightedImage` with an `url` and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while image is downloading\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Cancel the current download\n */\n- (void)sd_cancelCurrentHighlightedImageLoad;\n\n@end\n\n\n@interface UIImageView (HighlightedWebCacheDeprecated)\n\n- (void)setHighlightedImageWithURL:(NSURL *)url __deprecated_msg(\"Method deprecated. Use `sd_setHighlightedImageWithURL:`\");\n- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options __deprecated_msg(\"Method deprecated. Use `sd_setHighlightedImageWithURL:options:`\");\n- (void)setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setHighlightedImageWithURL:completed:`\");\n- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setHighlightedImageWithURL:options:completed:`\");\n- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setHighlightedImageWithURL:options:progress:completed:`\");\n\n- (void)cancelCurrentHighlightedImageLoad __deprecated_msg(\"Use `sd_cancelCurrentHighlightedImageLoad`\");\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIImageView+HighlightedWebCache.h\"\n#import \"UIView+WebCacheOperation.h\"\n\n#define UIImageViewHighlightedWebCacheOperationKey @\"highlightedImage\"\n\n@implementation UIImageView (HighlightedWebCache)\n\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url {\n    [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options {\n    [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:nil];\n}\n\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:completedBlock];\n}\n\n- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_cancelCurrentHighlightedImageLoad];\n\n    if (url) {\n        __weak UIImageView      *wself    = self;\n        id<SDWebImageOperation> operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n            if (!wself) return;\n            dispatch_main_sync_safe (^\n                                     {\n                                         if (!wself) return;\n                                         if (image) {\n                                             wself.highlightedImage = image;\n                                             [wself setNeedsLayout];\n                                         }\n                                         if (completedBlock && finished) {\n                                             completedBlock(image, error, cacheType, url);\n                                         }\n                                     });\n        }];\n        [self sd_setImageLoadOperation:operation forKey:UIImageViewHighlightedWebCacheOperationKey];\n    } else {\n        dispatch_main_async_safe(^{\n            NSError *error = [NSError errorWithDomain:@\"SDWebImageErrorDomain\" code:-1 userInfo:@{NSLocalizedDescriptionKey : @\"Trying to load a nil url\"}];\n            if (completedBlock) {\n                completedBlock(nil, error, SDImageCacheTypeNone, url);\n            }\n        });\n    }\n}\n\n- (void)sd_cancelCurrentHighlightedImageLoad {\n    [self sd_cancelImageLoadOperationWithKey:UIImageViewHighlightedWebCacheOperationKey];\n}\n\n@end\n\n\n@implementation UIImageView (HighlightedWebCacheDeprecated)\n\n- (void)setHighlightedImageWithURL:(NSURL *)url {\n    [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:nil];\n}\n\n- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options {\n    [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:nil];\n}\n\n- (void)setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setHighlightedImageWithURL:url options:0 progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)cancelCurrentHighlightedImageLoad {\n    [self sd_cancelCurrentHighlightedImageLoad];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImageView+WebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageManager.h\"\n\n/**\n * Integrates SDWebImage async downloading and caching of remote images with UIImageView.\n *\n * Usage with a UITableViewCell sub-class:\n *\n * @code\n\n#import <SDWebImage/UIImageView+WebCache.h>\n\n...\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    static NSString *MyIdentifier = @\"MyIdentifier\";\n \n    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];\n \n    if (cell == nil) {\n        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier]\n                 autorelease];\n    }\n \n    // Here we use the provided sd_setImageWithURL: method to load the web image\n    // Ensure you use a placeholder image otherwise cells will be initialized with no image\n    [cell.imageView sd_setImageWithURL:[NSURL URLWithString:@\"http://example.com/image.jpg\"]\n                      placeholderImage:[UIImage imageNamed:@\"placeholder\"]];\n \n    cell.textLabel.text = @\"My Text\";\n    return cell;\n}\n\n * @endcode\n */\n@interface UIImageView (WebCache)\n\n/**\n * Get the current image URL.\n *\n * Note that because of the limitations of categories this property can get out of sync\n * if you use sd_setImage: directly.\n */\n- (NSURL *)sd_imageURL;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url The url for the image.\n */\n- (void)sd_setImageWithURL:(NSURL *)url;\n\n/**\n * Set the imageView `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while image is downloading\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url` and a optionaly placeholder image.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while image is downloading\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrived from the local cache of from the network.\n *                       The forth parameter is the original image url.\n */\n- (void)sd_setImageWithPreviousCachedImageWithURL:(NSURL *)url andPlaceholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock;\n\n/**\n * Download an array of images and starts them in an animation loop\n *\n * @param arrayOfURLs An array of NSURL\n */\n- (void)sd_setAnimationImagesWithURLs:(NSArray *)arrayOfURLs;\n\n/**\n * Cancel the current download\n */\n- (void)sd_cancelCurrentImageLoad;\n\n- (void)sd_cancelCurrentAnimationImagesLoad;\n\n@end\n\n\n@interface UIImageView (WebCacheDeprecated)\n\n- (NSURL *)imageURL __deprecated_msg(\"Use `sd_imageURL`\");\n\n- (void)setImageWithURL:(NSURL *)url __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:options`\");\n\n- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:completed:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:completed:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:options:completed:`\");\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg(\"Method deprecated. Use `sd_setImageWithURL:placeholderImage:options:progress:completed:`\");\n\n- (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs __deprecated_msg(\"Use `sd_setAnimationImagesWithURLs:`\");\n\n- (void)cancelCurrentArrayLoad __deprecated_msg(\"Use `sd_cancelCurrentAnimationImagesLoad`\");\n\n- (void)cancelCurrentImageLoad __deprecated_msg(\"Use `sd_cancelCurrentImageLoad`\");\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIImageView+WebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIImageView+WebCache.h\"\n#import \"objc/runtime.h\"\n#import \"UIView+WebCacheOperation.h\"\n\nstatic char imageURLKey;\n\n@implementation UIImageView (WebCache)\n\n- (void)sd_setImageWithURL:(NSURL *)url {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock {\n    [self sd_cancelCurrentImageLoad];\n    objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n\n    if (!(options & SDWebImageDelayPlaceholder)) {\n        self.image = placeholder;\n    }\n    \n    if (url) {\n        __weak UIImageView *wself = self;\n        id <SDWebImageOperation> operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n            if (!wself) return;\n            dispatch_main_sync_safe(^{\n                if (!wself) return;\n                if (image) {\n                    wself.image = image;\n                    [wself setNeedsLayout];\n                } else {\n                    if ((options & SDWebImageDelayPlaceholder)) {\n                        wself.image = placeholder;\n                        [wself setNeedsLayout];\n                    }\n                }\n                if (completedBlock && finished) {\n                    completedBlock(image, error, cacheType, url);\n                }\n            });\n        }];\n        [self sd_setImageLoadOperation:operation forKey:@\"UIImageViewImageLoad\"];\n    } else {\n        dispatch_main_async_safe(^{\n            NSError *error = [NSError errorWithDomain:@\"SDWebImageErrorDomain\" code:-1 userInfo:@{NSLocalizedDescriptionKey : @\"Trying to load a nil url\"}];\n            if (completedBlock) {\n                completedBlock(nil, error, SDImageCacheTypeNone, url);\n            }\n        });\n    }\n}\n\n- (void)sd_setImageWithPreviousCachedImageWithURL:(NSURL *)url andPlaceholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock {\n    NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:url];\n    UIImage *lastPreviousCachedImage = [[SDImageCache sharedImageCache] imageFromDiskCacheForKey:key];\n    \n    [self sd_setImageWithURL:url placeholderImage:lastPreviousCachedImage ?: placeholder options:options progress:progressBlock completed:completedBlock];    \n}\n\n- (NSURL *)sd_imageURL {\n    return objc_getAssociatedObject(self, &imageURLKey);\n}\n\n- (void)sd_setAnimationImagesWithURLs:(NSArray *)arrayOfURLs {\n    [self sd_cancelCurrentAnimationImagesLoad];\n    __weak UIImageView *wself = self;\n\n    NSMutableArray *operationsArray = [[NSMutableArray alloc] init];\n\n    for (NSURL *logoImageURL in arrayOfURLs) {\n        id <SDWebImageOperation> operation = [SDWebImageManager.sharedManager downloadImageWithURL:logoImageURL options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n            if (!wself) return;\n            dispatch_main_sync_safe(^{\n                __strong UIImageView *sself = wself;\n                [sself stopAnimating];\n                if (sself && image) {\n                    NSMutableArray *currentImages = [[sself animationImages] mutableCopy];\n                    if (!currentImages) {\n                        currentImages = [[NSMutableArray alloc] init];\n                    }\n                    [currentImages addObject:image];\n\n                    sself.animationImages = currentImages;\n                    [sself setNeedsLayout];\n                }\n                [sself startAnimating];\n            });\n        }];\n        [operationsArray addObject:operation];\n    }\n\n    [self sd_setImageLoadOperation:[NSArray arrayWithArray:operationsArray] forKey:@\"UIImageViewAnimationImages\"];\n}\n\n- (void)sd_cancelCurrentImageLoad {\n    [self sd_cancelImageLoadOperationWithKey:@\"UIImageViewImageLoad\"];\n}\n\n- (void)sd_cancelCurrentAnimationImagesLoad {\n    [self sd_cancelImageLoadOperationWithKey:@\"UIImageViewAnimationImages\"];\n}\n\n@end\n\n\n@implementation UIImageView (WebCacheDeprecated)\n\n- (NSURL *)imageURL {\n    return [self sd_imageURL];\n}\n\n- (void)setImageWithURL:(NSURL *)url {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        if (completedBlock) {\n            completedBlock(image, error, cacheType);\n        }\n    }];\n}\n\n- (void)cancelCurrentArrayLoad {\n    [self sd_cancelCurrentAnimationImagesLoad];\n}\n\n- (void)cancelCurrentImageLoad {\n    [self sd_cancelCurrentImageLoad];\n}\n\n- (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs {\n    [self sd_setAnimationImagesWithURLs:arrayOfURLs];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIView+WebCacheOperation.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <UIKit/UIKit.h>\n#import \"SDWebImageManager.h\"\n\n@interface UIView (WebCacheOperation)\n\n/**\n *  Set the image load operation (storage in a UIView based dictionary)\n *\n *  @param operation the operation\n *  @param key       key for storing the operation\n */\n- (void)sd_setImageLoadOperation:(id)operation forKey:(NSString *)key;\n\n/**\n *  Cancel all operations for the current UIView and key\n *\n *  @param key key for identifying the operations\n */\n- (void)sd_cancelImageLoadOperationWithKey:(NSString *)key;\n\n/**\n *  Just remove the operations corresponding to the current UIView and key without cancelling them\n *\n *  @param key key for identifying the operations\n */\n- (void)sd_removeImageLoadOperationWithKey:(NSString *)key;\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage/UIView+WebCacheOperation.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIView+WebCacheOperation.h\"\n#import \"objc/runtime.h\"\n\nstatic char loadOperationKey;\n\n@implementation UIView (WebCacheOperation)\n\n- (NSMutableDictionary *)operationDictionary {\n    NSMutableDictionary *operations = objc_getAssociatedObject(self, &loadOperationKey);\n    if (operations) {\n        return operations;\n    }\n    operations = [NSMutableDictionary dictionary];\n    objc_setAssociatedObject(self, &loadOperationKey, operations, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    return operations;\n}\n\n- (void)sd_setImageLoadOperation:(id)operation forKey:(NSString *)key {\n    [self sd_cancelImageLoadOperationWithKey:key];\n    NSMutableDictionary *operationDictionary = [self operationDictionary];\n    [operationDictionary setObject:operation forKey:key];\n}\n\n- (void)sd_cancelImageLoadOperationWithKey:(NSString *)key {\n    // Cancel in progress downloader from queue\n    NSMutableDictionary *operationDictionary = [self operationDictionary];\n    id operations = [operationDictionary objectForKey:key];\n    if (operations) {\n        if ([operations isKindOfClass:[NSArray class]]) {\n            for (id <SDWebImageOperation> operation in operations) {\n                if (operation) {\n                    [operation cancel];\n                }\n            }\n        } else if ([operations conformsToProtocol:@protocol(SDWebImageOperation)]){\n            [(id<SDWebImageOperation>) operations cancel];\n        }\n        [operationDictionary removeObjectForKey:key];\n    }\n}\n\n- (void)sd_removeImageLoadOperationWithKey:(NSString *)key {\n    NSMutableDictionary *operationDictionary = [self operationDictionary];\n    [operationDictionary removeObjectForKey:key];\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/SDWebImage.podspec",
    "content": "Pod::Spec.new do |s|\n  s.name = 'SDWebImage'\n  s.version = '3.7.1'\n  s.platform = :ios, '5.0'\n  s.license = 'MIT'\n  s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.'\n  s.homepage = 'https://github.com/rs/SDWebImage'\n  s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' }\n  s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => s.version.to_s }\n\n  s.description = 'This library provides a category for UIImageView with support for remote '      \\\n                  'images coming from the web. It provides an UIImageView category adding web '    \\\n                  'image and cache management to the Cocoa Touch framework, an asynchronous '      \\\n                  'image downloader, an asynchronous memory + disk image caching with automatic '  \\\n                  'cache expiration handling, a guarantee that the same URL won\\'t be downloaded ' \\\n                  'several times, a guarantee that bogus URLs won\\'t be retried again and again, ' \\\n                  'and performances!'\n\n  s.requires_arc = true\n  s.framework = 'ImageIO'\n  \n  s.default_subspec = 'Core'\n\n  s.subspec 'Core' do |core|\n    core.source_files = 'SDWebImage/{NS,SD,UI}*.{h,m}'\n    core.exclude_files = 'SDWebImage/UIImage+WebP.{h,m}'\n  end\n\n  s.subspec 'MapKit' do |mk|\n    mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'\n    mk.framework = 'MapKit'\n    mk.dependency 'SDWebImage/Core'\n  end\n\n  s.subspec 'WebP' do |webp|\n    webp.source_files = 'SDWebImage/UIImage+WebP.{h,m}'\n    webp.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1' }\n    webp.dependency 'SDWebImage/Core'\n    webp.dependency 'libwebp'\n  end\nend\n"
  },
  {
    "path": "SDWebImage/SDWebImage.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXAggregateTarget section */\n\t\t539F912B16316D2D00160719 /* SDWebImageFramework */ = {\n\t\t\tisa = PBXAggregateTarget;\n\t\t\tbuildConfigurationList = 539F912C16316D2D00160719 /* Build configuration list for PBXAggregateTarget \"SDWebImageFramework\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t539F913116316D7A00160719 /* Build Framework */,\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t539F913016316D3700160719 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = SDWebImageFramework;\n\t\t\tproductName = SDWebImageFramework;\n\t\t};\n/* End PBXAggregateTarget section */\n\n/* Begin PBXBuildFile section */\n\t\t530E49E816464C25002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t530E49E916464C26002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t530E49EA16464C7C002868E7 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t530E49EB16464C7F002868E7 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t530E49EC16464C84002868E7 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */; };\n\t\t530E49ED16464C84002868E7 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */; };\n\t\t531041C4157EAFA400BBABC3 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D86148C56230056699D /* SDImageCache.m */; };\n\t\t531041C5157EAFA400BBABC3 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8A148C56230056699D /* SDWebImageDecoder.m */; };\n\t\t531041C6157EAFA400BBABC3 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8C148C56230056699D /* SDWebImageDownloader.m */; };\n\t\t531041C7157EAFA400BBABC3 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8F148C56230056699D /* SDWebImageManager.m */; };\n\t\t531041C8157EAFA400BBABC3 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D92148C56230056699D /* SDWebImagePrefetcher.m */; };\n\t\t531041C9157EAFA400BBABC3 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D94148C56230056699D /* UIButton+WebCache.m */; };\n\t\t531041CA157EAFA400BBABC3 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D96148C56230056699D /* UIImageView+WebCache.m */; };\n\t\t531041CB157EAFA400BBABC3 /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 535699B515113E7300A4C397 /* MKAnnotationView+WebCache.m */; };\n\t\t531041CD157EAFA400BBABC3 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53FB894814D35E9E0020B787 /* UIKit.framework */; };\n\t\t531041CE157EAFA400BBABC3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53922D72148C55820056699D /* Foundation.framework */; };\n\t\t531041CF157EAFA400BBABC3 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53FB893F14D35D1A0020B787 /* CoreGraphics.framework */; };\n\t\t531041D1157EAFA400BBABC3 /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D85148C56230056699D /* SDImageCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041D3157EAFA400BBABC3 /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D88148C56230056699D /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041D4157EAFA400BBABC3 /* SDWebImageDecoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D89148C56230056699D /* SDWebImageDecoder.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041D5157EAFA400BBABC3 /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8B148C56230056699D /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041D7157EAFA400BBABC3 /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8E148C56230056699D /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041D9157EAFA400BBABC3 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D91148C56230056699D /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041DA157EAFA400BBABC3 /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D93148C56230056699D /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041DB157EAFA400BBABC3 /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D95148C56230056699D /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t531041DC157EAFA400BBABC3 /* MKAnnotationView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 535699B415113E7300A4C397 /* MKAnnotationView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t53406750167780C40042B59E /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 5340674F167780C40042B59E /* SDWebImageCompat.m */; };\n\t\t53761309155AD0D5005750A4 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D86148C56230056699D /* SDImageCache.m */; };\n\t\t5376130A155AD0D5005750A4 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8A148C56230056699D /* SDWebImageDecoder.m */; };\n\t\t5376130B155AD0D5005750A4 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8C148C56230056699D /* SDWebImageDownloader.m */; };\n\t\t5376130C155AD0D5005750A4 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8F148C56230056699D /* SDWebImageManager.m */; };\n\t\t5376130D155AD0D5005750A4 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D92148C56230056699D /* SDWebImagePrefetcher.m */; };\n\t\t5376130E155AD0D5005750A4 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D94148C56230056699D /* UIButton+WebCache.m */; };\n\t\t5376130F155AD0D5005750A4 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D96148C56230056699D /* UIImageView+WebCache.m */; };\n\t\t53761312155AD0D5005750A4 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53FB894814D35E9E0020B787 /* UIKit.framework */; };\n\t\t53761313155AD0D5005750A4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53922D72148C55820056699D /* Foundation.framework */; };\n\t\t53761314155AD0D5005750A4 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53FB893F14D35D1A0020B787 /* CoreGraphics.framework */; };\n\t\t53761316155AD0D5005750A4 /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D85148C56230056699D /* SDImageCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t53761318155AD0D5005750A4 /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D88148C56230056699D /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t53761319155AD0D5005750A4 /* SDWebImageDecoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D89148C56230056699D /* SDWebImageDecoder.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t5376131A155AD0D5005750A4 /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8B148C56230056699D /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t5376131C155AD0D5005750A4 /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8E148C56230056699D /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t5376131E155AD0D5005750A4 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D91148C56230056699D /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t5376131F155AD0D5005750A4 /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D93148C56230056699D /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t53761320155AD0D5005750A4 /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D95148C56230056699D /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D957517ECC1FE0097C263 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D86148C56230056699D /* SDImageCache.m */; };\n\t\t537D957617ECC1FE0097C263 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8A148C56230056699D /* SDWebImageDecoder.m */; };\n\t\t537D957717ECC1FE0097C263 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8C148C56230056699D /* SDWebImageDownloader.m */; };\n\t\t537D957817ECC1FE0097C263 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8F148C56230056699D /* SDWebImageManager.m */; };\n\t\t537D957917ECC1FE0097C263 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D92148C56230056699D /* SDWebImagePrefetcher.m */; };\n\t\t537D957A17ECC1FE0097C263 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D94148C56230056699D /* UIButton+WebCache.m */; };\n\t\t537D957B17ECC1FE0097C263 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D96148C56230056699D /* UIImageView+WebCache.m */; };\n\t\t537D957C17ECC1FE0097C263 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */; };\n\t\t537D957D17ECC1FE0097C263 /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 5340674F167780C40042B59E /* SDWebImageCompat.m */; };\n\t\t537D957E17ECC1FE0097C263 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = A18A6CC6172DC28500419892 /* UIImage+GIF.m */; };\n\t\t537D958017ECC1FE0097C263 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB8917623F7C00698166 /* UIImage+MultiFormat.m */; };\n\t\t537D958117ECC1FE0097C263 /* UIImage+WebP.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB921762547C00698166 /* UIImage+WebP.m */; };\n\t\t537D958217ECC1FE0097C263 /* webp.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFC9117625BE300698166 /* webp.c */; };\n\t\t537D958317ECC1FE0097C263 /* vp8l.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFC9717625C1100698166 /* vp8l.c */; };\n\t\t537D958417ECC1FE0097C263 /* vp8.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFC9917625C1100698166 /* vp8.c */; };\n\t\t537D958517ECC1FE0097C263 /* huffman.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCA517625C5B00698166 /* huffman.c */; };\n\t\t537D958617ECC1FE0097C263 /* frame.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCAA17625C8700698166 /* frame.c */; };\n\t\t537D958717ECC1FE0097C263 /* alpha.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCAD17625CA600698166 /* alpha.c */; };\n\t\t537D958817ECC1FE0097C263 /* quant_levels_dec.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCB117625CD800698166 /* quant_levels_dec.c */; };\n\t\t537D958917ECC1FE0097C263 /* dec.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCB817625D1900698166 /* dec.c */; };\n\t\t537D958A17ECC1FE0097C263 /* dec_sse2.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCBD17625D3F00698166 /* dec_sse2.c */; };\n\t\t537D958B17ECC1FE0097C263 /* cpu.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCC017625D8400698166 /* cpu.c */; };\n\t\t537D958C17ECC1FE0097C263 /* bit_reader.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCC417625DB200698166 /* bit_reader.c */; };\n\t\t537D958D17ECC1FE0097C263 /* color_cache.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCCA17625DD700698166 /* color_cache.c */; };\n\t\t537D958E17ECC1FE0097C263 /* alpha_processing.c in Sources */ = {isa = PBXBuildFile; fileRef = 53E481DB17C300F6003E8957 /* alpha_processing.c */; };\n\t\t537D958F17ECC1FE0097C263 /* lossless.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCD017625DFA00698166 /* lossless.c */; };\n\t\t537D959017ECC1FE0097C263 /* tree.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCD517625E1A00698166 /* tree.c */; };\n\t\t537D959117ECC1FE0097C263 /* quant.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCD817625E3000698166 /* quant.c */; };\n\t\t537D959217ECC1FE0097C263 /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCDB17625E6000698166 /* buffer.c */; };\n\t\t537D959317ECC1FE0097C263 /* upsampling.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCDE17625E8D00698166 /* upsampling.c */; };\n\t\t537D959417ECC1FE0097C263 /* yuv.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCE217625EB100698166 /* yuv.c */; };\n\t\t537D959517ECC1FE0097C263 /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCE717625EC800698166 /* io.c */; };\n\t\t537D959617ECC1FE0097C263 /* upsampling_sse2.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCEA17625EE200698166 /* upsampling_sse2.c */; };\n\t\t537D959717ECC1FE0097C263 /* rescaler.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCEE17625F1D00698166 /* rescaler.c */; };\n\t\t537D959817ECC1FE0097C263 /* utils.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCF417625F4100698166 /* utils.c */; };\n\t\t537D959917ECC1FE0097C263 /* filters.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCFA17625F5F00698166 /* filters.c */; };\n\t\t537D959A17ECC1FE0097C263 /* thread.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFD0017625F7900698166 /* thread.c */; };\n\t\t537D959C17ECC1FE0097C263 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53FB894814D35E9E0020B787 /* UIKit.framework */; };\n\t\t537D959D17ECC1FE0097C263 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53922D72148C55820056699D /* Foundation.framework */; };\n\t\t537D959E17ECC1FE0097C263 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53FB893F14D35D1A0020B787 /* CoreGraphics.framework */; };\n\t\t537D95A017ECC1FE0097C263 /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D85148C56230056699D /* SDImageCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A117ECC1FE0097C263 /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D88148C56230056699D /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A217ECC1FE0097C263 /* SDWebImageDecoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D89148C56230056699D /* SDWebImageDecoder.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A317ECC1FE0097C263 /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8B148C56230056699D /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A417ECC1FE0097C263 /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8E148C56230056699D /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A517ECC1FE0097C263 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D91148C56230056699D /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A617ECC1FE0097C263 /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D93148C56230056699D /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A717ECC1FE0097C263 /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D95148C56230056699D /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A817ECC1FE0097C263 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95A917ECC1FE0097C263 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t537D95AA17ECC1FE0097C263 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = A18A6CC5172DC28500419892 /* UIImage+GIF.h */; };\n\t\t537D95AC17ECC1FE0097C263 /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB8817623F7C00698166 /* UIImage+MultiFormat.h */; };\n\t\t537D95AD17ECC1FE0097C263 /* UIImage+WebP.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB911762547C00698166 /* UIImage+WebP.h */; };\n\t\t537D95AE17ECC1FE0097C263 /* webpi.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFC9017625BE300698166 /* webpi.h */; };\n\t\t537D95AF17ECC1FE0097C263 /* vp8li.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFC9617625C1100698166 /* vp8li.h */; };\n\t\t537D95B017ECC1FE0097C263 /* vp8i.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFC9817625C1100698166 /* vp8i.h */; };\n\t\t537D95B117ECC1FE0097C263 /* huffman.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCA417625C5B00698166 /* huffman.h */; };\n\t\t537D95B217ECC1FE0097C263 /* quant_levels_dec.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCB017625CD800698166 /* quant_levels_dec.h */; };\n\t\t537D95B317ECC1FE0097C263 /* dsp.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCB717625D1900698166 /* dsp.h */; };\n\t\t537D95B417ECC1FE0097C263 /* bit_reader.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCC317625DB200698166 /* bit_reader.h */; };\n\t\t537D95B517ECC1FE0097C263 /* color_cache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCC917625DD700698166 /* color_cache.h */; };\n\t\t537D95B617ECC1FE0097C263 /* lossless.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCCF17625DFA00698166 /* lossless.h */; };\n\t\t537D95B717ECC1FE0097C263 /* alpha_processing.h in Headers */ = {isa = PBXBuildFile; fileRef = 53E481DC17C300F6003E8957 /* alpha_processing.h */; };\n\t\t537D95B817ECC1FE0097C263 /* yuv.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCE117625EB100698166 /* yuv.h */; };\n\t\t537D95B917ECC1FE0097C263 /* rescaler.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCED17625F1D00698166 /* rescaler.h */; };\n\t\t537D95BA17ECC1FE0097C263 /* utils.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCF317625F4100698166 /* utils.h */; };\n\t\t537D95BB17ECC1FE0097C263 /* filters.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCF917625F5F00698166 /* filters.h */; };\n\t\t537D95BC17ECC1FE0097C263 /* thread.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCFF17625F7900698166 /* thread.h */; };\n\t\t53E481DE17C300F6003E8957 /* alpha_processing.c in Sources */ = {isa = PBXBuildFile; fileRef = 53E481DB17C300F6003E8957 /* alpha_processing.c */; };\n\t\t53E481E017C300F6003E8957 /* alpha_processing.h in Headers */ = {isa = PBXBuildFile; fileRef = 53E481DC17C300F6003E8957 /* alpha_processing.h */; };\n\t\t53EDFB8A17623F7C00698166 /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB8817623F7C00698166 /* UIImage+MultiFormat.h */; };\n\t\t53EDFB8B17623F7C00698166 /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB8817623F7C00698166 /* UIImage+MultiFormat.h */; };\n\t\t53EDFB8C17623F7C00698166 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB8917623F7C00698166 /* UIImage+MultiFormat.m */; };\n\t\t53EDFB8D17623F7C00698166 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB8917623F7C00698166 /* UIImage+MultiFormat.m */; };\n\t\t53EDFB941762547D00698166 /* UIImage+WebP.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB911762547C00698166 /* UIImage+WebP.h */; };\n\t\t53EDFB961762547D00698166 /* UIImage+WebP.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB921762547C00698166 /* UIImage+WebP.m */; };\n\t\t53EDFC9317625BE300698166 /* webpi.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFC9017625BE300698166 /* webpi.h */; };\n\t\t53EDFC9517625BE300698166 /* webp.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFC9117625BE300698166 /* webp.c */; };\n\t\t53EDFC9B17625C1100698166 /* vp8li.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFC9617625C1100698166 /* vp8li.h */; };\n\t\t53EDFC9D17625C1100698166 /* vp8l.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFC9717625C1100698166 /* vp8l.c */; };\n\t\t53EDFC9F17625C1100698166 /* vp8i.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFC9817625C1100698166 /* vp8i.h */; };\n\t\t53EDFCA117625C1100698166 /* vp8.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFC9917625C1100698166 /* vp8.c */; };\n\t\t53EDFCA717625C5B00698166 /* huffman.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCA417625C5B00698166 /* huffman.h */; };\n\t\t53EDFCA917625C5B00698166 /* huffman.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCA517625C5B00698166 /* huffman.c */; };\n\t\t53EDFCAC17625C8700698166 /* frame.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCAA17625C8700698166 /* frame.c */; };\n\t\t53EDFCAF17625CA600698166 /* alpha.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCAD17625CA600698166 /* alpha.c */; };\n\t\t53EDFCB317625CD800698166 /* quant_levels_dec.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCB017625CD800698166 /* quant_levels_dec.h */; };\n\t\t53EDFCB517625CD800698166 /* quant_levels_dec.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCB117625CD800698166 /* quant_levels_dec.c */; };\n\t\t53EDFCBA17625D1900698166 /* dsp.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCB717625D1900698166 /* dsp.h */; };\n\t\t53EDFCBC17625D1900698166 /* dec.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCB817625D1900698166 /* dec.c */; };\n\t\t53EDFCBF17625D3F00698166 /* dec_sse2.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCBD17625D3F00698166 /* dec_sse2.c */; };\n\t\t53EDFCC217625D8400698166 /* cpu.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCC017625D8400698166 /* cpu.c */; };\n\t\t53EDFCC617625DB200698166 /* bit_reader.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCC317625DB200698166 /* bit_reader.h */; };\n\t\t53EDFCC817625DB200698166 /* bit_reader.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCC417625DB200698166 /* bit_reader.c */; };\n\t\t53EDFCCC17625DD700698166 /* color_cache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCC917625DD700698166 /* color_cache.h */; };\n\t\t53EDFCCE17625DD700698166 /* color_cache.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCCA17625DD700698166 /* color_cache.c */; };\n\t\t53EDFCD217625DFA00698166 /* lossless.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCCF17625DFA00698166 /* lossless.h */; };\n\t\t53EDFCD417625DFA00698166 /* lossless.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCD017625DFA00698166 /* lossless.c */; };\n\t\t53EDFCD717625E1A00698166 /* tree.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCD517625E1A00698166 /* tree.c */; };\n\t\t53EDFCDA17625E3000698166 /* quant.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCD817625E3000698166 /* quant.c */; };\n\t\t53EDFCDD17625E6000698166 /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCDB17625E6000698166 /* buffer.c */; };\n\t\t53EDFCE017625E8D00698166 /* upsampling.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCDE17625E8D00698166 /* upsampling.c */; };\n\t\t53EDFCE417625EB100698166 /* yuv.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCE117625EB100698166 /* yuv.h */; };\n\t\t53EDFCE617625EB100698166 /* yuv.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCE217625EB100698166 /* yuv.c */; };\n\t\t53EDFCE917625EC800698166 /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCE717625EC800698166 /* io.c */; };\n\t\t53EDFCEC17625EE200698166 /* upsampling_sse2.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCEA17625EE200698166 /* upsampling_sse2.c */; };\n\t\t53EDFCF017625F1D00698166 /* rescaler.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCED17625F1D00698166 /* rescaler.h */; };\n\t\t53EDFCF217625F1D00698166 /* rescaler.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCEE17625F1D00698166 /* rescaler.c */; };\n\t\t53EDFCF617625F4100698166 /* utils.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCF317625F4100698166 /* utils.h */; };\n\t\t53EDFCF817625F4100698166 /* utils.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCF417625F4100698166 /* utils.c */; };\n\t\t53EDFCFC17625F5F00698166 /* filters.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCF917625F5F00698166 /* filters.h */; };\n\t\t53EDFCFE17625F5F00698166 /* filters.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFCFA17625F5F00698166 /* filters.c */; };\n\t\t53EDFD0217625F7900698166 /* thread.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFCFF17625F7900698166 /* thread.h */; };\n\t\t53EDFD0417625F7900698166 /* thread.c in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFD0017625F7900698166 /* thread.c */; };\n\t\t5D5B9142188EE8DD006D06BD /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D5B9140188EE8DD006D06BD /* NSData+ImageContentType.h */; };\n\t\t5D5B9143188EE8DD006D06BD /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D5B9140188EE8DD006D06BD /* NSData+ImageContentType.h */; };\n\t\t5D5B9144188EE8DD006D06BD /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D5B9140188EE8DD006D06BD /* NSData+ImageContentType.h */; };\n\t\t5D5B9145188EE8DD006D06BD /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D5B9141188EE8DD006D06BD /* NSData+ImageContentType.m */; };\n\t\t5D5B9146188EE8DD006D06BD /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D5B9141188EE8DD006D06BD /* NSData+ImageContentType.m */; };\n\t\t5D5B9147188EE8DD006D06BD /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D5B9141188EE8DD006D06BD /* NSData+ImageContentType.m */; };\n\t\t5DA509F4187B68E7002FEB5C /* random.c in Sources */ = {isa = PBXBuildFile; fileRef = 5DA509F2187B68E7002FEB5C /* random.c */; };\n\t\t5DA509F5187B68E7002FEB5C /* random.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DA509F3187B68E7002FEB5C /* random.h */; };\n\t\tA18A6CC7172DC28500419892 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = A18A6CC5172DC28500419892 /* UIImage+GIF.h */; };\n\t\tA18A6CC8172DC28500419892 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = A18A6CC5172DC28500419892 /* UIImage+GIF.h */; };\n\t\tA18A6CC9172DC28500419892 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = A18A6CC6172DC28500419892 /* UIImage+GIF.m */; };\n\t\tA18A6CCA172DC28500419892 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = A18A6CC6172DC28500419892 /* UIImage+GIF.m */; };\n\t\tAB615303192DA24600A2D8E9 /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = AB615301192DA24600A2D8E9 /* UIView+WebCacheOperation.h */; };\n\t\tAB615304192DA24600A2D8E9 /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = AB615301192DA24600A2D8E9 /* UIView+WebCacheOperation.h */; };\n\t\tAB615305192DA24600A2D8E9 /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = AB615301192DA24600A2D8E9 /* UIView+WebCacheOperation.h */; };\n\t\tAB615306192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = AB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */; };\n\t\tAB615307192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = AB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */; };\n\t\tAB615308192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = AB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */; };\n\t\tABBE71A718C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = ABBE71A518C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\tABBE71A818C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = ABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */; };\n\t\tABBE71A918C43B5800B75E91 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = ABBE71A518C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\tABBE71AA18C43B5800B75E91 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = ABBE71A518C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\tABBE71AB18C43B6000B75E91 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = ABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */; };\n\t\tABBE71AC18C43B6000B75E91 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = ABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */; };\n\t\tDAFAA6C219485CAA00581B9E /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 5340674F167780C40042B59E /* SDWebImageCompat.m */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t539F912F16316D3700160719 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 53922D66148C55810056699D /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 53761307155AD0D5005750A4;\n\t\t\tremoteInfo = \"SDWebImage ARC\";\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloaderOperation.h; sourceTree = \"<group>\"; };\n\t\t530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloaderOperation.m; sourceTree = \"<group>\"; };\n\t\t530E49E71646388E002868E7 /* SDWebImageOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDWebImageOperation.h; sourceTree = \"<group>\"; };\n\t\t531041E0157EAFA400BBABC3 /* libSDWebImage+MKAnnotation.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = \"libSDWebImage+MKAnnotation.a\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t5340674F167780C40042B59E /* SDWebImageCompat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageCompat.m; sourceTree = \"<group>\"; };\n\t\t535699B415113E7300A4C397 /* MKAnnotationView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"MKAnnotationView+WebCache.h\"; path = \"SDWebImage/MKAnnotationView+WebCache.h\"; sourceTree = SOURCE_ROOT; };\n\t\t535699B515113E7300A4C397 /* MKAnnotationView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"MKAnnotationView+WebCache.m\"; path = \"SDWebImage/MKAnnotationView+WebCache.m\"; sourceTree = SOURCE_ROOT; };\n\t\t53761325155AD0D5005750A4 /* libSDWebImage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDWebImage.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t537D95C117ECC1FE0097C263 /* libSDWebImage+WebP.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = \"libSDWebImage+WebP.a\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t53922D72148C55820056699D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };\n\t\t53922D85148C56230056699D /* SDImageCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDImageCache.h; path = SDWebImage/SDImageCache.h; sourceTree = SOURCE_ROOT; };\n\t\t53922D86148C56230056699D /* SDImageCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDImageCache.m; path = SDWebImage/SDImageCache.m; sourceTree = SOURCE_ROOT; };\n\t\t53922D88148C56230056699D /* SDWebImageCompat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDWebImageCompat.h; path = SDWebImage/SDWebImageCompat.h; sourceTree = SOURCE_ROOT; };\n\t\t53922D89148C56230056699D /* SDWebImageDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDWebImageDecoder.h; path = SDWebImage/SDWebImageDecoder.h; sourceTree = SOURCE_ROOT; };\n\t\t53922D8A148C56230056699D /* SDWebImageDecoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDecoder.m; path = SDWebImage/SDWebImageDecoder.m; sourceTree = SOURCE_ROOT; };\n\t\t53922D8B148C56230056699D /* SDWebImageDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloader.h; path = SDWebImage/SDWebImageDownloader.h; sourceTree = SOURCE_ROOT; };\n\t\t53922D8C148C56230056699D /* SDWebImageDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloader.m; path = SDWebImage/SDWebImageDownloader.m; sourceTree = SOURCE_ROOT; };\n\t\t53922D8E148C56230056699D /* SDWebImageManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDWebImageManager.h; path = SDWebImage/SDWebImageManager.h; sourceTree = SOURCE_ROOT; };\n\t\t53922D8F148C56230056699D /* SDWebImageManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDWebImageManager.m; path = SDWebImage/SDWebImageManager.m; sourceTree = SOURCE_ROOT; };\n\t\t53922D91148C56230056699D /* SDWebImagePrefetcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDWebImagePrefetcher.h; path = SDWebImage/SDWebImagePrefetcher.h; sourceTree = SOURCE_ROOT; };\n\t\t53922D92148C56230056699D /* SDWebImagePrefetcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDWebImagePrefetcher.m; path = SDWebImage/SDWebImagePrefetcher.m; sourceTree = SOURCE_ROOT; };\n\t\t53922D93148C56230056699D /* UIButton+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIButton+WebCache.h\"; path = \"SDWebImage/UIButton+WebCache.h\"; sourceTree = SOURCE_ROOT; };\n\t\t53922D94148C56230056699D /* UIButton+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIButton+WebCache.m\"; path = \"SDWebImage/UIButton+WebCache.m\"; sourceTree = SOURCE_ROOT; };\n\t\t53922D95148C56230056699D /* UIImageView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIImageView+WebCache.h\"; path = \"SDWebImage/UIImageView+WebCache.h\"; sourceTree = SOURCE_ROOT; };\n\t\t53922D96148C56230056699D /* UIImageView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIImageView+WebCache.m\"; path = \"SDWebImage/UIImageView+WebCache.m\"; sourceTree = SOURCE_ROOT; };\n\t\t53E481DB17C300F6003E8957 /* alpha_processing.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = alpha_processing.c; path = Vendors/libwebp/src/utils/alpha_processing.c; sourceTree = \"<group>\"; };\n\t\t53E481DC17C300F6003E8957 /* alpha_processing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = alpha_processing.h; path = Vendors/libwebp/src/utils/alpha_processing.h; sourceTree = \"<group>\"; };\n\t\t53EDFB8817623F7C00698166 /* UIImage+MultiFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIImage+MultiFormat.h\"; sourceTree = \"<group>\"; };\n\t\t53EDFB8917623F7C00698166 /* UIImage+MultiFormat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIImage+MultiFormat.m\"; sourceTree = \"<group>\"; };\n\t\t53EDFB911762547C00698166 /* UIImage+WebP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIImage+WebP.h\"; sourceTree = \"<group>\"; };\n\t\t53EDFB921762547C00698166 /* UIImage+WebP.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIImage+WebP.m\"; sourceTree = \"<group>\"; };\n\t\t53EDFC9017625BE300698166 /* webpi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = webpi.h; path = Vendors/libwebp/src/dec/webpi.h; sourceTree = \"<group>\"; };\n\t\t53EDFC9117625BE300698166 /* webp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = webp.c; path = Vendors/libwebp/src/dec/webp.c; sourceTree = \"<group>\"; };\n\t\t53EDFC9617625C1100698166 /* vp8li.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = vp8li.h; path = Vendors/libwebp/src/dec/vp8li.h; sourceTree = \"<group>\"; };\n\t\t53EDFC9717625C1100698166 /* vp8l.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = vp8l.c; path = Vendors/libwebp/src/dec/vp8l.c; sourceTree = \"<group>\"; };\n\t\t53EDFC9817625C1100698166 /* vp8i.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = vp8i.h; path = Vendors/libwebp/src/dec/vp8i.h; sourceTree = \"<group>\"; };\n\t\t53EDFC9917625C1100698166 /* vp8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = vp8.c; path = Vendors/libwebp/src/dec/vp8.c; sourceTree = \"<group>\"; };\n\t\t53EDFCA417625C5B00698166 /* huffman.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = huffman.h; path = Vendors/libwebp/src/utils/huffman.h; sourceTree = \"<group>\"; };\n\t\t53EDFCA517625C5B00698166 /* huffman.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = huffman.c; path = Vendors/libwebp/src/utils/huffman.c; sourceTree = \"<group>\"; };\n\t\t53EDFCAA17625C8700698166 /* frame.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = frame.c; path = Vendors/libwebp/src/dec/frame.c; sourceTree = \"<group>\"; };\n\t\t53EDFCAD17625CA600698166 /* alpha.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = alpha.c; path = Vendors/libwebp/src/dec/alpha.c; sourceTree = \"<group>\"; };\n\t\t53EDFCB017625CD800698166 /* quant_levels_dec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = quant_levels_dec.h; path = Vendors/libwebp/src/utils/quant_levels_dec.h; sourceTree = \"<group>\"; };\n\t\t53EDFCB117625CD800698166 /* quant_levels_dec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = quant_levels_dec.c; path = Vendors/libwebp/src/utils/quant_levels_dec.c; sourceTree = \"<group>\"; };\n\t\t53EDFCB717625D1900698166 /* dsp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dsp.h; path = Vendors/libwebp/src/dsp/dsp.h; sourceTree = \"<group>\"; };\n\t\t53EDFCB817625D1900698166 /* dec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dec.c; path = Vendors/libwebp/src/dsp/dec.c; sourceTree = \"<group>\"; };\n\t\t53EDFCBD17625D3F00698166 /* dec_sse2.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dec_sse2.c; path = Vendors/libwebp/src/dsp/dec_sse2.c; sourceTree = \"<group>\"; };\n\t\t53EDFCC017625D8400698166 /* cpu.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cpu.c; path = Vendors/libwebp/src/dsp/cpu.c; sourceTree = \"<group>\"; };\n\t\t53EDFCC317625DB200698166 /* bit_reader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bit_reader.h; path = Vendors/libwebp/src/utils/bit_reader.h; sourceTree = \"<group>\"; };\n\t\t53EDFCC417625DB200698166 /* bit_reader.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = bit_reader.c; path = Vendors/libwebp/src/utils/bit_reader.c; sourceTree = \"<group>\"; };\n\t\t53EDFCC917625DD700698166 /* color_cache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = color_cache.h; path = Vendors/libwebp/src/utils/color_cache.h; sourceTree = \"<group>\"; };\n\t\t53EDFCCA17625DD700698166 /* color_cache.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = color_cache.c; path = Vendors/libwebp/src/utils/color_cache.c; sourceTree = \"<group>\"; };\n\t\t53EDFCCF17625DFA00698166 /* lossless.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lossless.h; path = Vendors/libwebp/src/dsp/lossless.h; sourceTree = \"<group>\"; };\n\t\t53EDFCD017625DFA00698166 /* lossless.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = lossless.c; path = Vendors/libwebp/src/dsp/lossless.c; sourceTree = \"<group>\"; };\n\t\t53EDFCD517625E1A00698166 /* tree.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tree.c; path = Vendors/libwebp/src/dec/tree.c; sourceTree = \"<group>\"; };\n\t\t53EDFCD817625E3000698166 /* quant.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = quant.c; path = Vendors/libwebp/src/dec/quant.c; sourceTree = \"<group>\"; };\n\t\t53EDFCDB17625E6000698166 /* buffer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = buffer.c; path = Vendors/libwebp/src/dec/buffer.c; sourceTree = \"<group>\"; };\n\t\t53EDFCDE17625E8D00698166 /* upsampling.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = upsampling.c; path = Vendors/libwebp/src/dsp/upsampling.c; sourceTree = \"<group>\"; };\n\t\t53EDFCE117625EB100698166 /* yuv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = yuv.h; path = Vendors/libwebp/src/dsp/yuv.h; sourceTree = \"<group>\"; };\n\t\t53EDFCE217625EB100698166 /* yuv.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = yuv.c; path = Vendors/libwebp/src/dsp/yuv.c; sourceTree = \"<group>\"; };\n\t\t53EDFCE717625EC800698166 /* io.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = io.c; path = Vendors/libwebp/src/dec/io.c; sourceTree = \"<group>\"; };\n\t\t53EDFCEA17625EE200698166 /* upsampling_sse2.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = upsampling_sse2.c; path = Vendors/libwebp/src/dsp/upsampling_sse2.c; sourceTree = \"<group>\"; };\n\t\t53EDFCED17625F1D00698166 /* rescaler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = rescaler.h; path = Vendors/libwebp/src/utils/rescaler.h; sourceTree = \"<group>\"; };\n\t\t53EDFCEE17625F1D00698166 /* rescaler.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = rescaler.c; path = Vendors/libwebp/src/utils/rescaler.c; sourceTree = \"<group>\"; };\n\t\t53EDFCF317625F4100698166 /* utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = utils.h; path = Vendors/libwebp/src/utils/utils.h; sourceTree = \"<group>\"; };\n\t\t53EDFCF417625F4100698166 /* utils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = utils.c; path = Vendors/libwebp/src/utils/utils.c; sourceTree = \"<group>\"; };\n\t\t53EDFCF917625F5F00698166 /* filters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = filters.h; path = Vendors/libwebp/src/utils/filters.h; sourceTree = \"<group>\"; };\n\t\t53EDFCFA17625F5F00698166 /* filters.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = filters.c; path = Vendors/libwebp/src/utils/filters.c; sourceTree = \"<group>\"; };\n\t\t53EDFCFF17625F7900698166 /* thread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = thread.h; path = Vendors/libwebp/src/utils/thread.h; sourceTree = \"<group>\"; };\n\t\t53EDFD0017625F7900698166 /* thread.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = thread.c; path = Vendors/libwebp/src/utils/thread.c; sourceTree = \"<group>\"; };\n\t\t53FB893F14D35D1A0020B787 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };\n\t\t53FB894814D35E9E0020B787 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };\n\t\t5D5B9140188EE8DD006D06BD /* NSData+ImageContentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"NSData+ImageContentType.h\"; sourceTree = \"<group>\"; };\n\t\t5D5B9141188EE8DD006D06BD /* NSData+ImageContentType.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"NSData+ImageContentType.m\"; sourceTree = \"<group>\"; };\n\t\t5DA509F2187B68E7002FEB5C /* random.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = random.c; path = Vendors/libwebp/src/utils/random.c; sourceTree = \"<group>\"; };\n\t\t5DA509F3187B68E7002FEB5C /* random.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = random.h; path = Vendors/libwebp/src/utils/random.h; sourceTree = \"<group>\"; };\n\t\tA18A6CC5172DC28500419892 /* UIImage+GIF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIImage+GIF.h\"; sourceTree = \"<group>\"; };\n\t\tA18A6CC6172DC28500419892 /* UIImage+GIF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIImage+GIF.m\"; sourceTree = \"<group>\"; };\n\t\tAB615301192DA24600A2D8E9 /* UIView+WebCacheOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIView+WebCacheOperation.h\"; sourceTree = \"<group>\"; };\n\t\tAB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIView+WebCacheOperation.m\"; sourceTree = \"<group>\"; };\n\t\tABBE71A518C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIImageView+HighlightedWebCache.h\"; sourceTree = \"<group>\"; };\n\t\tABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIImageView+HighlightedWebCache.m\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t531041CC157EAFA400BBABC3 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t531041CD157EAFA400BBABC3 /* UIKit.framework in Frameworks */,\n\t\t\t\t531041CE157EAFA400BBABC3 /* Foundation.framework in Frameworks */,\n\t\t\t\t531041CF157EAFA400BBABC3 /* CoreGraphics.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t53761311155AD0D5005750A4 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t53761312155AD0D5005750A4 /* UIKit.framework in Frameworks */,\n\t\t\t\t53761313155AD0D5005750A4 /* Foundation.framework in Frameworks */,\n\t\t\t\t53761314155AD0D5005750A4 /* CoreGraphics.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t537D959B17ECC1FE0097C263 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t537D959C17ECC1FE0097C263 /* UIKit.framework in Frameworks */,\n\t\t\t\t537D959D17ECC1FE0097C263 /* Foundation.framework in Frameworks */,\n\t\t\t\t537D959E17ECC1FE0097C263 /* CoreGraphics.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t53922D64148C55810056699D = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53922D74148C55820056699D /* SDWebImage */,\n\t\t\t\t53922D71148C55820056699D /* Frameworks */,\n\t\t\t\t53922D70148C55820056699D /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t\tusesTabs = 0;\n\t\t};\n\t\t53922D70148C55820056699D /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53761325155AD0D5005750A4 /* libSDWebImage.a */,\n\t\t\t\t531041E0157EAFA400BBABC3 /* libSDWebImage+MKAnnotation.a */,\n\t\t\t\t537D95C117ECC1FE0097C263 /* libSDWebImage+WebP.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53922D71148C55820056699D /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53EDFBE417625A2800698166 /* WebP */,\n\t\t\t\t53FB893F14D35D1A0020B787 /* CoreGraphics.framework */,\n\t\t\t\t53922D72148C55820056699D /* Foundation.framework */,\n\t\t\t\t53FB894814D35E9E0020B787 /* UIKit.framework */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53922D74148C55820056699D /* SDWebImage */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53922D88148C56230056699D /* SDWebImageCompat.h */,\n\t\t\t\t5340674F167780C40042B59E /* SDWebImageCompat.m */,\n\t\t\t\t530E49E71646388E002868E7 /* SDWebImageOperation.h */,\n\t\t\t\t53922DAB148C56810056699D /* Downloader */,\n\t\t\t\t53922DAA148C56470056699D /* Cache */,\n\t\t\t\t53922DAC148C56DD0056699D /* Utils */,\n\t\t\t\t53922DA9148C562D0056699D /* Categories */,\n\t\t\t);\n\t\t\tpath = SDWebImage;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53922DA9148C562D0056699D /* Categories */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t535699B415113E7300A4C397 /* MKAnnotationView+WebCache.h */,\n\t\t\t\t535699B515113E7300A4C397 /* MKAnnotationView+WebCache.m */,\n\t\t\t\t5D5B9140188EE8DD006D06BD /* NSData+ImageContentType.h */,\n\t\t\t\t5D5B9141188EE8DD006D06BD /* NSData+ImageContentType.m */,\n\t\t\t\t53922D93148C56230056699D /* UIButton+WebCache.h */,\n\t\t\t\t53922D94148C56230056699D /* UIButton+WebCache.m */,\n\t\t\t\tA18A6CC5172DC28500419892 /* UIImage+GIF.h */,\n\t\t\t\tA18A6CC6172DC28500419892 /* UIImage+GIF.m */,\n\t\t\t\t53EDFB8817623F7C00698166 /* UIImage+MultiFormat.h */,\n\t\t\t\t53EDFB8917623F7C00698166 /* UIImage+MultiFormat.m */,\n\t\t\t\t53EDFB911762547C00698166 /* UIImage+WebP.h */,\n\t\t\t\t53EDFB921762547C00698166 /* UIImage+WebP.m */,\n\t\t\t\tABBE71A518C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h */,\n\t\t\t\tABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */,\n\t\t\t\t53922D95148C56230056699D /* UIImageView+WebCache.h */,\n\t\t\t\t53922D96148C56230056699D /* UIImageView+WebCache.m */,\n\t\t\t\tAB615301192DA24600A2D8E9 /* UIView+WebCacheOperation.h */,\n\t\t\t\tAB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */,\n\t\t\t);\n\t\t\tname = Categories;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53922DAA148C56470056699D /* Cache */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53922D85148C56230056699D /* SDImageCache.h */,\n\t\t\t\t53922D86148C56230056699D /* SDImageCache.m */,\n\t\t\t);\n\t\t\tname = Cache;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53922DAB148C56810056699D /* Downloader */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53922D8B148C56230056699D /* SDWebImageDownloader.h */,\n\t\t\t\t53922D8C148C56230056699D /* SDWebImageDownloader.m */,\n\t\t\t\t530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */,\n\t\t\t\t530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */,\n\t\t\t);\n\t\t\tname = Downloader;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53922DAC148C56DD0056699D /* Utils */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53922D8E148C56230056699D /* SDWebImageManager.h */,\n\t\t\t\t53922D8F148C56230056699D /* SDWebImageManager.m */,\n\t\t\t\t53922D89148C56230056699D /* SDWebImageDecoder.h */,\n\t\t\t\t53922D8A148C56230056699D /* SDWebImageDecoder.m */,\n\t\t\t\t53922D91148C56230056699D /* SDWebImagePrefetcher.h */,\n\t\t\t\t53922D92148C56230056699D /* SDWebImagePrefetcher.m */,\n\t\t\t);\n\t\t\tname = Utils;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53EDFBE417625A2800698166 /* WebP */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53EDFCB617625D1200698166 /* dsp */,\n\t\t\t\t53EDFCA317625C4600698166 /* utils */,\n\t\t\t\t53EDFCA217625C3C00698166 /* dec */,\n\t\t\t);\n\t\t\tname = WebP;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53EDFCA217625C3C00698166 /* dec */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53EDFCE717625EC800698166 /* io.c */,\n\t\t\t\t53EDFCDB17625E6000698166 /* buffer.c */,\n\t\t\t\t53EDFCD817625E3000698166 /* quant.c */,\n\t\t\t\t53EDFCD517625E1A00698166 /* tree.c */,\n\t\t\t\t53EDFCAD17625CA600698166 /* alpha.c */,\n\t\t\t\t53EDFCAA17625C8700698166 /* frame.c */,\n\t\t\t\t53EDFC9017625BE300698166 /* webpi.h */,\n\t\t\t\t53EDFC9117625BE300698166 /* webp.c */,\n\t\t\t\t53EDFC9617625C1100698166 /* vp8li.h */,\n\t\t\t\t53EDFC9717625C1100698166 /* vp8l.c */,\n\t\t\t\t53EDFC9817625C1100698166 /* vp8i.h */,\n\t\t\t\t53EDFC9917625C1100698166 /* vp8.c */,\n\t\t\t);\n\t\t\tname = dec;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53EDFCA317625C4600698166 /* utils */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5DA509F2187B68E7002FEB5C /* random.c */,\n\t\t\t\t5DA509F3187B68E7002FEB5C /* random.h */,\n\t\t\t\t53E481DB17C300F6003E8957 /* alpha_processing.c */,\n\t\t\t\t53E481DC17C300F6003E8957 /* alpha_processing.h */,\n\t\t\t\t53EDFCFF17625F7900698166 /* thread.h */,\n\t\t\t\t53EDFD0017625F7900698166 /* thread.c */,\n\t\t\t\t53EDFCF917625F5F00698166 /* filters.h */,\n\t\t\t\t53EDFCFA17625F5F00698166 /* filters.c */,\n\t\t\t\t53EDFCF317625F4100698166 /* utils.h */,\n\t\t\t\t53EDFCF417625F4100698166 /* utils.c */,\n\t\t\t\t53EDFCED17625F1D00698166 /* rescaler.h */,\n\t\t\t\t53EDFCEE17625F1D00698166 /* rescaler.c */,\n\t\t\t\t53EDFCC917625DD700698166 /* color_cache.h */,\n\t\t\t\t53EDFCCA17625DD700698166 /* color_cache.c */,\n\t\t\t\t53EDFCC317625DB200698166 /* bit_reader.h */,\n\t\t\t\t53EDFCC417625DB200698166 /* bit_reader.c */,\n\t\t\t\t53EDFCB017625CD800698166 /* quant_levels_dec.h */,\n\t\t\t\t53EDFCB117625CD800698166 /* quant_levels_dec.c */,\n\t\t\t\t53EDFCA417625C5B00698166 /* huffman.h */,\n\t\t\t\t53EDFCA517625C5B00698166 /* huffman.c */,\n\t\t\t);\n\t\t\tname = utils;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t53EDFCB617625D1200698166 /* dsp */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t53EDFCEA17625EE200698166 /* upsampling_sse2.c */,\n\t\t\t\t53EDFCE117625EB100698166 /* yuv.h */,\n\t\t\t\t53EDFCE217625EB100698166 /* yuv.c */,\n\t\t\t\t53EDFCDE17625E8D00698166 /* upsampling.c */,\n\t\t\t\t53EDFCCF17625DFA00698166 /* lossless.h */,\n\t\t\t\t53EDFCD017625DFA00698166 /* lossless.c */,\n\t\t\t\t53EDFCB717625D1900698166 /* dsp.h */,\n\t\t\t\t53EDFCB817625D1900698166 /* dec.c */,\n\t\t\t\t53EDFCBD17625D3F00698166 /* dec_sse2.c */,\n\t\t\t\t53EDFCC017625D8400698166 /* cpu.c */,\n\t\t\t);\n\t\t\tname = dsp;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXHeadersBuildPhase section */\n\t\t531041D0157EAFA400BBABC3 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t531041D1157EAFA400BBABC3 /* SDImageCache.h in Headers */,\n\t\t\t\t531041D3157EAFA400BBABC3 /* SDWebImageCompat.h in Headers */,\n\t\t\t\t531041D4157EAFA400BBABC3 /* SDWebImageDecoder.h in Headers */,\n\t\t\t\t531041D5157EAFA400BBABC3 /* SDWebImageDownloader.h in Headers */,\n\t\t\t\t531041D7157EAFA400BBABC3 /* SDWebImageManager.h in Headers */,\n\t\t\t\t531041D9157EAFA400BBABC3 /* SDWebImagePrefetcher.h in Headers */,\n\t\t\t\t531041DA157EAFA400BBABC3 /* UIButton+WebCache.h in Headers */,\n\t\t\t\t531041DB157EAFA400BBABC3 /* UIImageView+WebCache.h in Headers */,\n\t\t\t\t531041DC157EAFA400BBABC3 /* MKAnnotationView+WebCache.h in Headers */,\n\t\t\t\t530E49E916464C26002868E7 /* SDWebImageOperation.h in Headers */,\n\t\t\t\t530E49EB16464C7F002868E7 /* SDWebImageDownloaderOperation.h in Headers */,\n\t\t\t\tA18A6CC8172DC28500419892 /* UIImage+GIF.h in Headers */,\n\t\t\t\t53EDFB8B17623F7C00698166 /* UIImage+MultiFormat.h in Headers */,\n\t\t\t\tABBE71AA18C43B5800B75E91 /* UIImageView+HighlightedWebCache.h in Headers */,\n\t\t\t\t53E481E017C300F6003E8957 /* alpha_processing.h in Headers */,\n\t\t\t\t53EDFB941762547D00698166 /* UIImage+WebP.h in Headers */,\n\t\t\t\t53EDFC9317625BE300698166 /* webpi.h in Headers */,\n\t\t\t\t53EDFC9B17625C1100698166 /* vp8li.h in Headers */,\n\t\t\t\t53EDFC9F17625C1100698166 /* vp8i.h in Headers */,\n\t\t\t\t53EDFCA717625C5B00698166 /* huffman.h in Headers */,\n\t\t\t\t53EDFCB317625CD800698166 /* quant_levels_dec.h in Headers */,\n\t\t\t\t53EDFCBA17625D1900698166 /* dsp.h in Headers */,\n\t\t\t\t53EDFCC617625DB200698166 /* bit_reader.h in Headers */,\n\t\t\t\tAB615305192DA24600A2D8E9 /* UIView+WebCacheOperation.h in Headers */,\n\t\t\t\t53EDFCCC17625DD700698166 /* color_cache.h in Headers */,\n\t\t\t\t53EDFCD217625DFA00698166 /* lossless.h in Headers */,\n\t\t\t\t53EDFCE417625EB100698166 /* yuv.h in Headers */,\n\t\t\t\t5D5B9144188EE8DD006D06BD /* NSData+ImageContentType.h in Headers */,\n\t\t\t\t53EDFCF017625F1D00698166 /* rescaler.h in Headers */,\n\t\t\t\t53EDFCF617625F4100698166 /* utils.h in Headers */,\n\t\t\t\t53EDFCFC17625F5F00698166 /* filters.h in Headers */,\n\t\t\t\t53EDFD0217625F7900698166 /* thread.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t53761315155AD0D5005750A4 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t53761316155AD0D5005750A4 /* SDImageCache.h in Headers */,\n\t\t\t\t5D5B9142188EE8DD006D06BD /* NSData+ImageContentType.h in Headers */,\n\t\t\t\t53761318155AD0D5005750A4 /* SDWebImageCompat.h in Headers */,\n\t\t\t\t53761319155AD0D5005750A4 /* SDWebImageDecoder.h in Headers */,\n\t\t\t\t5376131A155AD0D5005750A4 /* SDWebImageDownloader.h in Headers */,\n\t\t\t\t5376131C155AD0D5005750A4 /* SDWebImageManager.h in Headers */,\n\t\t\t\t5376131E155AD0D5005750A4 /* SDWebImagePrefetcher.h in Headers */,\n\t\t\t\t5376131F155AD0D5005750A4 /* UIButton+WebCache.h in Headers */,\n\t\t\t\t53761320155AD0D5005750A4 /* UIImageView+WebCache.h in Headers */,\n\t\t\t\t530E49E816464C25002868E7 /* SDWebImageOperation.h in Headers */,\n\t\t\t\t530E49EA16464C7C002868E7 /* SDWebImageDownloaderOperation.h in Headers */,\n\t\t\t\tABBE71A718C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h in Headers */,\n\t\t\t\tAB615303192DA24600A2D8E9 /* UIView+WebCacheOperation.h in Headers */,\n\t\t\t\tA18A6CC7172DC28500419892 /* UIImage+GIF.h in Headers */,\n\t\t\t\t53EDFB8A17623F7C00698166 /* UIImage+MultiFormat.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t537D959F17ECC1FE0097C263 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t537D95A017ECC1FE0097C263 /* SDImageCache.h in Headers */,\n\t\t\t\t537D95A117ECC1FE0097C263 /* SDWebImageCompat.h in Headers */,\n\t\t\t\t537D95A217ECC1FE0097C263 /* SDWebImageDecoder.h in Headers */,\n\t\t\t\t537D95A317ECC1FE0097C263 /* SDWebImageDownloader.h in Headers */,\n\t\t\t\t537D95A417ECC1FE0097C263 /* SDWebImageManager.h in Headers */,\n\t\t\t\t537D95A517ECC1FE0097C263 /* SDWebImagePrefetcher.h in Headers */,\n\t\t\t\t537D95A617ECC1FE0097C263 /* UIButton+WebCache.h in Headers */,\n\t\t\t\t537D95A717ECC1FE0097C263 /* UIImageView+WebCache.h in Headers */,\n\t\t\t\t537D95A817ECC1FE0097C263 /* SDWebImageOperation.h in Headers */,\n\t\t\t\t537D95A917ECC1FE0097C263 /* SDWebImageDownloaderOperation.h in Headers */,\n\t\t\t\t537D95AA17ECC1FE0097C263 /* UIImage+GIF.h in Headers */,\n\t\t\t\t537D95AC17ECC1FE0097C263 /* UIImage+MultiFormat.h in Headers */,\n\t\t\t\t537D95AD17ECC1FE0097C263 /* UIImage+WebP.h in Headers */,\n\t\t\t\tABBE71A918C43B5800B75E91 /* UIImageView+HighlightedWebCache.h in Headers */,\n\t\t\t\t537D95AE17ECC1FE0097C263 /* webpi.h in Headers */,\n\t\t\t\t537D95AF17ECC1FE0097C263 /* vp8li.h in Headers */,\n\t\t\t\t537D95B017ECC1FE0097C263 /* vp8i.h in Headers */,\n\t\t\t\t537D95B117ECC1FE0097C263 /* huffman.h in Headers */,\n\t\t\t\t537D95B217ECC1FE0097C263 /* quant_levels_dec.h in Headers */,\n\t\t\t\t537D95B317ECC1FE0097C263 /* dsp.h in Headers */,\n\t\t\t\t537D95B417ECC1FE0097C263 /* bit_reader.h in Headers */,\n\t\t\t\t537D95B517ECC1FE0097C263 /* color_cache.h in Headers */,\n\t\t\t\t537D95B617ECC1FE0097C263 /* lossless.h in Headers */,\n\t\t\t\tAB615304192DA24600A2D8E9 /* UIView+WebCacheOperation.h in Headers */,\n\t\t\t\t537D95B717ECC1FE0097C263 /* alpha_processing.h in Headers */,\n\t\t\t\t5DA509F5187B68E7002FEB5C /* random.h in Headers */,\n\t\t\t\t537D95B817ECC1FE0097C263 /* yuv.h in Headers */,\n\t\t\t\t5D5B9143188EE8DD006D06BD /* NSData+ImageContentType.h in Headers */,\n\t\t\t\t537D95B917ECC1FE0097C263 /* rescaler.h in Headers */,\n\t\t\t\t537D95BA17ECC1FE0097C263 /* utils.h in Headers */,\n\t\t\t\t537D95BB17ECC1FE0097C263 /* filters.h in Headers */,\n\t\t\t\t537D95BC17ECC1FE0097C263 /* thread.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXHeadersBuildPhase section */\n\n/* Begin PBXNativeTarget section */\n\t\t531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget \"SDWebImage+MKAnnotation\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t531041C3157EAFA400BBABC3 /* Sources */,\n\t\t\t\t531041CC157EAFA400BBABC3 /* Frameworks */,\n\t\t\t\t531041D0157EAFA400BBABC3 /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"SDWebImage+MKAnnotation\";\n\t\t\tproductName = SDWebImage;\n\t\t\tproductReference = 531041E0157EAFA400BBABC3 /* libSDWebImage+MKAnnotation.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\t53761307155AD0D5005750A4 /* SDWebImage */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 53761322155AD0D5005750A4 /* Build configuration list for PBXNativeTarget \"SDWebImage\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t53761308155AD0D5005750A4 /* Sources */,\n\t\t\t\t53761311155AD0D5005750A4 /* Frameworks */,\n\t\t\t\t53761315155AD0D5005750A4 /* Headers */,\n\t\t\t\t539F912A16316D0500160719 /* Prepare Framework */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = SDWebImage;\n\t\t\tproductName = SDWebImage;\n\t\t\tproductReference = 53761325155AD0D5005750A4 /* libSDWebImage.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\t537D957317ECC1FE0097C263 /* SDWebImage+WebP */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 537D95BE17ECC1FE0097C263 /* Build configuration list for PBXNativeTarget \"SDWebImage+WebP\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t537D957417ECC1FE0097C263 /* Sources */,\n\t\t\t\t537D959B17ECC1FE0097C263 /* Frameworks */,\n\t\t\t\t537D959F17ECC1FE0097C263 /* Headers */,\n\t\t\t\t537D95BD17ECC1FE0097C263 /* Prepare Framework */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"SDWebImage+WebP\";\n\t\t\tproductName = SDWebImage;\n\t\t\tproductReference = 537D95C117ECC1FE0097C263 /* libSDWebImage+WebP.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t53922D66148C55810056699D /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0510;\n\t\t\t\tORGANIZATIONNAME = Dailymotion;\n\t\t\t};\n\t\t\tbuildConfigurationList = 53922D69148C55810056699D /* Build configuration list for PBXProject \"SDWebImage\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t);\n\t\t\tmainGroup = 53922D64148C55810056699D;\n\t\t\tproductRefGroup = 53922D70148C55820056699D /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t53761307155AD0D5005750A4 /* SDWebImage */,\n\t\t\t\t537D957317ECC1FE0097C263 /* SDWebImage+WebP */,\n\t\t\t\t531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */,\n\t\t\t\t539F912B16316D2D00160719 /* SDWebImageFramework */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t537D95BD17ECC1FE0097C263 /* Prepare Framework */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Prepare Framework\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"set -e\\n\\nmkdir -p \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers\\\"\\n\\n# Link the \\\"Current\\\" version to \\\"A\\\"\\n/bin/ln -sfh A \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/Current\\\"\\n/bin/ln -sfh Versions/Current/Headers \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Headers\\\"\\n/bin/ln -sfh \\\"Versions/Current/${PRODUCT_NAME}\\\" \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/${PRODUCT_NAME}\\\"\\n\\n# The -a ensures that the headers maintain the source modification date so that we don't constantly\\n# cause propagating rebuilds of files that import these headers.\\n/bin/cp -a \\\"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}/\\\" \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers\\\"\\n\";\n\t\t};\n\t\t539F912A16316D0500160719 /* Prepare Framework */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Prepare Framework\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"set -e\\n\\nmkdir -p \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers\\\"\\n\\n# Link the \\\"Current\\\" version to \\\"A\\\"\\n/bin/ln -sfh A \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/Current\\\"\\n/bin/ln -sfh Versions/Current/Headers \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Headers\\\"\\n/bin/ln -sfh \\\"Versions/Current/${PRODUCT_NAME}\\\" \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/${PRODUCT_NAME}\\\"\\n\\n# The -a ensures that the headers maintain the source modification date so that we don't constantly\\n# cause propagating rebuilds of files that import these headers.\\n/bin/cp -a \\\"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}/\\\" \\\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers\\\"\\n\";\n\t\t};\n\t\t539F913116316D7A00160719 /* Build Framework */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Build Framework\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"set -e\\nset +u\\n# Avoid recursively calling this script.\\nif [[ $SF_MASTER_SCRIPT_RUNNING ]]\\nthen\\n    exit 0\\nfi\\nset -u\\nexport SF_MASTER_SCRIPT_RUNNING=1\\n\\nSF_TARGET_NAME=\\\"SDWebImage\\\"\\nSF_EXECUTABLE_PATH=\\\"lib${SF_TARGET_NAME}.a\\\"\\nSF_WRAPPER_NAME=\\\"${SF_TARGET_NAME}.framework\\\"\\n\\n# The following conditionals come from\\n# https://github.com/kstenerud/iOS-Universal-Framework\\n\\nif [[ \\\"$SDK_NAME\\\" =~ ([A-Za-z]+) ]]\\nthen\\n    SF_SDK_PLATFORM=${BASH_REMATCH[1]}\\nelse\\n    echo \\\"Could not find platform name from SDK_NAME: $SDK_NAME\\\"\\n    exit 1\\nfi\\n\\nif [[ \\\"$SDK_NAME\\\" =~ ([0-9]+.*$) ]]\\nthen\\n    SF_SDK_VERSION=${BASH_REMATCH[1]}\\nelse\\n    echo \\\"Could not find sdk version from SDK_NAME: $SDK_NAME\\\"\\n    exit 1\\nfi\\n\\nif [[ \\\"$SF_SDK_PLATFORM\\\" = \\\"iphoneos\\\" ]]\\nthen\\n    SF_OTHER_PLATFORM=iphonesimulator\\nelse\\n    SF_OTHER_PLATFORM=iphoneos\\nfi\\n\\nif [[ \\\"$BUILT_PRODUCTS_DIR\\\" =~ (.*)$SF_SDK_PLATFORM$ ]]\\nthen\\n    SF_OTHER_BUILT_PRODUCTS_DIR=\\\"${BASH_REMATCH[1]}${SF_OTHER_PLATFORM}\\\"\\nelse\\n    echo \\\"Could not find platform name from build products directory: $BUILT_PRODUCTS_DIR\\\"\\n    exit 1\\nfi\\n\\n# Build the other platform.\\nxcodebuild -project \\\"${PROJECT_FILE_PATH}\\\" -target \\\"${TARGET_NAME}\\\" -configuration \\\"${CONFIGURATION}\\\" -sdk ${SF_OTHER_PLATFORM}${SF_SDK_VERSION} BUILD_DIR=\\\"${BUILD_DIR}\\\" OBJROOT=\\\"${OBJROOT}\\\" BUILD_ROOT=\\\"${BUILD_ROOT}\\\" SYMROOT=\\\"${SYMROOT}\\\" $ACTION\\n\\n# Smash the two static libraries into one fat binary and store it in the .framework\\nlipo -create \\\"${BUILT_PRODUCTS_DIR}/${SF_EXECUTABLE_PATH}\\\" \\\"${SF_OTHER_BUILT_PRODUCTS_DIR}/${SF_EXECUTABLE_PATH}\\\" -output \\\"${BUILT_PRODUCTS_DIR}/${SF_WRAPPER_NAME}/Versions/A/${SF_TARGET_NAME}\\\"\\n\\n# Copy the binary to the other architecture folder to have a complete framework in both.\\ncp -a \\\"${BUILT_PRODUCTS_DIR}/${SF_WRAPPER_NAME}/Versions/A/${SF_TARGET_NAME}\\\" \\\"${SF_OTHER_BUILT_PRODUCTS_DIR}/${SF_WRAPPER_NAME}/Versions/A/${SF_TARGET_NAME}\\\"\\n\";\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t531041C3157EAFA400BBABC3 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t531041C4157EAFA400BBABC3 /* SDImageCache.m in Sources */,\n\t\t\t\t531041C5157EAFA400BBABC3 /* SDWebImageDecoder.m in Sources */,\n\t\t\t\t531041C6157EAFA400BBABC3 /* SDWebImageDownloader.m in Sources */,\n\t\t\t\t531041C7157EAFA400BBABC3 /* SDWebImageManager.m in Sources */,\n\t\t\t\t531041C8157EAFA400BBABC3 /* SDWebImagePrefetcher.m in Sources */,\n\t\t\t\t531041C9157EAFA400BBABC3 /* UIButton+WebCache.m in Sources */,\n\t\t\t\t531041CA157EAFA400BBABC3 /* UIImageView+WebCache.m in Sources */,\n\t\t\t\t531041CB157EAFA400BBABC3 /* MKAnnotationView+WebCache.m in Sources */,\n\t\t\t\t530E49ED16464C84002868E7 /* SDWebImageDownloaderOperation.m in Sources */,\n\t\t\t\tA18A6CCA172DC28500419892 /* UIImage+GIF.m in Sources */,\n\t\t\t\t53EDFB8D17623F7C00698166 /* UIImage+MultiFormat.m in Sources */,\n\t\t\t\t53EDFB961762547D00698166 /* UIImage+WebP.m in Sources */,\n\t\t\t\tAB615308192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */,\n\t\t\t\tABBE71AC18C43B6000B75E91 /* UIImageView+HighlightedWebCache.m in Sources */,\n\t\t\t\t53EDFC9517625BE300698166 /* webp.c in Sources */,\n\t\t\t\t53EDFC9D17625C1100698166 /* vp8l.c in Sources */,\n\t\t\t\t53EDFCA117625C1100698166 /* vp8.c in Sources */,\n\t\t\t\t53EDFCA917625C5B00698166 /* huffman.c in Sources */,\n\t\t\t\tDAFAA6C219485CAA00581B9E /* SDWebImageCompat.m in Sources */,\n\t\t\t\t53EDFCAC17625C8700698166 /* frame.c in Sources */,\n\t\t\t\t53EDFCAF17625CA600698166 /* alpha.c in Sources */,\n\t\t\t\t53EDFCB517625CD800698166 /* quant_levels_dec.c in Sources */,\n\t\t\t\t53EDFCBC17625D1900698166 /* dec.c in Sources */,\n\t\t\t\t53EDFCBF17625D3F00698166 /* dec_sse2.c in Sources */,\n\t\t\t\t53EDFCC217625D8400698166 /* cpu.c in Sources */,\n\t\t\t\t53EDFCC817625DB200698166 /* bit_reader.c in Sources */,\n\t\t\t\t53EDFCCE17625DD700698166 /* color_cache.c in Sources */,\n\t\t\t\t53E481DE17C300F6003E8957 /* alpha_processing.c in Sources */,\n\t\t\t\t53EDFCD417625DFA00698166 /* lossless.c in Sources */,\n\t\t\t\t53EDFCD717625E1A00698166 /* tree.c in Sources */,\n\t\t\t\t53EDFCDA17625E3000698166 /* quant.c in Sources */,\n\t\t\t\t53EDFCDD17625E6000698166 /* buffer.c in Sources */,\n\t\t\t\t53EDFCE017625E8D00698166 /* upsampling.c in Sources */,\n\t\t\t\t53EDFCE617625EB100698166 /* yuv.c in Sources */,\n\t\t\t\t53EDFCE917625EC800698166 /* io.c in Sources */,\n\t\t\t\t5D5B9147188EE8DD006D06BD /* NSData+ImageContentType.m in Sources */,\n\t\t\t\t53EDFCEC17625EE200698166 /* upsampling_sse2.c in Sources */,\n\t\t\t\t53EDFCF217625F1D00698166 /* rescaler.c in Sources */,\n\t\t\t\t53EDFCF817625F4100698166 /* utils.c in Sources */,\n\t\t\t\t53EDFCFE17625F5F00698166 /* filters.c in Sources */,\n\t\t\t\t53EDFD0417625F7900698166 /* thread.c in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t53761308155AD0D5005750A4 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t53761309155AD0D5005750A4 /* SDImageCache.m in Sources */,\n\t\t\t\t5376130A155AD0D5005750A4 /* SDWebImageDecoder.m in Sources */,\n\t\t\t\t5376130B155AD0D5005750A4 /* SDWebImageDownloader.m in Sources */,\n\t\t\t\t5376130C155AD0D5005750A4 /* SDWebImageManager.m in Sources */,\n\t\t\t\t5376130D155AD0D5005750A4 /* SDWebImagePrefetcher.m in Sources */,\n\t\t\t\t5376130E155AD0D5005750A4 /* UIButton+WebCache.m in Sources */,\n\t\t\t\t5376130F155AD0D5005750A4 /* UIImageView+WebCache.m in Sources */,\n\t\t\t\t530E49EC16464C84002868E7 /* SDWebImageDownloaderOperation.m in Sources */,\n\t\t\t\t53406750167780C40042B59E /* SDWebImageCompat.m in Sources */,\n\t\t\t\tA18A6CC9172DC28500419892 /* UIImage+GIF.m in Sources */,\n\t\t\t\tAB615306192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */,\n\t\t\t\t5D5B9145188EE8DD006D06BD /* NSData+ImageContentType.m in Sources */,\n\t\t\t\t53EDFB8C17623F7C00698166 /* UIImage+MultiFormat.m in Sources */,\n\t\t\t\tABBE71A818C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t537D957417ECC1FE0097C263 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t537D957517ECC1FE0097C263 /* SDImageCache.m in Sources */,\n\t\t\t\tAB615307192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */,\n\t\t\t\t537D957617ECC1FE0097C263 /* SDWebImageDecoder.m in Sources */,\n\t\t\t\t537D957717ECC1FE0097C263 /* SDWebImageDownloader.m in Sources */,\n\t\t\t\t537D957817ECC1FE0097C263 /* SDWebImageManager.m in Sources */,\n\t\t\t\t537D957917ECC1FE0097C263 /* SDWebImagePrefetcher.m in Sources */,\n\t\t\t\t537D957A17ECC1FE0097C263 /* UIButton+WebCache.m in Sources */,\n\t\t\t\t537D957B17ECC1FE0097C263 /* UIImageView+WebCache.m in Sources */,\n\t\t\t\t537D957C17ECC1FE0097C263 /* SDWebImageDownloaderOperation.m in Sources */,\n\t\t\t\t537D957D17ECC1FE0097C263 /* SDWebImageCompat.m in Sources */,\n\t\t\t\t537D957E17ECC1FE0097C263 /* UIImage+GIF.m in Sources */,\n\t\t\t\t5DA509F4187B68E7002FEB5C /* random.c in Sources */,\n\t\t\t\t537D958017ECC1FE0097C263 /* UIImage+MultiFormat.m in Sources */,\n\t\t\t\t537D958117ECC1FE0097C263 /* UIImage+WebP.m in Sources */,\n\t\t\t\t537D958217ECC1FE0097C263 /* webp.c in Sources */,\n\t\t\t\t537D958317ECC1FE0097C263 /* vp8l.c in Sources */,\n\t\t\t\t537D958417ECC1FE0097C263 /* vp8.c in Sources */,\n\t\t\t\t5D5B9146188EE8DD006D06BD /* NSData+ImageContentType.m in Sources */,\n\t\t\t\t537D958517ECC1FE0097C263 /* huffman.c in Sources */,\n\t\t\t\tABBE71AB18C43B6000B75E91 /* UIImageView+HighlightedWebCache.m in Sources */,\n\t\t\t\t537D958617ECC1FE0097C263 /* frame.c in Sources */,\n\t\t\t\t537D958717ECC1FE0097C263 /* alpha.c in Sources */,\n\t\t\t\t537D958817ECC1FE0097C263 /* quant_levels_dec.c in Sources */,\n\t\t\t\t537D958917ECC1FE0097C263 /* dec.c in Sources */,\n\t\t\t\t537D958A17ECC1FE0097C263 /* dec_sse2.c in Sources */,\n\t\t\t\t537D958B17ECC1FE0097C263 /* cpu.c in Sources */,\n\t\t\t\t537D958C17ECC1FE0097C263 /* bit_reader.c in Sources */,\n\t\t\t\t537D958D17ECC1FE0097C263 /* color_cache.c in Sources */,\n\t\t\t\t537D958E17ECC1FE0097C263 /* alpha_processing.c in Sources */,\n\t\t\t\t537D958F17ECC1FE0097C263 /* lossless.c in Sources */,\n\t\t\t\t537D959017ECC1FE0097C263 /* tree.c in Sources */,\n\t\t\t\t537D959117ECC1FE0097C263 /* quant.c in Sources */,\n\t\t\t\t537D959217ECC1FE0097C263 /* buffer.c in Sources */,\n\t\t\t\t537D959317ECC1FE0097C263 /* upsampling.c in Sources */,\n\t\t\t\t537D959417ECC1FE0097C263 /* yuv.c in Sources */,\n\t\t\t\t537D959517ECC1FE0097C263 /* io.c in Sources */,\n\t\t\t\t537D959617ECC1FE0097C263 /* upsampling_sse2.c in Sources */,\n\t\t\t\t537D959717ECC1FE0097C263 /* rescaler.c in Sources */,\n\t\t\t\t537D959817ECC1FE0097C263 /* utils.c in Sources */,\n\t\t\t\t537D959917ECC1FE0097C263 /* filters.c in Sources */,\n\t\t\t\t537D959A17ECC1FE0097C263 /* thread.c in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t539F913016316D3700160719 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 53761307155AD0D5005750A4 /* SDWebImage */;\n\t\t\ttargetProxy = 539F912F16316D3700160719 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin XCBuildConfiguration section */\n\t\t531041DE157EAFA400BBABC3 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEAD_CODE_STRIPPING = NO;\n\t\t\t\tDSTROOT = /tmp/SDWebImage.dst;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"$(inherited)\";\n\t\t\t\tINSTALL_PATH = \"$(BUILT_PRODUCTS_DIR)\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tONLY_ACTIVE_ARCH = NO;\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"SDWebImage+MKAnnotation\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSTRIP_STYLE = \"non-global\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t531041DF157EAFA400BBABC3 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEAD_CODE_STRIPPING = NO;\n\t\t\t\tDSTROOT = /tmp/SDWebImage.dst;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"$(inherited)\";\n\t\t\t\tINSTALL_PATH = \"$(BUILT_PRODUCTS_DIR)\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"SDWebImage+MKAnnotation\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSTRIP_STYLE = \"non-global\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t53761323155AD0D5005750A4 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEAD_CODE_STRIPPING = NO;\n\t\t\t\tDSTROOT = /tmp/SDWebImage.dst;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"$(inherited)\";\n\t\t\t\tINSTALL_PATH = \"$(BUILT_PRODUCTS_DIR)\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = SDWebImage;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSTRIP_STYLE = debugging;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t53761324155AD0D5005750A4 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEAD_CODE_STRIPPING = NO;\n\t\t\t\tDSTROOT = /tmp/SDWebImage.dst;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"\";\n\t\t\t\tINSTALL_PATH = \"$(BUILT_PRODUCTS_DIR)\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = SDWebImage;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSTRIP_STYLE = debugging;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t537D95BF17ECC1FE0097C263 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEAD_CODE_STRIPPING = NO;\n\t\t\t\tDSTROOT = /tmp/SDWebImage.dst;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"SD_WEBP=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINSTALL_PATH = \"$(BUILT_PRODUCTS_DIR)\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"SDWebImage+WebP\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSTRIP_STYLE = debugging;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t537D95C017ECC1FE0097C263 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEAD_CODE_STRIPPING = NO;\n\t\t\t\tDSTROOT = /tmp/SDWebImage.dst;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"\\\"$(SRCROOT)\\\"\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"SD_WEBP=1\";\n\t\t\t\tINSTALL_PATH = \"$(BUILT_PRODUCTS_DIR)\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"SDWebImage+WebP\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSTRIP_STYLE = debugging;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t53922D7A148C55820056699D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_TREAT_WARNINGS_AS_ERRORS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_NEWLINE = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES;\n\t\t\t\tGCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;\n\t\t\t\tGCC_WARN_SHADOW = YES;\n\t\t\t\tGCC_WARN_SIGN_COMPARE = YES;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_LABEL = YES;\n\t\t\t\tGCC_WARN_UNUSED_PARAMETER = NO;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tHEADER_SEARCH_PATHS = Vendors/libwebp/src;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = include/SDWebImage;\n\t\t\t\tRUN_CLANG_STATIC_ANALYZER = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t53922D7B148C55820056699D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = \"\";\n\t\t\t\tGCC_TREAT_WARNINGS_AS_ERRORS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_NEWLINE = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES;\n\t\t\t\tGCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;\n\t\t\t\tGCC_WARN_SHADOW = YES;\n\t\t\t\tGCC_WARN_SIGN_COMPARE = YES;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_LABEL = YES;\n\t\t\t\tGCC_WARN_UNUSED_PARAMETER = NO;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tHEADER_SEARCH_PATHS = Vendors/libwebp/src;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = include/SDWebImage;\n\t\t\t\tRUN_CLANG_STATIC_ANALYZER = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t539F912D16316D2D00160719 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t539F912E16316D2D00160719 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget \"SDWebImage+MKAnnotation\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t531041DE157EAFA400BBABC3 /* Debug */,\n\t\t\t\t531041DF157EAFA400BBABC3 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t53761322155AD0D5005750A4 /* Build configuration list for PBXNativeTarget \"SDWebImage\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t53761323155AD0D5005750A4 /* Debug */,\n\t\t\t\t53761324155AD0D5005750A4 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t537D95BE17ECC1FE0097C263 /* Build configuration list for PBXNativeTarget \"SDWebImage+WebP\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t537D95BF17ECC1FE0097C263 /* Debug */,\n\t\t\t\t537D95C017ECC1FE0097C263 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t53922D69148C55810056699D /* Build configuration list for PBXProject \"SDWebImage\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t53922D7A148C55820056699D /* Debug */,\n\t\t\t\t53922D7B148C55820056699D /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t539F912C16316D2D00160719 /* Build configuration list for PBXAggregateTarget \"SDWebImageFramework\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t539F912D16316D2D00160719 /* Debug */,\n\t\t\t\t539F912E16316D2D00160719 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 53922D66148C55810056699D /* Project object */;\n}\n"
  },
  {
    "path": "SDWebImage/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage+MKAnnotation.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0510\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"531041C2157EAFA400BBABC3\"\n               BuildableName = \"libSDWebImage+MKAnnotation.a\"\n               BlueprintName = \"SDWebImage+MKAnnotation\"\n               ReferencedContainer = \"container:SDWebImage.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n      </Testables>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "SDWebImage/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage+WebP.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0510\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"537D957317ECC1FE0097C263\"\n               BuildableName = \"libSDWebImage+WebP.a\"\n               BlueprintName = \"SDWebImage+WebP\"\n               ReferencedContainer = \"container:SDWebImage.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n      </Testables>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "SDWebImage/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0510\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"53761307155AD0D5005750A4\"\n               BuildableName = \"libSDWebImage.a\"\n               BlueprintName = \"SDWebImage\"\n               ReferencedContainer = \"container:SDWebImage.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n      </Testables>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "SDWebImage/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImageFramework.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0510\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"539F912B16316D2D00160719\"\n               BuildableName = \"SDWebImageFramework\"\n               BlueprintName = \"SDWebImageFramework\"\n               ReferencedContainer = \"container:SDWebImage.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n      </Testables>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "SDWebImage/SDWebImage.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:Examples/SDWebImage Demo.xcodeproj\">\n   </FileRef>\n   <FileRef\n      location = \"group:Tests/SDWebImage Tests.xcodeproj\">\n   </FileRef>\n   <FileRef\n      location = \"group:Tests/Pods/Pods.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "SDWebImage/Tests/Podfile",
    "content": "xcodeproj 'SDWebImage Tests'\nworkspace '../SDWebImage'\n\ndef import_pods\n  pod 'Expecta'                       # A Matcher Framework for Objective-C/Cocoa\n  pod 'XCTestAsync'                   # Extension to XCTest for asynchronous testing\n  pod 'SDWebImage', :path => '../'\nend\n\ntarget :ios do\n  platform :ios, '5.0'\n  link_with 'Tests'\n  import_pods\nend"
  },
  {
    "path": "SDWebImage/Tests/SDWebImage Tests.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\tABC8501F672447AA91C788DA /* libPods-ios.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EB0D107E6B4C4094BA2FEE29 /* libPods-ios.a */; };\n\t\tDA248D57195472AA00390AB0 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA248D56195472AA00390AB0 /* XCTest.framework */; };\n\t\tDA248D59195472AA00390AB0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA248D58195472AA00390AB0 /* Foundation.framework */; };\n\t\tDA248D5B195472AA00390AB0 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA248D5A195472AA00390AB0 /* UIKit.framework */; };\n\t\tDA248D61195472AA00390AB0 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = DA248D5F195472AA00390AB0 /* InfoPlist.strings */; };\n\t\tDA248D69195475D800390AB0 /* SDImageCacheTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DA248D68195475D800390AB0 /* SDImageCacheTests.m */; };\n\t\tDA248D6B195476AC00390AB0 /* SDWebImageManagerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DA248D6A195476AC00390AB0 /* SDWebImageManagerTests.m */; };\n\t\tDA91BEBC19795BC9006F2536 /* UIImageMultiFormatTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DA91BEBB19795BC9006F2536 /* UIImageMultiFormatTests.m */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t5421361315E74CAA8FCCC423 /* Pods-ios.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-ios.xcconfig\"; path = \"Pods/Pods-ios.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tDA248D53195472AA00390AB0 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tDA248D56195472AA00390AB0 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };\n\t\tDA248D58195472AA00390AB0 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };\n\t\tDA248D5A195472AA00390AB0 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };\n\t\tDA248D5E195472AA00390AB0 /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = \"Tests-Info.plist\"; sourceTree = \"<group>\"; };\n\t\tDA248D60195472AA00390AB0 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = \"<group>\"; };\n\t\tDA248D64195472AA00390AB0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = \"Tests-Prefix.pch\"; sourceTree = \"<group>\"; };\n\t\tDA248D68195475D800390AB0 /* SDImageCacheTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDImageCacheTests.m; sourceTree = \"<group>\"; };\n\t\tDA248D6A195476AC00390AB0 /* SDWebImageManagerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageManagerTests.m; sourceTree = \"<group>\"; };\n\t\tDA91BEBB19795BC9006F2536 /* UIImageMultiFormatTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIImageMultiFormatTests.m; sourceTree = \"<group>\"; };\n\t\tEB0D107E6B4C4094BA2FEE29 /* libPods-ios.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = \"libPods-ios.a\"; sourceTree = BUILT_PRODUCTS_DIR; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\tDA248D50195472AA00390AB0 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDA248D57195472AA00390AB0 /* XCTest.framework in Frameworks */,\n\t\t\t\tDA248D5B195472AA00390AB0 /* UIKit.framework in Frameworks */,\n\t\t\t\tDA248D59195472AA00390AB0 /* Foundation.framework in Frameworks */,\n\t\t\t\tABC8501F672447AA91C788DA /* libPods-ios.a in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\tDA248D451954721A00390AB0 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D5C195472AA00390AB0 /* Tests */,\n\t\t\t\tDA248D55195472AA00390AB0 /* Frameworks */,\n\t\t\t\tDA248D54195472AA00390AB0 /* Products */,\n\t\t\t\t5421361315E74CAA8FCCC423 /* Pods-ios.xcconfig */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDA248D54195472AA00390AB0 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D53195472AA00390AB0 /* Tests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDA248D55195472AA00390AB0 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D56195472AA00390AB0 /* XCTest.framework */,\n\t\t\t\tDA248D58195472AA00390AB0 /* Foundation.framework */,\n\t\t\t\tDA248D5A195472AA00390AB0 /* UIKit.framework */,\n\t\t\t\tEB0D107E6B4C4094BA2FEE29 /* libPods-ios.a */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDA248D5C195472AA00390AB0 /* Tests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D5D195472AA00390AB0 /* Supporting Files */,\n\t\t\t\tDA248D68195475D800390AB0 /* SDImageCacheTests.m */,\n\t\t\t\tDA248D6A195476AC00390AB0 /* SDWebImageManagerTests.m */,\n\t\t\t\tDA91BEBB19795BC9006F2536 /* UIImageMultiFormatTests.m */,\n\t\t\t);\n\t\t\tpath = Tests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDA248D5D195472AA00390AB0 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D5E195472AA00390AB0 /* Tests-Info.plist */,\n\t\t\t\tDA248D5F195472AA00390AB0 /* InfoPlist.strings */,\n\t\t\t\tDA248D64195472AA00390AB0 /* Tests-Prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\tDA248D52195472AA00390AB0 /* Tests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = DA248D67195472AA00390AB0 /* Build configuration list for PBXNativeTarget \"Tests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tFBC8982311CD4ED9A3006D45 /* Check Pods Manifest.lock */,\n\t\t\t\tDA248D4F195472AA00390AB0 /* Sources */,\n\t\t\t\tDA248D50195472AA00390AB0 /* Frameworks */,\n\t\t\t\tDA248D51195472AA00390AB0 /* Resources */,\n\t\t\t\tD6347736BDF64FC5A4D078A4 /* Copy Pods Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Tests;\n\t\t\tproductName = Tests;\n\t\t\tproductReference = DA248D53195472AA00390AB0 /* Tests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tDA248D461954721A00390AB0 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0510;\n\t\t\t};\n\t\t\tbuildConfigurationList = DA248D491954721A00390AB0 /* Build configuration list for PBXProject \"SDWebImage Tests\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t);\n\t\t\tmainGroup = DA248D451954721A00390AB0;\n\t\t\tproductRefGroup = DA248D54195472AA00390AB0 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tDA248D52195472AA00390AB0 /* Tests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\tDA248D51195472AA00390AB0 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDA248D61195472AA00390AB0 /* InfoPlist.strings in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\tD6347736BDF64FC5A4D078A4 /* Copy Pods Resources */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Copy Pods Resources\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${SRCROOT}/Pods/Pods-ios-resources.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tFBC8982311CD4ED9A3006D45 /* Check Pods Manifest.lock */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Check Pods Manifest.lock\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"diff \\\"${PODS_ROOT}/../Podfile.lock\\\" \\\"${PODS_ROOT}/Manifest.lock\\\" > /dev/null\\nif [[ $? != 0 ]] ; then\\n    cat << EOM\\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\\nEOM\\n    exit 1\\nfi\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\tDA248D4F195472AA00390AB0 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDA248D69195475D800390AB0 /* SDImageCacheTests.m in Sources */,\n\t\t\t\tDA248D6B195476AC00390AB0 /* SDWebImageManagerTests.m in Sources */,\n\t\t\t\tDA91BEBC19795BC9006F2536 /* UIImageMultiFormatTests.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\tDA248D5F195472AA00390AB0 /* InfoPlist.strings */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tDA248D60195472AA00390AB0 /* en */,\n\t\t\t);\n\t\t\tname = InfoPlist.strings;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\tDA248D4A1954721A00390AB0 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tDA248D4B1954721A00390AB0 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tDA248D65195472AA00390AB0 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 5421361315E74CAA8FCCC423 /* Pods-ios.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(DEVELOPER_FRAMEWORKS_DIR)\",\n\t\t\t\t);\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"Tests/Tests-Prefix.pch\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tINFOPLIST_FILE = \"Tests/Tests-Info.plist\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 5.0;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tWRAPPER_EXTENSION = xctest;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tDA248D66195472AA00390AB0 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 5421361315E74CAA8FCCC423 /* Pods-ios.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(DEVELOPER_FRAMEWORKS_DIR)\",\n\t\t\t\t);\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"Tests/Tests-Prefix.pch\";\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tINFOPLIST_FILE = \"Tests/Tests-Info.plist\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 5.0;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t\tWRAPPER_EXTENSION = xctest;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\tDA248D491954721A00390AB0 /* Build configuration list for PBXProject \"SDWebImage Tests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tDA248D4A1954721A00390AB0 /* Debug */,\n\t\t\t\tDA248D4B1954721A00390AB0 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tDA248D67195472AA00390AB0 /* Build configuration list for PBXNativeTarget \"Tests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tDA248D65195472AA00390AB0 /* Debug */,\n\t\t\t\tDA248D66195472AA00390AB0 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = DA248D461954721A00390AB0 /* Project object */;\n}\n"
  },
  {
    "path": "SDWebImage/Tests/Tests/SDImageCacheTests.m",
    "content": "//\n//  SDImageCacheTests.m\n//  SDWebImage Tests\n//\n//  Created by Bogdan Poplauschi on 20/06/14.\n//\n//\n\n#define EXP_SHORTHAND   // required by Expecta\n\n\n#import <XCTest/XCTest.h>\n#import <XCTestAsync/XCTestAsync.h>\n#import <Expecta.h>\n\n#import \"SDImageCache.h\"\n\n\n@interface SDImageCacheTests : XCTestCase\n\n@end\n\n@implementation SDImageCacheTests\n\n- (void)setUp\n{\n    [super setUp];\n    // Put setup code here. This method is called before the invocation of each test method in the class.\n}\n\n- (void)tearDown\n{\n    // Put teardown code here. This method is called after the invocation of each test method in the class.\n    [super tearDown];\n}\n\n- (void)testSharedImageCache {\n    SDImageCache *sharedImageCache = [SDImageCache sharedImageCache];\n    \n    expect(sharedImageCache).toNot.beNil();\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/Tests/Tests/SDWebImageManagerTests.m",
    "content": "//\n//  SDWebImageManagerTests.m\n//  SDWebImage Tests\n//\n//  Created by Bogdan Poplauschi on 20/06/14.\n//\n//\n\n#define EXP_SHORTHAND   // required by Expecta\n\n\n#import <XCTest/XCTest.h>\n#import <XCTestAsync/XCTestAsync.h>\n#import <Expecta.h>\n\n#import \"SDWebImageManager.h\"\n\nstatic int64_t kAsyncTestTimeout = 5;\n\n\n@interface SDWebImageManagerTests : XCTestCase\n\n@end\n\n@implementation SDWebImageManagerTests\n\n- (void)setUp\n{\n    [super setUp];\n    // Put setup code here. This method is called before the invocation of each test method in the class.\n}\n\n- (void)tearDown\n{\n    // Put teardown code here. This method is called after the invocation of each test method in the class.\n    [super tearDown];\n}\n\n- (void)testThatDownloadInvokesCompletionBlockWithCorrectParamsAsync {\n    NSURL *originalImageURL = [NSURL URLWithString:@\"http://static2.dmcdn.net/static/video/656/177/44771656:jpeg_preview_small.jpg?20120509154705\"];\n    \n    [[SDWebImageManager sharedManager] downloadImageWithURL:originalImageURL options:SDWebImageRefreshCached progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n        expect(image).toNot.beNil();\n        expect(error).to.beNil();\n        expect(originalImageURL).to.equal(imageURL);\n        \n        XCAsyncSuccess();\n    }];\n    \n    XCAsyncFailAfter(kAsyncTestTimeout, @\"Download image timed out\");\n}\n\n- (void)testThatDownloadWithIncorrectURLInvokesCompletionBlockWithAnErrorAsync {\n    NSURL *originalImageURL = [NSURL URLWithString:@\"http://static2.dmcdn.net/static/video/656/177/44771656:jpeg_preview_small.png\"];\n    \n    [[SDWebImageManager sharedManager] downloadImageWithURL:originalImageURL options:SDWebImageRefreshCached progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n        expect(image).to.beNil();\n        expect(error).toNot.beNil();\n        expect(originalImageURL).to.equal(imageURL);\n        \n        XCAsyncSuccess();\n    }];\n    \n    XCAsyncFailAfter(kAsyncTestTimeout, @\"Download image timed out\");\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/Tests/Tests/Tests-Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>${EXECUTABLE_NAME}</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>com.SDWebImage.${PRODUCT_NAME:rfc1034identifier}</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "SDWebImage/Tests/Tests/Tests-Prefix.pch",
    "content": "//\n//  Prefix header\n//\n//  The contents of this file are implicitly included at the beginning of every source file.\n//\n\n#ifdef __OBJC__\n    #import <UIKit/UIKit.h>\n    #import <Foundation/Foundation.h>\n#endif\n"
  },
  {
    "path": "SDWebImage/Tests/Tests/UIImageMultiFormatTests.m",
    "content": "//\n//  UIImageMultiFormatTests.m\n//  SDWebImage Tests\n//\n//  Created by Bogdan Poplauschi on 18/07/14.\n//\n//\n\n#define EXP_SHORTHAND   // required by Expecta\n\n\n#import <XCTest/XCTest.h>\n#import <XCTestAsync/XCTestAsync.h>\n#import <Expecta.h>\n\n#import \"UIImage+MultiFormat.h\"\n\n\n@interface UIImageMultiFormatTests : XCTestCase\n\n@end\n\n\n@implementation UIImageMultiFormatTests\n\n- (void)setUp\n{\n    [super setUp];\n    // Put setup code here. This method is called before the invocation of each test method in the class.\n}\n\n- (void)tearDown\n{\n    // Put teardown code here. This method is called after the invocation of each test method in the class.\n    [super tearDown];\n}\n\n- (void)testImageOrientationFromImageDataWithInvalidData {\n    // sync download image\n    SEL selector = @selector(sd_imageOrientationFromImageData:);\n    \n    UIImageOrientation orientation = [[UIImage class] performSelector:selector withObject:nil];\n    expect(orientation).to.equal(UIImageOrientationUp);\n}\n\n@end\n"
  },
  {
    "path": "SDWebImage/Tests/Tests/en.lproj/InfoPlist.strings",
    "content": "/* Localized versions of Info.plist keys */\n\n"
  },
  {
    "path": "v2ex/API/APIClient.swift",
    "content": "//\n//  APIClient.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14-10-16.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\nimport Alamofire\n\nlet APIRootURL = \"http://www.v2ex.com/api/\"\n\nclass APIClient {\n   \n    class var sharedInstance : APIClient {\n        struct Static {\n            static let instance : APIClient = APIClient()\n        }\n        return Static.instance\n    }\n    \n    func getJSONData(path: NSString, parameters: [String : AnyObject]?, success: (JSON) -> Void, failure: (NSError) -> Void) {\n        Alamofire.request(.GET, APIRootURL + path, parameters: parameters)\n            .responseSwiftyJSON { (request, response, json, error) in\n                if let err = error? {\n                    failure(err)\n                } else {\n                    success(json)\n                }\n        }\n    }\n    \n    func getLatestTopics(success: (JSON) -> Void, failure: (NSError) -> Void) {\n        self.getJSONData(\"topics/hot.json\", parameters: nil, success: success, failure: failure)\n    }\n    \n    func getLatestTopics(nodeID: NSString, success: (JSON) -> Void, failure: (NSError) -> Void) {\n        let dict = [\"node_id\": nodeID]\n        self.getJSONData(\"topics/show.json\", parameters: dict, success: success, failure: failure)\n    }\n    \n    func getReplies(topicID: NSString, success: (JSON) -> Void, failure: (NSError) -> Void) {\n        let dict = [\"topic_id\": topicID]\n        self.getJSONData(\"replies/show.json\", parameters: dict, success: success, failure: failure)\n    }\n    \n    func getNodes(success: (JSON) -> Void, failure: (NSError) -> Void) {\n        self.getJSONData(\"nodes/all.json\", parameters: nil, success: success, failure: failure)\n    }\n\n}\n"
  },
  {
    "path": "v2ex/App/AppContext.swift",
    "content": "//\n//  AppContext.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/21.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass AppContext {\n   \n    private let kNodesKey = \"nodes\"\n    \n    class var sharedInstance : AppContext {\n    struct Static {\n        static let instance : AppContext = AppContext()\n        }\n        return Static.instance\n    }\n    \n    func saveNodes(nodes:AnyObject) {\n        var userDefaults = NSUserDefaults.standardUserDefaults()\n        userDefaults.setObject(NSKeyedArchiver.archivedDataWithRootObject(nodes), forKey: kNodesKey)\n        userDefaults.synchronize()\n    }\n    \n    func getNodes() -> JSON? {\n        var userDefaults = NSUserDefaults.standardUserDefaults()\n        var data: AnyObject? = userDefaults.objectForKey(kNodesKey)\n        if let obj: AnyObject = data? {\n            var json: AnyObject? = NSKeyedUnarchiver.unarchiveObjectWithData(obj as NSData)\n            return JSON(json!)\n        } else {\n            return nil\n        }\n    }\n    \n}\n"
  },
  {
    "path": "v2ex/App/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14-10-16.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {\n        self.setupStyle()\n        return true\n    }\n    \n    func setupStyle() {\n        UIApplication.sharedApplication().setStatusBarStyle(.LightContent, animated: false)\n        UINavigationBar.appearance().barTintColor = UIColor.V2EXColor()\n        UINavigationBar.appearance().translucent = true\n        UINavigationBar.appearance().tintColor = UIColor.whiteColor()\n        UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()]\n    }\n\n    func applicationWillResignActive(application: UIApplication) {\n        // 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.\n        // 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.\n    }\n\n    func applicationDidEnterBackground(application: UIApplication) {\n        // 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.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(application: UIApplication) {\n        // 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.\n    }\n\n    func applicationDidBecomeActive(application: UIApplication) {\n        // 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.\n    }\n\n    func applicationWillTerminate(application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "v2ex/App/v2ex-Bridging-Header.h",
    "content": "//\n//  Use this file to import your target's public headers that you would like to expose to Swift.\n//\n\n#import <SDWebImage/UIImageView+WebCache.h>\n"
  },
  {
    "path": "v2ex/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6245\" systemVersion=\"14A389\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6238\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2014年 jinxing. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"V2EX\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "v2ex/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"6245\" systemVersion=\"14A389\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"lCC-5t-bNy\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6238\"/>\n        <capability name=\"Constraints to layout margins\" minToolsVersion=\"6.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Root View Controller-->\n        <scene sceneID=\"fb1-h7-cFe\">\n            <objects>\n                <tableViewController id=\"2US-Gn-TjT\" customClass=\"TopicsViewController\" customModule=\"v2ex\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <tableView key=\"view\" clipsSubviews=\"YES\" contentMode=\"scaleToFill\" alwaysBounceVertical=\"YES\" dataMode=\"prototypes\" style=\"plain\" separatorStyle=\"default\" rowHeight=\"44\" sectionHeaderHeight=\"22\" sectionFooterHeight=\"22\" id=\"fk1-Tb-4eC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <prototypes>\n                            <tableViewCell contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" reuseIdentifier=\"TopicCellID\" rowHeight=\"80\" id=\"cwJ-lU-qOK\" customClass=\"TopicCell\" customModule=\"v2ex\" customModuleProvider=\"target\">\n                                <autoresizingMask key=\"autoresizingMask\"/>\n                                <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"cwJ-lU-qOK\" id=\"0XH-5u-NrS\">\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                    <subviews>\n                                        <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"你好\" lineBreakMode=\"tailTruncation\" numberOfLines=\"2\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Dbv-PS-Moo\">\n                                            <rect key=\"frame\" x=\"55\" y=\"29\" width=\"530\" height=\"20.5\"/>\n                                            <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"17\"/>\n                                            <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                                            <nil key=\"highlightedColor\"/>\n                                        </label>\n                                        <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleAspectFit\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Eru-HH-SXx\">\n                                            <rect key=\"frame\" x=\"15\" y=\"15\" width=\"30\" height=\"49.5\"/>\n                                            <constraints>\n                                                <constraint firstAttribute=\"width\" constant=\"30\" id=\"ELg-9t-3cf\"/>\n                                            </constraints>\n                                        </imageView>\n                                    </subviews>\n                                    <constraints>\n                                        <constraint firstItem=\"Eru-HH-SXx\" firstAttribute=\"top\" secondItem=\"0XH-5u-NrS\" secondAttribute=\"topMargin\" constant=\"7\" id=\"Lf9-4R-lm5\"/>\n                                        <constraint firstItem=\"Dbv-PS-Moo\" firstAttribute=\"leading\" secondItem=\"Eru-HH-SXx\" secondAttribute=\"trailing\" constant=\"10\" id=\"TY6-9u-htG\"/>\n                                        <constraint firstAttribute=\"bottomMargin\" secondItem=\"Eru-HH-SXx\" secondAttribute=\"bottom\" constant=\"7\" id=\"VIZ-18-3OF\"/>\n                                        <constraint firstAttribute=\"bottomMargin\" secondItem=\"Eru-HH-SXx\" secondAttribute=\"bottom\" constant=\"7\" id=\"anr-uO-xXS\"/>\n                                        <constraint firstAttribute=\"centerY\" secondItem=\"Dbv-PS-Moo\" secondAttribute=\"centerY\" id=\"qFf-kq-ZAf\"/>\n                                        <constraint firstAttribute=\"trailingMargin\" secondItem=\"Dbv-PS-Moo\" secondAttribute=\"trailing\" constant=\"7\" id=\"qfH-2b-Mwh\"/>\n                                        <constraint firstItem=\"Eru-HH-SXx\" firstAttribute=\"leading\" secondItem=\"0XH-5u-NrS\" secondAttribute=\"leadingMargin\" constant=\"7\" id=\"qlU-aE-22W\"/>\n                                    </constraints>\n                                    <variation key=\"default\">\n                                        <mask key=\"constraints\">\n                                            <exclude reference=\"anr-uO-xXS\"/>\n                                        </mask>\n                                    </variation>\n                                </tableViewCellContentView>\n                                <connections>\n                                    <outlet property=\"avatarImageView\" destination=\"Eru-HH-SXx\" id=\"wVd-2g-qnE\"/>\n                                    <outlet property=\"titleLabel\" destination=\"Dbv-PS-Moo\" id=\"vmI-Uv-S5f\"/>\n                                </connections>\n                            </tableViewCell>\n                        </prototypes>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"2US-Gn-TjT\" id=\"stT-xX-dXF\"/>\n                            <outlet property=\"delegate\" destination=\"2US-Gn-TjT\" id=\"L6t-cs-xaK\"/>\n                        </connections>\n                    </tableView>\n                    <navigationItem key=\"navigationItem\" title=\"Root View Controller\" id=\"fOm-aM-er2\"/>\n                </tableViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"x70-aW-wks\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"388\" y=\"310\"/>\n        </scene>\n        <!--Navigation Controller-->\n        <scene sceneID=\"EsV-RO-DkG\">\n            <objects>\n                <navigationController id=\"lCC-5t-bNy\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"WEH-h0-Yx5\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"320\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"2US-Gn-TjT\" kind=\"relationship\" relationship=\"rootViewController\" id=\"Lsq-wI-aGc\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"AY2-EG-5wM\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "v2ex/Controller/BaseTableViewController.swift",
    "content": "//\n//  BaseTableViewController.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14-10-16.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass BaseTableViewController: UITableViewController {\n    \n    var refreshing: Bool = false {\n        didSet {\n            if (self.refreshing) {\n                self.refreshControl?.beginRefreshing()\n                self.refreshControl?.attributedTitle = NSAttributedString(string: \"正在刷新...\")\n            }\n            else {\n                self.refreshControl?.endRefreshing()\n                self.refreshControl?.attributedTitle = NSAttributedString(string: \"正在刷新...\")\n            }\n        }\n    }\n    \n    var datasource: Array<JSON>! {\n        didSet {\n            self.tableView.reloadData()\n        }\n    }\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        self.refreshControl = UIRefreshControl()\n        self.refreshControl?.addTarget(self, action: \"onPullToFresh\", forControlEvents: UIControlEvents.ValueChanged)\n    }\n}\n"
  },
  {
    "path": "v2ex/Controller/NodesViewController.swift",
    "content": "//\n//  NodesViewController.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/20.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass NodesViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate {\n\n    var collectionView: UICollectionView?\n    var dataArray: Array<JSON>?\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        self.title = \"全部节点\"\n        self.view.backgroundColor = UIColor.whiteColor()\n        var layout = UICollectionViewFlowLayout()\n        layout.itemSize = CGSizeMake(self.view.bounds.size.width / 2 - 10, 44)\n        layout.minimumLineSpacing = 5\n        layout.minimumInteritemSpacing = 5\n        self.collectionView = UICollectionView(frame: self.view.bounds, collectionViewLayout: layout)\n        self.collectionView?.backgroundColor = UIColor.whiteColor()\n        self.collectionView?.dataSource = self\n        self.collectionView?.delegate = self\n        self.collectionView?.registerClass(NodeCell.self, forCellWithReuseIdentifier: \"NodeCell\")\n        self.view.addSubview(self.collectionView!)\n        \n        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), {\n            var nodes = AppContext.sharedInstance.getNodes()\n            dispatch_async(dispatch_get_main_queue(), {\n                if let json = nodes? {\n                    self.dataArray = json.arrayValue\n                    self.collectionView?.reloadData()\n                } else {\n                    self.sendRequest()\n                }\n            })\n        })\n    }\n    \n    func sendRequest() {\n        APIClient.sharedInstance.getNodes({ (json) -> Void in\n            if json.type == Type.Array {\n                self.dataArray = json.arrayValue\n                self.collectionView?.reloadData()\n                AppContext.sharedInstance.saveNodes(json.object)\n            }\n            }) { (error) -> Void in\n        }\n    }\n    \n    func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        if let array = self.dataArray? {\n            return array.count\n        }\n        return 0\n    }\n    \n    func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {\n        var cell = collectionView.dequeueReusableCellWithReuseIdentifier(\"NodeCell\", forIndexPath: indexPath) as NodeCell\n        \n        if let array = self.dataArray? {\n            let json = array[indexPath.row]\n            cell.nameLabel?.text = json[\"title\"].stringValue\n        }\n        return cell\n    }\n    \n    func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {\n        if let array = self.dataArray? {\n            let json = array[indexPath.row]\n            var vc = TopicsViewController()\n            vc.nodeJSON = json\n            self.navigationController?.pushViewController(vc, animated: true)\n        }\n        collectionView.deselectItemAtIndexPath(indexPath, animated: true)\n    }\n    \n}\n"
  },
  {
    "path": "v2ex/Controller/TopicDetailViewController.swift",
    "content": "//\n//  TopicDetailViewController.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/17.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass TopicDetailViewController: BaseTableViewController {\n    \n    var json : JSON!\n    var referenceCell: ReplyCell?\n    var headerView : TopicDetailHeaderView?\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        var nibViews = NSBundle.mainBundle().loadNibNamed(\"TopicDetailHeaderView\", owner: self, options: nil)\n        self.headerView = nibViews.first as? TopicDetailHeaderView\n        self.headerView?.title = json[\"title\"].stringValue\n        self.headerView?.avatarURL = \"http:\" + json[\"member\"][\"avatar_large\"].stringValue\n        self.headerView?.author = json[\"member\"][\"username\"].stringValue\n        self.headerView?.content = json[\"content\"].stringValue\n        self.headerView?.setFrameHeight(1000)\n        self.tableView.tableHeaderView = self.headerView\n        self.tableView.tableFooterView = UIView(frame: CGRectZero)\n        self.tableView.registerNib(UINib(nibName: \"ReplyCell\", bundle: nil), forCellReuseIdentifier: \"ReplyCell\")\n        self.sendRequest()\n    }\n    \n    override func viewDidAppear(animated: Bool) {\n        super.viewDidAppear(animated)\n        self.headerView?.setFrameHeight(CGRectGetMaxY((self.headerView?.detailLabel.frame)!) + 30)\n        self.tableView.tableHeaderView = self.headerView\n    }\n    \n    func sendRequest() {\n        self.refreshing = true\n        APIClient.sharedInstance.getReplies(self.json[\"id\"].stringValue, success: { (json) -> Void in\n            self.refreshing = false\n            if json.type == Type.Array {\n                self.datasource = json.arrayValue\n            }\n        }) { (error) -> Void in\n            self.refreshing = false\n        }\n    }\n    \n    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {\n        if (self.datasource != nil) {\n            return self.datasource.count\n        }\n        return 0\n    }\n    \n    override func tableView(tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {\n        return 40;\n    }\n    \n    override func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {\n        if (self.datasource != nil && self.datasource.count != 0) {\n            return \"讨论区\"\n        } else {\n            return \"暂无讨论\"\n        }\n    }\n    \n    override func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {\n        if (self.referenceCell? == nil) {\n            self.referenceCell = tableView.dequeueReusableCellWithIdentifier(\"ReplyCell\") as? ReplyCell\n        }\n        let json = self.datasource[indexPath.row] as JSON\n        self.referenceCell?.update(json)\n        self.referenceCell?.setNeedsLayout()\n        self.referenceCell?.layoutIfNeeded()\n        var height = max(CGRectGetMaxY((self.referenceCell?.contentLabel.frame)!), CGRectGetMaxY((self.referenceCell?.avatarImageView.frame)!)) + 8\n        return height\n    }\n  \n    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {\n        var cell = tableView.dequeueReusableCellWithIdentifier(\"ReplyCell\") as? ReplyCell\n        let json = self.datasource[indexPath.row] as JSON\n        cell?.update(json)\n        return cell!\n    }\n    \n    override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {\n        tableView.deselectRowAtIndexPath(indexPath, animated: true)\n    }\n    \n    func onPullToFresh() {\n        self.sendRequest()\n    }\n\n}\n"
  },
  {
    "path": "v2ex/Controller/TopicsViewController.swift",
    "content": "//\n//  ViewController.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14-10-16.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass TopicsViewController: BaseTableViewController {\n    \n    var imageView: UIImageView!\n    var nodeJSON: JSON? // Node\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        if let node = self.nodeJSON? {\n            self.title = node[\"title\"].stringValue\n        } else {\n            self.title = \"V2EX最热\"\n        }\n        if nodeJSON == nil {\n            let rightItem = UIBarButtonItem(image: UIImage(named: \"nodes\"), style: UIBarButtonItemStyle.Plain, target: self, action: \"selectNode\")\n            self.navigationItem.rightBarButtonItem = rightItem\n        }\n        self.tableView.tableFooterView = UIView(frame: CGRectZero)\n        self.refreshing = true\n        self.sendRequest()\n    }\n    \n    func selectNode() {\n        let vc = NodesViewController()\n        self.navigationController?.pushViewController(vc, animated: true)\n    }\n    \n    func sendRequest() {\n        if let node = self.nodeJSON? {\n            self.refreshing = true\n            APIClient.sharedInstance.getLatestTopics(node[\"id\"].stringValue, success: { (json) -> Void in\n                self.refreshing = false\n                if json.type == Type.Array {\n                    self.datasource = json.arrayValue\n                }\n            }, failure: { (error) -> Void in\n                self.refreshing = false\n            })\n        } else {\n            self.refreshing = true\n            APIClient.sharedInstance.getLatestTopics({ (json) -> Void in\n                    self.refreshing = false\n                    if json.type == Type.Array {\n                        self.datasource = json.arrayValue\n                    }\n                }, failure: { (error) -> Void in\n                    self.refreshing = false\n            })\n        }\n    }\n    \n    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {\n        if (self.datasource != nil) {\n            return self.datasource.count\n        }\n        return 0\n    }\n    \n    override func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {\n        return 60;\n    }\n    \n    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {\n        var cell = tableView.dequeueReusableCellWithIdentifier(TopicCellID) as? TopicCell\n        \n        if cell == nil {\n            cell = TopicCell(style: .Default, reuseIdentifier: TopicCellID)\n        }\n\n        let json = self.datasource[indexPath.row] as JSON\n        cell?.titleLabel.text = json[\"title\"].stringValue\n        var avatarURL = \"http:\" + json[\"member\"][\"avatar_large\"].stringValue\n        cell?.avatarImageView.sd_setImageWithURL(NSURL(string: avatarURL), placeholderImage:UIImage(named: \"avatar_normal\"))\n        return cell!\n    }\n    \n    override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {\n        let json = self.datasource[indexPath.row] as JSON\n        var vc = TopicDetailViewController()\n        vc.json = json\n        self.navigationController?.pushViewController(vc, animated: true)\n        tableView.deselectRowAtIndexPath(indexPath, animated: true)\n    }\n    \n    func onPullToFresh() {\n        self.sendRequest()\n    }\n\n}\n\n"
  },
  {
    "path": "v2ex/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"icon58.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"icon87.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"icon80.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"icon120-1.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"icon120.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"icon180.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "v2ex/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>com.jinxing.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>V2EX</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>010000</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t</array>\n\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "v2ex/Skin/UIColorV2EX.swift",
    "content": "//\n//  UIColorV2EX.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/17.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport Foundation\n\nextension UIColor {\n    \n    class func V2EXColor() -> UIColor {\n        return UIColor.colorWithHex(0x525252)\n    }\n    \n    class func colorWithHex(rgbHexValue:NSInteger) -> UIColor{\n        let red = CGFloat((rgbHexValue & 0xFF0000) >> 16) / 255.0\n        let green = CGFloat((rgbHexValue & 0xFF00) >> 8) / 255.0\n        let blue = CGFloat(rgbHexValue & 0xFF) / 255.0\n        return UIColor(red: red, green: green, blue: blue, alpha: 1.0)\n    }\n    \n}\n"
  },
  {
    "path": "v2ex/ThirdParty/SwiftyJSON/Alamofire-SwiftyJSON.swift",
    "content": "//\n//  AlamofireSwiftyJSON.swift\n//  AlamofireSwiftyJSON\n//\n//  Created by Pinglin Tang on 14-9-22.\n//  Copyright (c) 2014 SwiftyJSON. All rights reserved.\n//\n\nimport Foundation\nimport Alamofire\n\n// MARK: - Request for Swift JSON\n\nextension Alamofire.Request {\n    \n    /**\n    Adds a handler to be called once the request has finished.\n    \n    :param: completionHandler A closure to be executed once the request has finished. The closure takes 4 arguments: the URL request, the URL response, if one was received, the SwiftyJSON enum, if one could be created from the URL response and data, and any error produced while creating the SwiftyJSON enum.\n    \n    :returns: The request.\n    */\n    public func responseSwiftyJSON(completionHandler: (NSURLRequest, NSHTTPURLResponse?, JSON, NSError?) -> Void) -> Self {\n        return responseSwiftyJSON(queue:nil, options:NSJSONReadingOptions.AllowFragments, completionHandler:completionHandler)\n    }\n    \n    /**\n    Adds a handler to be called once the request has finished.\n    \n    :param: queue The queue on which the completion handler is dispatched.\n    :param: options The JSON serialization reading options. `.AllowFragments` by default.\n    :param: completionHandler A closure to be executed once the request has finished. The closure takes 4 arguments: the URL request, the URL response, if one was received, the SwiftyJSON enum, if one could be created from the URL response and data, and any error produced while creating the SwiftyJSON enum.\n    \n    :returns: The request.\n    */\n    public func responseSwiftyJSON(queue: dispatch_queue_t? = nil, options: NSJSONReadingOptions = .AllowFragments, completionHandler: (NSURLRequest, NSHTTPURLResponse?, JSON, NSError?) -> Void) -> Self {\n        \n        return response(queue: queue, serializer: Alamofire.Request.JSONResponseSerializer(options: options), completionHandler: { (request, response, object, error) -> Void in\n            \n            dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), {\n                \n                var responseJSON: JSON\n                if error != nil {\n                    responseJSON = JSON.nullJSON\n                } else if object != nil {\n                    responseJSON = JSON(object!)\n                } else {\n                    responseJSON = JSON.nullJSON\n                }\n                \n                dispatch_async(queue ?? dispatch_get_main_queue(), {\n                    completionHandler(self.request, self.response, responseJSON, nil)\n                })\n            })\n        })\n    }\n}\n\n\n"
  },
  {
    "path": "v2ex/ThirdParty/SwiftyJSON/SwiftyJSON.swift",
    "content": "//  SwiftyJSON.swift\n//\n//  Copyright (c) 2014 Ruoyu Fu, Pinglin Tang\n//\n//  Permission is hereby granted, free of charge, to any person obtaining a copy\n//  of this software and associated documentation files (the \"Software\"), to deal\n//  in the Software without restriction, including without limitation the rights\n//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n//  copies of the Software, and to permit persons to whom the Software is\n//  furnished to do so, subject to the following conditions:\n//\n//  The above copyright notice and this permission notice shall be included in\n//  all copies or substantial portions of the Software.\n//\n//  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n//  THE SOFTWARE.\n\nimport Foundation\n\n// MARK: - Error\n\n///Error domain\npublic let ErrorDomain: String! = \"SwiftyJSONErrorDomain\"\n\n///Error code\npublic let ErrorUnsupportedType: Int! = 999\npublic let ErrorIndexOutOfBounds: Int! = 900\npublic let ErrorWrongType: Int! = 901\npublic let ErrorNotExist: Int! = 500\n\n// MARK: - JSON Type\n\n/**\nJSON's type definitions.\n\nSee http://tools.ietf.org/html/rfc7231#section-4.3\n*/\npublic enum Type :Int{\n    \n    case Number\n    case String\n    case Bool\n    case Array\n    case Dictionary\n    case Null\n    case Unknow\n}\n\n// MARK: - JSON Base\n\npublic struct JSON {\n\n    /**\n    Creates a JSON using the data.\n    \n    :param: data  The NSData used to convert to json.Top level object in data is an NSArray or NSDictionary\n    :param: opt   The JSON serialization reading options. `.AllowFragments` by default.\n    :param: error error The NSErrorPointer used to return the error. `nil` by default.\n    \n    :returns: The created JSON\n    */\n    public init(data:NSData, options opt: NSJSONReadingOptions = .AllowFragments, error: NSErrorPointer = nil) {\n        if let object: AnyObject = NSJSONSerialization.JSONObjectWithData(data, options: opt, error: error) {\n            self.init(object)\n        } else {\n            self.init(NSNull())\n        }\n    }\n    \n    /**\n    Creates a JSON using the object.\n    \n    :param: object  The object must have the following properties: All objects are NSString/String, NSNumber/Int/Float/Double/Bool, NSArray/Array, NSDictionary/Dictionary, or NSNull; All dictionary keys are NSStrings/String; NSNumbers are not NaN or infinity.\n    \n    :returns: The created JSON\n    */\n    public init(_ object: AnyObject) {\n        self.object = object\n    }\n\n    /// Private object\n    private var _object: AnyObject = NSNull()\n    /// Private type\n    private var _type: Type = .Null\n    /// prviate error\n    private var _error: NSError?\n\n    /// Object in JSON\n    public var object: AnyObject {\n        get {\n            return _object\n        }\n        set {\n            _object = newValue\n            switch newValue {\n            case let number as NSNumber:\n                if number.isBool {\n                    _type = .Bool\n                } else {\n                    _type = .Number\n                }\n            case let string as NSString:\n                _type = .String\n            case let null as NSNull:\n                _type = .Null\n            case let array as [AnyObject]:\n                _type = .Array\n            case let dictionary as [String : AnyObject]:\n                _type = .Dictionary\n            default:\n                _type = .Unknow\n                _object = NSNull()\n                _error = NSError(domain: ErrorDomain, code: ErrorUnsupportedType, userInfo: [NSLocalizedDescriptionKey: \"It is a unsupported type\"])\n            }\n        }\n    }\n    \n    /// json type\n    public var type: Type { get { return _type } }\n\n    /// Error in JSON\n    public var error: NSError? { get { return self._error } }\n    \n    /// The static null json\n    public static var nullJSON: JSON { get { return JSON(NSNull()) } }\n\n}\n\n// MARK: - SequenceType\nextension JSON: SequenceType{\n    \n    /// If `type` is `.Array` or `.Dictionary`, return `array.empty` or `dictonary.empty` otherwise return `false`.\n    var isEmpty: Bool {\n        get {\n            switch self.type {\n            case .Array:\n                return (self.object as [AnyObject]).isEmpty\n            case .Dictionary:\n                return (self.object as [String : AnyObject]).isEmpty\n            default:\n                return false\n            }\n        }\n    }\n    \n    /// If `type` is `.Array` or `.Dictionary`, return `array.count` or `dictonary.count` otherwise return `0`.\n    public var count: Int {\n        get {\n            switch self.type {\n            case .Array:\n                return self.arrayValue.count\n            case .Dictionary:\n                return self.dictionaryValue.count\n            default:\n                return 0\n            }\n        }\n    }\n    \n    /**\n    If `type` is `.Array` or `.Dictionary`, return a generator over the elements like `Array` or `Dictionary, otherwise return a generator over empty.\n    \n    :returns: Return a *generator* over the elements of this *sequence*.\n    */\n    public func generate() -> GeneratorOf <(String, JSON)> {\n        switch self.type {\n        case .Array:\n            let array_ = object as [AnyObject]\n            var generate_ = array_.generate()\n            var index_: Int = 0\n            return GeneratorOf<(String, JSON)> {\n                if let element_: AnyObject = generate_.next() {\n                    return (\"\\(index_++)\", JSON(element_))\n                } else {\n                    return nil\n                }\n            }\n        case .Dictionary:\n            let dictionary_ = object as [String : AnyObject]\n            var generate_ = dictionary_.generate()\n            return GeneratorOf<(String, JSON)> {\n                if let (key_: String, value_: AnyObject) = generate_.next() {\n                    return (key_, JSON(value_))\n                } else {\n                    return nil\n                }\n            }\n        default:\n            return GeneratorOf<(String, JSON)> {\n                return nil\n            }\n        }\n    }\n}\n\n// MARK: - Subscript\n\n/**\n*  To mark both String and Int can be used in subscript.\n*/\npublic protocol SubscriptType {}\n\nextension Int: SubscriptType {}\n\nextension String: SubscriptType {}\n\nextension JSON {\n    \n    /// If `type` is `.Array`, return json which's object is `array[index]`, otherwise return null json with error.\n    private subscript(#index: Int) -> JSON {\n        get {\n            \n            if self.type != .Array {\n                var errorResult_ = JSON.nullJSON\n                errorResult_._error = self._error ?? NSError(domain: ErrorDomain, code: ErrorWrongType, userInfo: [NSLocalizedDescriptionKey: \"Array[\\(index)] failure, It is not an array\"])\n                return errorResult_\n            }\n            \n            let array_ = self.object as [AnyObject]\n\n            if index >= 0 && index < array_.count {\n                return JSON(array_[index])\n            }\n            \n            var errorResult_ = JSON.nullJSON\n            errorResult_._error = NSError(domain: ErrorDomain, code:ErrorIndexOutOfBounds , userInfo: [NSLocalizedDescriptionKey: \"Array[\\(index)] is out of bounds\"])\n            return errorResult_\n        }\n        set {\n            if self.type == .Array {\n                var array_ = self.object as [AnyObject]\n                if array_.count > index {\n                    array_[index] = newValue.object\n                    self.object = array_\n                }\n            }\n        }\n    }\n\n    /// If `type` is `.Dictionary`, return json which's object is `dictionary[key]` , otherwise return null json with error.\n    private subscript(#key: String) -> JSON {\n        get {\n            var returnJSON = JSON.nullJSON\n            if self.type == .Dictionary {\n                if let object_: AnyObject = self.object[key] {\n                    returnJSON = JSON(object_)\n                } else {\n                    returnJSON._error = NSError(domain: ErrorDomain, code: ErrorNotExist, userInfo: [NSLocalizedDescriptionKey: \"Dictionary[\\\"\\(key)\\\"] does not exist\"])\n                }\n            } else {\n                returnJSON._error = self._error ?? NSError(domain: ErrorDomain, code: ErrorWrongType, userInfo: [NSLocalizedDescriptionKey: \"Dictionary[\\\"\\(key)\\\"] failure, It is not an dictionary\"])\n            }\n            return returnJSON\n        }\n        set {\n            if self.type == .Dictionary {\n                var dictionary_ = self.object as [String : AnyObject]\n                dictionary_[key] = newValue.object\n                self.object = dictionary_\n            }\n        }\n    }\n    \n    /// If `sub` is `Int`, return `subscript(index:)`; If `sub` is `String`,  return `subscript(key:)`.\n    private subscript(#sub: SubscriptType) -> JSON {\n        get {\n            if sub is String {\n                return self[key:sub as String]\n            } else {\n                return self[index:sub as Int]\n            }\n        }\n        set {\n            if sub is String {\n                self[key:sub as String] = newValue\n            } else {\n                self[index:sub as Int] = newValue\n            }\n        }\n    }\n    \n    /**\n    Find a json in the complex data structuresby using the Int/String's array.\n    \n    :param: path The target json's path. Example: \n                   \n            let json = JSON[data]\n            let path = [9,\"list\",\"person\",\"name\"]\n            let name = json[path]\n    \n            The same as: let name = json[9][\"list\"][\"person\"][\"name\"]\n    \n    :returns: Return a json found by the path or a null json with error\n    */\n    public subscript(path: [SubscriptType]) -> JSON {\n        get {\n            if path.count == 0 {\n                return JSON.nullJSON\n            }\n            \n            var next = self\n            for sub in path {\n                next = next[sub:sub]\n            }\n            return next\n        }\n        set {\n            \n            switch path.count {\n            case 0: return\n            case 1: self[sub:path[0]] = newValue\n            default:\n                var last = newValue\n                var newPath = path\n                newPath.removeLast()\n                for sub in path.reverse() {\n                    var previousLast = self[newPath]\n                    previousLast[sub:sub] = last\n                    last = previousLast\n                    if newPath.count <= 1 {\n                        break\n                    }\n                    newPath.removeLast()\n                }\n                self[sub:newPath[0]] = last\n            }\n        }\n    }\n    \n    /**\n    Find a json in the complex data structuresby using the Int/String's array.\n    \n    :param: path The target json's path. Example:\n    \n            let name = json[9,\"list\",\"person\",\"name\"]\n    \n            The same as: let name = json[9][\"list\"][\"person\"][\"name\"]\n    \n    :returns: Return a json found by the path or a null json with error\n    */\n    public subscript(path: SubscriptType...) -> JSON {\n        get {\n            return self[path]\n        }\n        set {\n            self[path] = newValue\n        }\n    }\n}\n\n// MARK: - LiteralConvertible\n\nextension JSON: StringLiteralConvertible {\n\t\n\tpublic init(stringLiteral value: StringLiteralType) {\n\t\tself.init(value)\n\t}\n\t\n\tpublic init(extendedGraphemeClusterLiteral value: StringLiteralType) {\n\t\tself.init(value)\n\t}\n\t\n\tpublic init(unicodeScalarLiteral value: StringLiteralType) {\n\t\tself.init(value)\n\t}\n}\n\nextension JSON: IntegerLiteralConvertible {\n\n\tpublic init(integerLiteral value: IntegerLiteralType) {\n\t\tself.init(value)\n\t}\n}\n\nextension JSON: BooleanLiteralConvertible {\n\t\n\tpublic init(booleanLiteral value: BooleanLiteralType) {\n\t\tself.init(value)\n\t}\n}\n\nextension JSON: FloatLiteralConvertible {\n\t\n\tpublic init(floatLiteral value: FloatLiteralType) {\n\t\tself.init(value)\n\t}\n}\n\nextension JSON: DictionaryLiteralConvertible {\n\t\n\tpublic init(dictionaryLiteral elements: (String, AnyObject)...) {\n\t\tvar dictionary_ = [String : AnyObject]()\n\t\tfor (key_, value) in elements {\n\t\t\tdictionary_[key_] = value\n\t\t}\n\t\tself.init(dictionary_)\n\t}\n}\n\nextension JSON: ArrayLiteralConvertible {\n\t\n\tpublic init(arrayLiteral elements: AnyObject...) {\n\t\tself.init(elements)\n\t}\n}\n\nextension JSON: NilLiteralConvertible {\n\t\n\tpublic init(nilLiteral: ()) {\n\t\tself.init(NSNull())\n\t}\n}\n\n// MARK: - Raw\n\nextension JSON: RawRepresentable {\n\t\n\tpublic init?(rawValue: AnyObject) {\n\t\tif JSON(rawValue).type == .Unknow {\n\t\t\treturn nil\n\t\t} else {\n\t\t\tself.init(rawValue)\n\t\t}\n\t}\n\t\n\tpublic var rawValue: AnyObject {\n\t\treturn self.object\n\t}\n\n    public func rawData(options opt: NSJSONWritingOptions = NSJSONWritingOptions(0), error: NSErrorPointer = nil) -> NSData? {\n        return NSJSONSerialization.dataWithJSONObject(self.object, options: opt, error:error)\n    }\n    \n    public func rawString(encoding: UInt = NSUTF8StringEncoding, options opt: NSJSONWritingOptions = .PrettyPrinted) -> String? {\n        switch self.type {\n        case .Array, .Dictionary:\n            if let data = self.rawData(options: opt) {\n                return NSString(data: data, encoding: encoding)\n            } else {\n                return nil\n            }\n        case .String:\n            return (self.object as String)\n        case .Number:\n            return (self.object as NSNumber).stringValue\n        case .Bool:\n            return (self.object as Bool).description\n        case .Null:\n            return \"null\"\n        default:\n            return nil\n        }\n    }\n}\n\n// MARK: - Printable, DebugPrintable\n\nextension JSON: Printable, DebugPrintable {\n    \n    public var description: String {\n        if let string = self.rawString(options:.PrettyPrinted) {\n            return string\n        } else {\n            return \"unknown\"\n        }\n    }\n    \n    public var debugDescription: String {\n        return description\n    }\n}\n\n// MARK: - Array\n\nextension JSON {\n\n    //Optional [JSON]\n    public var array: [JSON]? {\n        get {\n            if self.type == .Array {\n                return map(self.object as [AnyObject]){ JSON($0) }\n            } else {\n                return nil\n            }\n        }\n    }\n    \n    //Non-optional [JSON]\n    public var arrayValue: [JSON] {\n        get {\n            return self.array ?? []\n        }\n    }\n    \n    //Optional [AnyObject]\n    public var arrayObject: [AnyObject]? {\n        get {\n            switch self.type {\n            case .Array:\n                return self.object as? [AnyObject]\n            default:\n                return nil\n            }\n        }\n        set {\n            if newValue != nil {\n                self.object = NSMutableArray(array: newValue!, copyItems: true)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n}\n\n// MARK: - Dictionary\n\nextension JSON {\n    \n    private func _map<Key:Hashable ,Value, NewValue>(source: [Key: Value], transform: Value -> NewValue) -> [Key: NewValue] {\n        var result = [Key: NewValue](minimumCapacity:source.count)\n        for (key,value) in source {\n            result[key] = transform(value)\n        }\n        return result\n    }\n\n    //Optional [String : JSON]\n    public var dictionary: [String : JSON]? {\n        get {\n            if self.type == .Dictionary {\n                return _map(self.object as [String : AnyObject]){ JSON($0) }\n            } else {\n                return nil\n            }\n        }\n    }\n    \n    //Non-optional [String : JSON]\n    public var dictionaryValue: [String : JSON] {\n        get {\n            return self.dictionary ?? [:]\n        }\n    }\n    \n    //Optional [String : AnyObject]\n    public var dictionaryObject: [String : AnyObject]? {\n        get {\n            switch self.type {\n            case .Dictionary:\n                return self.object as? [String : AnyObject]\n            default:\n                return nil\n            }\n        }\n        set {\n            if newValue != nil {\n                self.object = NSMutableDictionary(dictionary: newValue!, copyItems: true)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n}\n\n// MARK: - Bool\n\nextension JSON: BooleanType {\n    \n    //Optional bool\n    public var bool: Bool? {\n        get {\n            switch self.type {\n            case .Bool:\n                return self.object.boolValue\n            default:\n                return nil\n            }\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(bool: newValue!)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n\n    //Non-optional bool\n    public var boolValue: Bool {\n        get {\n            switch self.type {\n            case .Bool, .Number, .String:\n                return self.object.boolValue\n            default:\n                return false\n            }\n        }\n        set {\n            self.object = NSNumber(bool: newValue)\n        }\n    }\n}\n\n// MARK: - String\n\nextension JSON {\n\n    //Optional string\n    public var string: String? {\n        get {\n            switch self.type {\n            case .String:\n                return self.object as? String\n            default:\n                return nil\n            }\n        }\n        set {\n            if newValue != nil {\n                self.object = NSString(string:newValue!)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n    \n    //Non-optional string\n    public var stringValue: String {\n        get {\n            switch self.type {\n            case .String:\n                return self.object as String\n            case .Number:\n                return self.object.stringValue\n            case .Bool:\n                return (self.object as Bool).description\n            default:\n                return \"\"\n            }\n        }\n        set {\n            self.object = NSString(string:newValue)\n        }\n    }\n}\n\n// MARK: - Number\nextension JSON {\n    \n    //Optional number\n    public var number: NSNumber? {\n        get {\n            switch self.type {\n            case .Number, .Bool:\n                return self.object as? NSNumber\n            default:\n                return nil\n            }\n        }\n        set {\n            self.object = newValue?.copy() ?? NSNull()\n        }\n    }\n    \n    //Non-optional number\n    public var numberValue: NSNumber {\n        get {\n            switch self.type {\n            case .String:\n                let scanner = NSScanner(string: self.object as String)\n                if scanner.scanDouble(nil){\n                    if (scanner.atEnd) {\n                        return NSNumber(double:(self.object as NSString).doubleValue)\n                    }\n                }\n                return NSNumber(double: 0.0)\n            case .Number, .Bool:\n                return self.object as NSNumber\n            default:\n                return NSNumber(double: 0.0)\n            }\n        }\n        set {\n            self.object = newValue.copy()\n        }\n    }\n}\n\n//MARK: - Null\nextension JSON {\n \n    public var null: NSNull? {\n        get {\n            switch self.type {\n            case .Null:\n                return NSNull()\n            default:\n                return nil\n            }\n        }\n        set {\n            self.object = NSNull()\n        }\n    }\n}\n\n//MARK: - URL\nextension JSON {\n    \n    //Optional URL\n    public var URL: NSURL? {\n        get {\n            switch self.type {\n            case .String:\n                if let encodedString_ = self.object.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding) {\n                    return NSURL(string: encodedString_)\n                } else {\n                    return nil\n                }\n            default:\n                return nil\n            }\n        }\n        set {\n            self.object = newValue?.absoluteString ?? NSNull()\n        }\n    }\n}\n\n// MARK: - Int, Double, Float, Int8, Int16, Int32, Int64\n\nextension JSON {\n    \n    public var double: Double? {\n        get {\n            return self.number?.doubleValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(double: newValue!)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n    \n    public var doubleValue: Double {\n        get {\n            return self.numberValue.doubleValue\n        }\n        set {\n            self.object = NSNumber(double: newValue)\n        }\n    }\n    \n    public var float: Float? {\n        get {\n            return self.number?.floatValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(float: newValue!)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n    \n    public var floatValue: Float {\n        get {\n            return self.numberValue.floatValue\n        }\n        set {\n            self.object = NSNumber(float: newValue)\n        }\n    }\n    \n    public var int: Int? {\n        get {\n            return self.number?.longValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(integer: newValue!)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n    \n    public var intValue: Int {\n        get {\n            return self.numberValue.integerValue\n        }\n        set {\n            self.object = NSNumber(integer: newValue)\n        }\n    }\n    \n    public var uInt: UInt? {\n        get {\n            return self.number?.unsignedLongValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(unsignedLong: newValue!)\n            } else {\n                self.object = NSNull()\n            }\n        }\n    }\n    \n    public var uIntValue: UInt {\n        get {\n            return self.numberValue.unsignedLongValue\n        }\n        set {\n            self.object = NSNumber(unsignedLong: newValue)\n        }\n    }\n\n    public var int8: Int8? {\n        get {\n            return self.number?.charValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(char: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var int8Value: Int8 {\n        get {\n            return self.numberValue.charValue\n        }\n        set {\n            self.object = NSNumber(char: newValue)\n        }\n    }\n    \n    public var uInt8: UInt8? {\n        get {\n            return self.number?.unsignedCharValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(unsignedChar: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var uInt8Value: UInt8 {\n        get {\n            return self.numberValue.unsignedCharValue\n        }\n        set {\n            self.object = NSNumber(unsignedChar: newValue)\n        }\n    }\n    \n    public var int16: Int16? {\n        get {\n            return self.number?.shortValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(short: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var int16Value: Int16 {\n        get {\n            return self.numberValue.shortValue\n        }\n        set {\n            self.object = NSNumber(short: newValue)\n        }\n    }\n    \n    public var uInt16: UInt16? {\n        get {\n            return self.number?.unsignedShortValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(unsignedShort: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var uInt16Value: UInt16 {\n        get {\n            return self.numberValue.unsignedShortValue\n        }\n        set {\n            self.object = NSNumber(unsignedShort: newValue)\n        }\n    }\n\n    public var int32: Int32? {\n        get {\n            return self.number?.intValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(int: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var int32Value: Int32 {\n        get {\n            return self.numberValue.intValue\n        }\n        set {\n            self.object = NSNumber(int: newValue)\n        }\n    }\n    \n    public var uInt32: UInt32? {\n        get {\n            return self.number?.unsignedIntValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(unsignedInt: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var uInt32Value: UInt32 {\n        get {\n            return self.numberValue.unsignedIntValue\n        }\n        set {\n            self.object = NSNumber(unsignedInt: newValue)\n        }\n    }\n    \n    public var int64: Int64? {\n        get {\n            return self.number?.longLongValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(longLong: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var int64Value: Int64 {\n        get {\n            return self.numberValue.longLongValue\n        }\n        set {\n            self.object = NSNumber(longLong: newValue)\n        }\n    }\n    \n    public var uInt64: UInt64? {\n        get {\n            return self.number?.unsignedLongLongValue\n        }\n        set {\n            if newValue != nil {\n                self.object = NSNumber(unsignedLongLong: newValue!)\n            } else {\n                self.object =  NSNull()\n            }\n        }\n    }\n    \n    public var uInt64Value: UInt64 {\n        get {\n            return self.numberValue.unsignedLongLongValue\n        }\n        set {\n            self.object = NSNumber(unsignedLongLong: newValue)\n        }\n    }\n}\n\n//MARK: - Comparable\nextension JSON: Comparable {}\n\npublic func ==(lhs: JSON, rhs: JSON) -> Bool {\n    \n    switch (lhs.type, rhs.type) {\n    case (.Number, .Number):\n        return (lhs.object as NSNumber) == (rhs.object as NSNumber)\n    case (.String, .String):\n        return (lhs.object as String) == (rhs.object as String)\n    case (.Bool, .Bool):\n        return (lhs.object as Bool) == (rhs.object as Bool)\n    case (.Array, .Array):\n        return (lhs.object as NSArray) == (rhs.object as NSArray)\n    case (.Dictionary, .Dictionary):\n        return (lhs.object as NSDictionary) == (rhs.object as NSDictionary)\n    case (.Null, .Null):\n        return true\n    default:\n        return false\n    }\n}\n\npublic func <=(lhs: JSON, rhs: JSON) -> Bool {\n    \n    switch (lhs.type, rhs.type) {\n    case (.Number, .Number):\n        return (lhs.object as NSNumber) <= (rhs.object as NSNumber)\n    case (.String, .String):\n        return (lhs.object as String) <= (rhs.object as String)\n    case (.Bool, .Bool):\n        return (lhs.object as Bool) == (rhs.object as Bool)\n    case (.Array, .Array):\n        return (lhs.object as NSArray) == (rhs.object as NSArray)\n    case (.Dictionary, .Dictionary):\n        return (lhs.object as NSDictionary) == (rhs.object as NSDictionary)\n    case (.Null, .Null):\n        return true\n    default:\n        return false\n    }\n}\n\npublic func >=(lhs: JSON, rhs: JSON) -> Bool {\n    \n    switch (lhs.type, rhs.type) {\n    case (.Number, .Number):\n        return (lhs.object as NSNumber) >= (rhs.object as NSNumber)\n    case (.String, .String):\n        return (lhs.object as String) >= (rhs.object as String)\n    case (.Bool, .Bool):\n        return (lhs.object as Bool) == (rhs.object as Bool)\n    case (.Array, .Array):\n        return (lhs.object as NSArray) == (rhs.object as NSArray)\n    case (.Dictionary, .Dictionary):\n        return (lhs.object as NSDictionary) == (rhs.object as NSDictionary)\n    case (.Null, .Null):\n        return true\n    default:\n        return false\n    }\n}\n\npublic func >(lhs: JSON, rhs: JSON) -> Bool {\n    \n    switch (lhs.type, rhs.type) {\n    case (.Number, .Number):\n        return (lhs.object as NSNumber) > (rhs.object as NSNumber)\n    case (.String, .String):\n        return (lhs.object as String) > (rhs.object as String)\n    default:\n        return false\n    }\n}\n\npublic func <(lhs: JSON, rhs: JSON) -> Bool {\n    \n    switch (lhs.type, rhs.type) {\n    case (.Number, .Number):\n        return (lhs.object as NSNumber) < (rhs.object as NSNumber)\n    case (.String, .String):\n        return (lhs.object as String) < (rhs.object as String)\n    default:\n        return false\n    }\n}\n\nprivate let trueNumber = NSNumber(bool: true)\nprivate let falseNumber = NSNumber(bool: false)\nprivate let trueObjCType = String.fromCString(trueNumber.objCType)\nprivate let falseObjCType = String.fromCString(falseNumber.objCType)\n\n// MARK: - NSNumber: Comparable\n\nextension NSNumber: Comparable {\n    var isBool:Bool {\n        get {\n            let objCType = String.fromCString(self.objCType)\n            if (self.compare(trueNumber) == NSComparisonResult.OrderedSame &&  objCType == trueObjCType) ||  (self.compare(falseNumber) == NSComparisonResult.OrderedSame && objCType == falseObjCType){\n                return true\n            } else {\n                return false\n            }\n        }\n    }\n}\n\npublic func ==(lhs: NSNumber, rhs: NSNumber) -> Bool {\n    switch (lhs.isBool, rhs.isBool) {\n    case (false, true):\n        return false\n    case (true, false):\n        return false\n    default:\n        return lhs.compare(rhs) == NSComparisonResult.OrderedSame\n    }\n}\n\npublic func !=(lhs: NSNumber, rhs: NSNumber) -> Bool {\n    return !(rhs == rhs)\n}\n\npublic func <(lhs: NSNumber, rhs: NSNumber) -> Bool {\n    \n    switch (lhs.isBool, rhs.isBool) {\n    case (false, true):\n        return false\n    case (true, false):\n        return false\n    default:\n        return lhs.compare(rhs) == NSComparisonResult.OrderedAscending\n    }\n}\n\npublic func >(lhs: NSNumber, rhs: NSNumber) -> Bool {\n    \n    switch (lhs.isBool, rhs.isBool) {\n    case (false, true):\n        return false\n    case (true, false):\n        return false\n    default:\n        return lhs.compare(rhs) == NSComparisonResult.OrderedDescending\n    }\n}\n\npublic func <=(lhs: NSNumber, rhs: NSNumber) -> Bool {\n\n    switch (lhs.isBool, rhs.isBool) {\n    case (false, true):\n        return false\n    case (true, false):\n        return false\n    default:\n        return lhs.compare(rhs) != NSComparisonResult.OrderedDescending\n    }\n}\n\npublic func >=(lhs: NSNumber, rhs: NSNumber) -> Bool {\n\n    switch (lhs.isBool, rhs.isBool) {\n    case (false, true):\n        return false\n    case (true, false):\n        return false\n    default:\n        return lhs.compare(rhs) != NSComparisonResult.OrderedAscending\n    }\n}\n\n//MARK:- Unavailable\n\n@availability(*, unavailable, renamed=\"JSON\")\npublic typealias JSONValue = JSON\n\nextension JSON {\n    \n    @availability(*, unavailable, message=\"use 'init(_ object:AnyObject)' instead\")\n    public init(object: AnyObject) {\n        self = JSON(object)\n    }\n    \n    @availability(*, unavailable, renamed=\"dictionaryObject\")\n    public var dictionaryObjects: [String : AnyObject]? {\n        get { return self.dictionaryObject }\n    }\n    \n    @availability(*, unavailable, renamed=\"arrayObject\")\n    public var arrayObjects: [AnyObject]? {\n        get { return self.arrayObject }\n    }\n    \n    @availability(*, unavailable, renamed=\"int8\")\n    public var char: Int8? {\n        get {\n            return self.number?.charValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"int8Value\")\n    public var charValue: Int8 {\n        get {\n            return self.numberValue.charValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt8\")\n    public var unsignedChar: UInt8? {\n        get{\n            return self.number?.unsignedCharValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt8Value\")\n    public var unsignedCharValue: UInt8 {\n        get{\n            return self.numberValue.unsignedCharValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"int16\")\n    public var short: Int16? {\n        get{\n            return self.number?.shortValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"int16Value\")\n    public var shortValue: Int16 {\n        get{\n            return self.numberValue.shortValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt16\")\n    public var unsignedShort: UInt16? {\n        get{\n            return self.number?.unsignedShortValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt16Value\")\n    public var unsignedShortValue: UInt16 {\n        get{\n            return self.numberValue.unsignedShortValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"int\")\n    public var long: Int? {\n        get{\n            return self.number?.longValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"intValue\")\n    public var longValue: Int {\n        get{\n            return self.numberValue.longValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt\")\n    public var unsignedLong: UInt? {\n        get{\n            return self.number?.unsignedLongValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uIntValue\")\n    public var unsignedLongValue: UInt {\n        get{\n            return self.numberValue.unsignedLongValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"int64\")\n    public var longLong: Int64? {\n        get{\n            return self.number?.longLongValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"int64Value\")\n    public var longLongValue: Int64 {\n        get{\n            return self.numberValue.longLongValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt64\")\n    public var unsignedLongLong: UInt64? {\n        get{\n            return self.number?.unsignedLongLongValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt64Value\")\n    public var unsignedLongLongValue: UInt64 {\n        get{\n            return self.numberValue.unsignedLongLongValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"int\")\n    public var integer: Int? {\n        get {\n            return self.number?.integerValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"intValue\")\n    public var integerValue: Int {\n        get {\n            return self.numberValue.integerValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uInt\")\n    public var unsignedInteger: Int? {\n        get {\n            return self.number?.unsignedIntegerValue\n        }\n    }\n    \n    @availability(*, unavailable, renamed=\"uIntValue\")\n    public var unsignedIntegerValue: Int {\n        get {\n            return self.numberValue.unsignedIntegerValue\n        }\n    }\n}\n"
  },
  {
    "path": "v2ex/View/NodeCell.swift",
    "content": "//\n//  NodeCell.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/20.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass NodeCell: UICollectionViewCell {\n    \n    var nameLabel: UILabel?\n    \n    override init(frame: CGRect) {\n        super.init(frame: frame)\n        self.nameLabel = UILabel(frame: self.contentView.bounds)\n        self.nameLabel?.textAlignment = .Center\n        self.contentView.addSubview(self.nameLabel!)\n    }\n\n    required init(coder aDecoder: NSCoder) {\n        super.init(coder: aDecoder)\n    }\n    \n}\n"
  },
  {
    "path": "v2ex/View/ReplyCell.swift",
    "content": "//\n//  ReplyCell.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/20.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass ReplyCell: UITableViewCell {\n    \n    @IBOutlet var avatarImageView: UIImageView! = nil\n    @IBOutlet var contentLabel: UILabel! = nil\n\n    override func awakeFromNib() {\n        super.awakeFromNib()\n        self.selectionStyle = .None\n    }\n\n    override func setSelected(selected: Bool, animated: Bool) {\n        super.setSelected(selected, animated: animated)\n\n        // Configure the view for the selected state\n    }\n\n    override func layoutSubviews() {\n        super.layoutSubviews()\n        self.contentView.layoutSubviews()\n        self.contentLabel.preferredMaxLayoutWidth = self.contentLabel.frame.size.width\n    }\n    \n    func update(json: JSON) {\n        var avatarURL = \"http:\" + json[\"member\"][\"avatar_large\"].stringValue\n        self.avatarImageView.sd_setImageWithURL(NSURL(string: avatarURL), placeholderImage: UIImage(named: \"avatar_normal\"))\n        self.contentLabel.text = json[\"content\"].stringValue\n    }\n\n}\n"
  },
  {
    "path": "v2ex/View/ReplyCell.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6245\" systemVersion=\"14A389\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6238\"/>\n        <capability name=\"Constraints to layout margins\" minToolsVersion=\"6.0\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <tableViewCell contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" reuseIdentifier=\"ReplyCell\" id=\"KGk-i7-Jjw\" customClass=\"ReplyCell\" customModule=\"v2ex\" customModuleProvider=\"target\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"320\" height=\"44\"/>\n            <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n            <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"KGk-i7-Jjw\" id=\"H2p-sc-9uM\">\n                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"320\" height=\"43\"/>\n                <autoresizingMask key=\"autoresizingMask\"/>\n                <subviews>\n                    <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleAspectFit\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" image=\"avatar_normal.png\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"qc3-s0-AIH\">\n                        <rect key=\"frame\" x=\"12\" y=\"12\" width=\"24\" height=\"24\"/>\n                        <constraints>\n                            <constraint firstAttribute=\"height\" constant=\"24\" id=\"QSR-TB-rc3\"/>\n                            <constraint firstAttribute=\"width\" constant=\"24\" id=\"tWV-9Q-Q2C\"/>\n                        </constraints>\n                    </imageView>\n                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Label\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"PlE-SA-UdF\">\n                        <rect key=\"frame\" x=\"46\" y=\"14\" width=\"260\" height=\"18\"/>\n                        <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"15\"/>\n                        <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                        <nil key=\"highlightedColor\"/>\n                    </label>\n                </subviews>\n                <constraints>\n                    <constraint firstItem=\"qc3-s0-AIH\" firstAttribute=\"leading\" secondItem=\"H2p-sc-9uM\" secondAttribute=\"leadingMargin\" constant=\"4\" id=\"0OS-PC-EaY\"/>\n                    <constraint firstAttribute=\"trailingMargin\" secondItem=\"PlE-SA-UdF\" secondAttribute=\"trailing\" constant=\"6\" id=\"2mf-A2-WLx\"/>\n                    <constraint firstItem=\"PlE-SA-UdF\" firstAttribute=\"leading\" secondItem=\"qc3-s0-AIH\" secondAttribute=\"trailing\" constant=\"10\" id=\"Eix-ZM-ZwH\"/>\n                    <constraint firstItem=\"qc3-s0-AIH\" firstAttribute=\"top\" secondItem=\"H2p-sc-9uM\" secondAttribute=\"topMargin\" constant=\"4\" id=\"U5d-eY-l3p\"/>\n                    <constraint firstItem=\"PlE-SA-UdF\" firstAttribute=\"top\" secondItem=\"H2p-sc-9uM\" secondAttribute=\"topMargin\" constant=\"6\" id=\"sh9-dI-MWK\"/>\n                </constraints>\n            </tableViewCellContentView>\n            <connections>\n                <outlet property=\"avatarImageView\" destination=\"qc3-s0-AIH\" id=\"YLT-7s-1Pz\"/>\n                <outlet property=\"contentLabel\" destination=\"PlE-SA-UdF\" id=\"ipG-16-Nww\"/>\n            </connections>\n            <point key=\"canvasLocation\" x=\"370\" y=\"235\"/>\n        </tableViewCell>\n    </objects>\n    <resources>\n        <image name=\"avatar_normal.png\" width=\"24\" height=\"24\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "v2ex/View/TopicCell.swift",
    "content": "//\n//  TopicCell.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14-10-16.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nlet TopicCellID = \"TopicCellID\"\n\n\nclass TopicCell: UITableViewCell {\n    \n    @IBOutlet var titleLabel : UILabel! = nil\n    @IBOutlet var avatarImageView : UIImageView! = nil\n    \n    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {\n        super.init(style: style, reuseIdentifier: reuseIdentifier)\n        \n        avatarImageView = UIImageView(frame:CGRectMake(15, 15, 30, 30))\n        self.contentView.addSubview(avatarImageView)\n        \n        let screenWidth = UIScreen.mainScreen().bounds.size.width\n        titleLabel = UILabel(frame: CGRectMake(60, 10, screenWidth - 70, self.frame.size.height))\n        titleLabel.numberOfLines = 2\n        titleLabel.font = UIFont.boldSystemFontOfSize(17)\n        self.contentView.addSubview(titleLabel)\n    }\n\n    required init(coder aDecoder: NSCoder) {\n        super.init(coder: aDecoder)\n    }\n\n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // Initialization code\n    }\n\n    override func setSelected(selected: Bool, animated: Bool) {\n        super.setSelected(selected, animated: animated)\n\n    }\n\n}\n"
  },
  {
    "path": "v2ex/View/TopicDetailHeaderView.swift",
    "content": "//\n//  TopicDetailHeaderView.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/17.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\n\nclass TopicDetailHeaderView: UIView {\n\n    @IBOutlet var titleLabel: UILabel! = nil\n    @IBOutlet var detailLabel: UILabel! = nil\n    @IBOutlet var avatarImageView: UIImageView! = nil\n    @IBOutlet var authorLabel: UILabel! = nil\n    \n    \n    override func awakeFromNib() {\n        self.titleLabel.setTranslatesAutoresizingMaskIntoConstraints(false)\n        self.detailLabel.setTranslatesAutoresizingMaskIntoConstraints(false)\n        self.avatarImageView.setTranslatesAutoresizingMaskIntoConstraints(false)\n        self.authorLabel.setTranslatesAutoresizingMaskIntoConstraints(false)\n        \n    }\n    \n    var title: String? {\n        didSet {\n            self.titleLabel.text = title?\n        }\n    }\n    \n    var avatarURL: String? {\n        didSet {\n            self.avatarImageView.sd_setImageWithURL(NSURL(string: avatarURL!), placeholderImage: UIImage(named: \"avatar_normal\"))\n        }\n    }\n\n    var author: String? {\n        didSet {\n            self.authorLabel.text = author?\n        }\n    }\n    \n    var content: String? {\n        didSet {\n            self.detailLabel.text = content?\n            self.titleLabel.text = self.title\n            self.setNeedsUpdateConstraints()\n            self.updateConstraintsIfNeeded()\n            self.setNeedsLayout()\n            self.layoutIfNeeded()\n        }\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews()\n        self.titleLabel.preferredMaxLayoutWidth = self.titleLabel.bounds.size.width\n        self.detailLabel.preferredMaxLayoutWidth = self.detailLabel.bounds.size.width\n        self.authorLabel.preferredMaxLayoutWidth = self.authorLabel.bounds.size.width\n        self.setFrameHeight(CGRectGetMaxY(self.detailLabel.frame) + 36)\n    }\n}\n"
  },
  {
    "path": "v2ex/View/TopicDetailHeaderView.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6245\" systemVersion=\"14A389\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6238\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\" customClass=\"TopicDetailHeaderView\" customModule=\"v2ex\" customModuleProvider=\"target\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"标题\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Cvz-zJ-181\">\n                    <rect key=\"frame\" x=\"10\" y=\"10\" width=\"580\" height=\"23\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"19\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"正文\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"cwT-8m-8Gb\">\n                    <rect key=\"frame\" x=\"10\" y=\"101\" width=\"580\" height=\"20.5\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleAspectFit\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" image=\"avatar_normal.png\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"9a9-Ek-nRv\">\n                    <rect key=\"frame\" x=\"10\" y=\"43\" width=\"36\" height=\"36\"/>\n                    <constraints>\n                        <constraint firstAttribute=\"width\" constant=\"36\" id=\"Lmo-Sp-sf3\"/>\n                        <constraint firstAttribute=\"height\" constant=\"36\" id=\"UHj-Sw-HAD\"/>\n                    </constraints>\n                </imageView>\n                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"作者\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"adM-0u-2sv\">\n                    <rect key=\"frame\" x=\"56\" y=\"51\" width=\"534\" height=\"20.5\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"adM-0u-2sv\" firstAttribute=\"top\" secondItem=\"Cvz-zJ-181\" secondAttribute=\"bottom\" constant=\"18\" id=\"7GR-RU-MRQ\"/>\n                <constraint firstItem=\"9a9-Ek-nRv\" firstAttribute=\"top\" secondItem=\"Cvz-zJ-181\" secondAttribute=\"bottom\" constant=\"10\" id=\"9ei-u6-Nbo\"/>\n                <constraint firstItem=\"cwT-8m-8Gb\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"10\" id=\"Apc-xq-23T\"/>\n                <constraint firstAttribute=\"trailing\" secondItem=\"Cvz-zJ-181\" secondAttribute=\"trailing\" constant=\"10\" id=\"Qep-sb-Mth\"/>\n                <constraint firstItem=\"Cvz-zJ-181\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"10\" id=\"Sq8-nr-iL0\"/>\n                <constraint firstItem=\"Cvz-zJ-181\" firstAttribute=\"top\" secondItem=\"iN0-l3-epB\" secondAttribute=\"top\" constant=\"10\" id=\"Ssg-9x-v1q\"/>\n                <constraint firstAttribute=\"trailing\" secondItem=\"adM-0u-2sv\" secondAttribute=\"trailing\" constant=\"10\" id=\"UgE-16-NnD\"/>\n                <constraint firstItem=\"adM-0u-2sv\" firstAttribute=\"leading\" secondItem=\"9a9-Ek-nRv\" secondAttribute=\"trailing\" constant=\"10\" id=\"ZIM-Gc-Nem\"/>\n                <constraint firstItem=\"cwT-8m-8Gb\" firstAttribute=\"top\" secondItem=\"adM-0u-2sv\" secondAttribute=\"bottom\" constant=\"30\" id=\"ht0-Tk-dk4\"/>\n                <constraint firstItem=\"9a9-Ek-nRv\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"10\" id=\"lKn-m2-ni1\"/>\n                <constraint firstAttribute=\"trailing\" secondItem=\"cwT-8m-8Gb\" secondAttribute=\"trailing\" constant=\"10\" id=\"qok-3N-M9q\"/>\n                <constraint firstItem=\"cwT-8m-8Gb\" firstAttribute=\"top\" secondItem=\"9a9-Ek-nRv\" secondAttribute=\"bottom\" constant=\"20\" id=\"uYP-y7-MOd\"/>\n            </constraints>\n            <variation key=\"default\">\n                <mask key=\"constraints\">\n                    <exclude reference=\"uYP-y7-MOd\"/>\n                </mask>\n            </variation>\n            <connections>\n                <outlet property=\"authorLabel\" destination=\"adM-0u-2sv\" id=\"D9e-Ri-ItP\"/>\n                <outlet property=\"avatarImageView\" destination=\"9a9-Ek-nRv\" id=\"wlf-6l-Qf5\"/>\n                <outlet property=\"detailLabel\" destination=\"cwT-8m-8Gb\" id=\"lxm-C4-l62\"/>\n                <outlet property=\"titleLabel\" destination=\"Cvz-zJ-181\" id=\"MVZ-Y8-fhF\"/>\n            </connections>\n            <point key=\"canvasLocation\" x=\"397\" y=\"291\"/>\n        </view>\n    </objects>\n    <resources>\n        <image name=\"avatar_normal.png\" width=\"24\" height=\"24\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "v2ex/View/UIViewFrame.swift",
    "content": "//\n//  UIViewFrame.swift\n//  v2ex\n//\n//  Created by liaojinxing on 14/10/17.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport Foundation\n\nextension UIView {\n    \n    func setFrameHeight(height: CGFloat) {\n        var frame = self.frame\n        frame.size.height = height\n        self.frame = frame\n    }\n    \n    func setFrameWidth(width: CGFloat) {\n        var frame = self.frame\n        frame.size.width = width\n        self.frame = frame\n    }\n    \n    func setFrameOriginX(originX: CGFloat) {\n        var frame = self.frame\n        frame.origin.x = originX\n        self.frame = frame\n    }\n    \n    func setFrameOriginY(originY: CGFloat) {\n        var frame = self.frame\n        frame.origin.y = originY\n        self.frame = frame\n    }\n}\n"
  },
  {
    "path": "v2ex.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\tC702288F19F100EB00D99C38 /* avatar_normal@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C702288E19F100EB00D99C38 /* avatar_normal@2x.png */; };\n\t\tC702289219F1041300D99C38 /* UIColorV2EX.swift in Sources */ = {isa = PBXBuildFile; fileRef = C702289119F1041300D99C38 /* UIColorV2EX.swift */; };\n\t\tC702289819F10C6B00D99C38 /* TopicDetailHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C702289719F10C6B00D99C38 /* TopicDetailHeaderView.swift */; };\n\t\tC7690AAC19EFADDA0010AF47 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C7690AAA19EFADDA0010AF47 /* Main.storyboard */; };\n\t\tC7690AAE19EFADDA0010AF47 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C7690AAD19EFADDA0010AF47 /* Images.xcassets */; };\n\t\tC7690AB119EFADDA0010AF47 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = C7690AAF19EFADDA0010AF47 /* LaunchScreen.xib */; };\n\t\tC7690ABD19EFADDA0010AF47 /* v2exTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7690ABC19EFADDA0010AF47 /* v2exTests.swift */; };\n\t\tC7690AE419EFC0AD0010AF47 /* TopicsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7690AE319EFC0AD0010AF47 /* TopicsViewController.swift */; };\n\t\tC7690AE619EFC0B40010AF47 /* TopicCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7690AE519EFC0B40010AF47 /* TopicCell.swift */; };\n\t\tC7690AEC19EFC16E0010AF47 /* APIClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7690AEB19EFC16E0010AF47 /* APIClient.swift */; };\n\t\tC7690AF919EFC70C0010AF47 /* Alamofire.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = C7690AF319EFC6760010AF47 /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };\n\t\tC7690AFE19EFCABF0010AF47 /* SwiftyJSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7690AFD19EFCABF0010AF47 /* SwiftyJSON.swift */; };\n\t\tC7690B0019EFCD1C0010AF47 /* Alamofire-SwiftyJSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7690AFF19EFCD1C0010AF47 /* Alamofire-SwiftyJSON.swift */; };\n\t\tC7690B0219EFD16E0010AF47 /* BaseTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7690B0119EFD16E0010AF47 /* BaseTableViewController.swift */; };\n\t\tC7B4295D19F4D4FC00EE94A7 /* ReplyCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7B4295B19F4D4FC00EE94A7 /* ReplyCell.swift */; };\n\t\tC7B4295E19F4D4FC00EE94A7 /* ReplyCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = C7B4295C19F4D4FC00EE94A7 /* ReplyCell.xib */; };\n\t\tC7E816FF19F0DE340056E533 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7E816FE19F0DE340056E533 /* ImageIO.framework */; };\n\t\tC7E8170419F0DF430056E533 /* libSDWebImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C7E816F919F0DDDF0056E533 /* libSDWebImage.a */; };\n\t\tC7EB864619F50D2100EA97A2 /* NodesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7EB864519F50D2100EA97A2 /* NodesViewController.swift */; };\n\t\tC7EB864819F510C000EA97A2 /* NodeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7EB864719F510C000EA97A2 /* NodeCell.swift */; };\n\t\tC7EB864A19F603FD00EA97A2 /* nodes@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C7EB864919F603FD00EA97A2 /* nodes@2x.png */; };\n\t\tC7EB864C19F638A600EA97A2 /* AppContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7EB864B19F638A600EA97A2 /* AppContext.swift */; };\n\t\tC7EB864F19F6803A00EA97A2 /* TopicDetailHeaderView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C7EB864D19F6803A00EA97A2 /* TopicDetailHeaderView.xib */; };\n\t\tC7EB865019F6803A00EA97A2 /* UIViewFrame.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7EB864E19F6803A00EA97A2 /* UIViewFrame.swift */; };\n\t\tC7EB865219F6804600EA97A2 /* TopicDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7EB865119F6804600EA97A2 /* TopicDetailViewController.swift */; };\n\t\tC7EB865419F6805900EA97A2 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7EB865319F6805900EA97A2 /* AppDelegate.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\tC7690AB719EFADDA0010AF47 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7690A9919EFADDA0010AF47 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = C7690AA019EFADDA0010AF47;\n\t\t\tremoteInfo = v2ex;\n\t\t};\n\t\tC7690AF219EFC6760010AF47 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7690AED19EFC6760010AF47 /* Alamofire.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = F8111E3319A95C8B0040E7D1;\n\t\t\tremoteInfo = Alamofire;\n\t\t};\n\t\tC7690AF419EFC6760010AF47 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7690AED19EFC6760010AF47 /* Alamofire.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = F8111E3E19A95C8B0040E7D1;\n\t\t\tremoteInfo = AlamofireTests;\n\t\t};\n\t\tC7690AF619EFC6A40010AF47 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7690AED19EFC6760010AF47 /* Alamofire.xcodeproj */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = F8111E3219A95C8B0040E7D1;\n\t\t\tremoteInfo = Alamofire;\n\t\t};\n\t\tC7E816F819F0DDDF0056E533 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7E816F019F0DDDF0056E533 /* SDWebImage.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 53761325155AD0D5005750A4;\n\t\t\tremoteInfo = SDWebImage;\n\t\t};\n\t\tC7E816FA19F0DDDF0056E533 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7E816F019F0DDDF0056E533 /* SDWebImage.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 537D95C117ECC1FE0097C263;\n\t\t\tremoteInfo = \"SDWebImage+WebP\";\n\t\t};\n\t\tC7E816FC19F0DDDF0056E533 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7E816F019F0DDDF0056E533 /* SDWebImage.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = 531041E0157EAFA400BBABC3;\n\t\t\tremoteInfo = \"SDWebImage+MKAnnotation\";\n\t\t};\n\t\tC7E8170519F0DF4A0056E533 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = C7E816F019F0DDDF0056E533 /* SDWebImage.xcodeproj */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 53761307155AD0D5005750A4;\n\t\t\tremoteInfo = SDWebImage;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXCopyFilesBuildPhase section */\n\t\tC7690AF819EFC6E40010AF47 /* Copy Frameworks */ = {\n\t\t\tisa = PBXCopyFilesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tdstPath = \"\";\n\t\t\tdstSubfolderSpec = 10;\n\t\t\tfiles = (\n\t\t\t\tC7690AF919EFC70C0010AF47 /* Alamofire.framework in Copy Frameworks */,\n\t\t\t);\n\t\t\tname = \"Copy Frameworks\";\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXCopyFilesBuildPhase section */\n\n/* Begin PBXFileReference section */\n\t\tC702288E19F100EB00D99C38 /* avatar_normal@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = \"avatar_normal@2x.png\"; sourceTree = \"<group>\"; };\n\t\tC702289119F1041300D99C38 /* UIColorV2EX.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = UIColorV2EX.swift; path = Skin/UIColorV2EX.swift; sourceTree = \"<group>\"; };\n\t\tC702289719F10C6B00D99C38 /* TopicDetailHeaderView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TopicDetailHeaderView.swift; path = View/TopicDetailHeaderView.swift; sourceTree = \"<group>\"; };\n\t\tC7690AA119EFADDA0010AF47 /* v2ex.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = v2ex.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tC7690AA519EFADDA0010AF47 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tC7690AAB19EFADDA0010AF47 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\tC7690AAD19EFADDA0010AF47 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\tC7690AB019EFADDA0010AF47 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\tC7690AB619EFADDA0010AF47 /* v2exTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = v2exTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tC7690ABB19EFADDA0010AF47 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tC7690ABC19EFADDA0010AF47 /* v2exTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = v2exTests.swift; sourceTree = \"<group>\"; };\n\t\tC7690AE319EFC0AD0010AF47 /* TopicsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TopicsViewController.swift; path = Controller/TopicsViewController.swift; sourceTree = \"<group>\"; };\n\t\tC7690AE519EFC0B40010AF47 /* TopicCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TopicCell.swift; path = View/TopicCell.swift; sourceTree = \"<group>\"; };\n\t\tC7690AEB19EFC16E0010AF47 /* APIClient.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = APIClient.swift; path = API/APIClient.swift; sourceTree = \"<group>\"; };\n\t\tC7690AED19EFC6760010AF47 /* Alamofire.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = Alamofire.xcodeproj; path = Alamofire/Alamofire.xcodeproj; sourceTree = \"<group>\"; };\n\t\tC7690AFD19EFCABF0010AF47 /* SwiftyJSON.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SwiftyJSON.swift; sourceTree = \"<group>\"; };\n\t\tC7690AFF19EFCD1C0010AF47 /* Alamofire-SwiftyJSON.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = \"Alamofire-SwiftyJSON.swift\"; sourceTree = \"<group>\"; };\n\t\tC7690B0119EFD16E0010AF47 /* BaseTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = BaseTableViewController.swift; path = Controller/BaseTableViewController.swift; sourceTree = \"<group>\"; };\n\t\tC7B4295B19F4D4FC00EE94A7 /* ReplyCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ReplyCell.swift; path = View/ReplyCell.swift; sourceTree = \"<group>\"; };\n\t\tC7B4295C19F4D4FC00EE94A7 /* ReplyCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = ReplyCell.xib; path = View/ReplyCell.xib; sourceTree = \"<group>\"; };\n\t\tC7E816F019F0DDDF0056E533 /* SDWebImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = SDWebImage.xcodeproj; path = SDWebImage/SDWebImage.xcodeproj; sourceTree = \"<group>\"; };\n\t\tC7E816FE19F0DE340056E533 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; };\n\t\tC7EB864519F50D2100EA97A2 /* NodesViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = NodesViewController.swift; path = Controller/NodesViewController.swift; sourceTree = \"<group>\"; };\n\t\tC7EB864719F510C000EA97A2 /* NodeCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = NodeCell.swift; path = View/NodeCell.swift; sourceTree = \"<group>\"; };\n\t\tC7EB864919F603FD00EA97A2 /* nodes@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = \"nodes@2x.png\"; sourceTree = \"<group>\"; };\n\t\tC7EB864B19F638A600EA97A2 /* AppContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppContext.swift; path = App/AppContext.swift; sourceTree = \"<group>\"; };\n\t\tC7EB864D19F6803A00EA97A2 /* TopicDetailHeaderView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = TopicDetailHeaderView.xib; path = View/TopicDetailHeaderView.xib; sourceTree = \"<group>\"; };\n\t\tC7EB864E19F6803A00EA97A2 /* UIViewFrame.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = UIViewFrame.swift; path = View/UIViewFrame.swift; sourceTree = \"<group>\"; };\n\t\tC7EB865119F6804600EA97A2 /* TopicDetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TopicDetailViewController.swift; path = Controller/TopicDetailViewController.swift; sourceTree = \"<group>\"; };\n\t\tC7EB865319F6805900EA97A2 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = App/AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\tC7EB865519F6807E00EA97A2 /* v2ex-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"v2ex-Bridging-Header.h\"; path = \"App/v2ex-Bridging-Header.h\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\tC7690A9E19EFADDA0010AF47 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tC7E8170419F0DF430056E533 /* libSDWebImage.a in Frameworks */,\n\t\t\t\tC7E816FF19F0DE340056E533 /* ImageIO.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tC7690AB319EFADDA0010AF47 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\tC702288819F1000E00D99C38 /* Resource */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC702288D19F100EB00D99C38 /* images */,\n\t\t\t);\n\t\t\tname = Resource;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC702288D19F100EB00D99C38 /* images */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7EB864919F603FD00EA97A2 /* nodes@2x.png */,\n\t\t\t\tC702288E19F100EB00D99C38 /* avatar_normal@2x.png */,\n\t\t\t);\n\t\t\tname = images;\n\t\t\tpath = Resource/images;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690A9819EFADDA0010AF47 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7E816FE19F0DE340056E533 /* ImageIO.framework */,\n\t\t\t\tC7E816F019F0DDDF0056E533 /* SDWebImage.xcodeproj */,\n\t\t\t\tC7690AA319EFADDA0010AF47 /* v2ex */,\n\t\t\t\tC7690AB919EFADDA0010AF47 /* v2exTests */,\n\t\t\t\tC7690AA219EFADDA0010AF47 /* Products */,\n\t\t\t\tC7690AED19EFC6760010AF47 /* Alamofire.xcodeproj */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AA219EFADDA0010AF47 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AA119EFADDA0010AF47 /* v2ex.app */,\n\t\t\t\tC7690AB619EFADDA0010AF47 /* v2exTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AA319EFADDA0010AF47 /* v2ex */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC702288819F1000E00D99C38 /* Resource */,\n\t\t\t\tC7690AFB19EFCABF0010AF47 /* ThirdParty */,\n\t\t\t\tC7690AD719EFBE490010AF47 /* API */,\n\t\t\t\tC7690AD619EFBDE50010AF47 /* App */,\n\t\t\t\tC7690AD519EFBDE10010AF47 /* Model */,\n\t\t\t\tC7690AD419EFBDDD0010AF47 /* View */,\n\t\t\t\tC7690AD319EFBDD70010AF47 /* Controller */,\n\t\t\t\tC7690AD219EFBDD00010AF47 /* Skin */,\n\t\t\t\tC7690AAA19EFADDA0010AF47 /* Main.storyboard */,\n\t\t\t\tC7690AAD19EFADDA0010AF47 /* Images.xcassets */,\n\t\t\t\tC7690AAF19EFADDA0010AF47 /* LaunchScreen.xib */,\n\t\t\t\tC7690AA419EFADDA0010AF47 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = v2ex;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AA419EFADDA0010AF47 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AA519EFADDA0010AF47 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AB919EFADDA0010AF47 /* v2exTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690ABC19EFADDA0010AF47 /* v2exTests.swift */,\n\t\t\t\tC7690ABA19EFADDA0010AF47 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = v2exTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690ABA19EFADDA0010AF47 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690ABB19EFADDA0010AF47 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AD219EFBDD00010AF47 /* Skin */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC702289119F1041300D99C38 /* UIColorV2EX.swift */,\n\t\t\t);\n\t\t\tname = Skin;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AD319EFBDD70010AF47 /* Controller */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7EB865119F6804600EA97A2 /* TopicDetailViewController.swift */,\n\t\t\t\tC7690AE319EFC0AD0010AF47 /* TopicsViewController.swift */,\n\t\t\t\tC7690B0119EFD16E0010AF47 /* BaseTableViewController.swift */,\n\t\t\t\tC7EB864519F50D2100EA97A2 /* NodesViewController.swift */,\n\t\t\t);\n\t\t\tname = Controller;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AD419EFBDDD0010AF47 /* View */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7EB864D19F6803A00EA97A2 /* TopicDetailHeaderView.xib */,\n\t\t\t\tC7EB864E19F6803A00EA97A2 /* UIViewFrame.swift */,\n\t\t\t\tC7690AE519EFC0B40010AF47 /* TopicCell.swift */,\n\t\t\t\tC702289719F10C6B00D99C38 /* TopicDetailHeaderView.swift */,\n\t\t\t\tC7B4295B19F4D4FC00EE94A7 /* ReplyCell.swift */,\n\t\t\t\tC7B4295C19F4D4FC00EE94A7 /* ReplyCell.xib */,\n\t\t\t\tC7EB864719F510C000EA97A2 /* NodeCell.swift */,\n\t\t\t);\n\t\t\tname = View;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AD519EFBDE10010AF47 /* Model */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t);\n\t\t\tname = Model;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AD619EFBDE50010AF47 /* App */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7EB865519F6807E00EA97A2 /* v2ex-Bridging-Header.h */,\n\t\t\t\tC7EB865319F6805900EA97A2 /* AppDelegate.swift */,\n\t\t\t\tC7EB864B19F638A600EA97A2 /* AppContext.swift */,\n\t\t\t);\n\t\t\tname = App;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AD719EFBE490010AF47 /* API */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AEB19EFC16E0010AF47 /* APIClient.swift */,\n\t\t\t);\n\t\t\tname = API;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AEE19EFC6760010AF47 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AF319EFC6760010AF47 /* Alamofire.framework */,\n\t\t\t\tC7690AF519EFC6760010AF47 /* AlamofireTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AFB19EFCABF0010AF47 /* ThirdParty */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AFC19EFCABF0010AF47 /* SwiftyJSON */,\n\t\t\t);\n\t\t\tpath = ThirdParty;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AFC19EFCABF0010AF47 /* SwiftyJSON */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AFF19EFCD1C0010AF47 /* Alamofire-SwiftyJSON.swift */,\n\t\t\t\tC7690AFD19EFCABF0010AF47 /* SwiftyJSON.swift */,\n\t\t\t);\n\t\t\tpath = SwiftyJSON;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7E816F119F0DDDF0056E533 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tC7E816F919F0DDDF0056E533 /* libSDWebImage.a */,\n\t\t\t\tC7E816FB19F0DDDF0056E533 /* libSDWebImage+WebP.a */,\n\t\t\t\tC7E816FD19F0DDDF0056E533 /* libSDWebImage+MKAnnotation.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\tC7690AA019EFADDA0010AF47 /* v2ex */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = C7690AC019EFADDA0010AF47 /* Build configuration list for PBXNativeTarget \"v2ex\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tC7690A9D19EFADDA0010AF47 /* Sources */,\n\t\t\t\tC7690A9E19EFADDA0010AF47 /* Frameworks */,\n\t\t\t\tC7690A9F19EFADDA0010AF47 /* Resources */,\n\t\t\t\tC7690AF819EFC6E40010AF47 /* Copy Frameworks */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\tC7E8170619F0DF4A0056E533 /* PBXTargetDependency */,\n\t\t\t\tC7690AF719EFC6A40010AF47 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = v2ex;\n\t\t\tproductName = v2ex;\n\t\t\tproductReference = C7690AA119EFADDA0010AF47 /* v2ex.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\tC7690AB519EFADDA0010AF47 /* v2exTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = C7690AC319EFADDA0010AF47 /* Build configuration list for PBXNativeTarget \"v2exTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tC7690AB219EFADDA0010AF47 /* Sources */,\n\t\t\t\tC7690AB319EFADDA0010AF47 /* Frameworks */,\n\t\t\t\tC7690AB419EFADDA0010AF47 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\tC7690AB819EFADDA0010AF47 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = v2exTests;\n\t\t\tproductName = v2exTests;\n\t\t\tproductReference = C7690AB619EFADDA0010AF47 /* v2exTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tC7690A9919EFADDA0010AF47 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0600;\n\t\t\t\tORGANIZATIONNAME = jinxing;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\tC7690AA019EFADDA0010AF47 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.0.1;\n\t\t\t\t\t\tDevelopmentTeam = 8CMA73KN4U;\n\t\t\t\t\t};\n\t\t\t\t\tC7690AB519EFADDA0010AF47 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.0.1;\n\t\t\t\t\t\tTestTargetID = C7690AA019EFADDA0010AF47;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = C7690A9C19EFADDA0010AF47 /* Build configuration list for PBXProject \"v2ex\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = C7690A9819EFADDA0010AF47;\n\t\t\tproductRefGroup = C7690AA219EFADDA0010AF47 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectReferences = (\n\t\t\t\t{\n\t\t\t\t\tProductGroup = C7690AEE19EFC6760010AF47 /* Products */;\n\t\t\t\t\tProjectRef = C7690AED19EFC6760010AF47 /* Alamofire.xcodeproj */;\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tProductGroup = C7E816F119F0DDDF0056E533 /* Products */;\n\t\t\t\t\tProjectRef = C7E816F019F0DDDF0056E533 /* SDWebImage.xcodeproj */;\n\t\t\t\t},\n\t\t\t);\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tC7690AA019EFADDA0010AF47 /* v2ex */,\n\t\t\t\tC7690AB519EFADDA0010AF47 /* v2exTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXReferenceProxy section */\n\t\tC7690AF319EFC6760010AF47 /* Alamofire.framework */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = wrapper.framework;\n\t\t\tpath = Alamofire.framework;\n\t\t\tremoteRef = C7690AF219EFC6760010AF47 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\tC7690AF519EFC6760010AF47 /* AlamofireTests.xctest */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = wrapper.cfbundle;\n\t\t\tpath = AlamofireTests.xctest;\n\t\t\tremoteRef = C7690AF419EFC6760010AF47 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\tC7E816F919F0DDDF0056E533 /* libSDWebImage.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = libSDWebImage.a;\n\t\t\tremoteRef = C7E816F819F0DDDF0056E533 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\tC7E816FB19F0DDDF0056E533 /* libSDWebImage+WebP.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = \"libSDWebImage+WebP.a\";\n\t\t\tremoteRef = C7E816FA19F0DDDF0056E533 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\tC7E816FD19F0DDDF0056E533 /* libSDWebImage+MKAnnotation.a */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = archive.ar;\n\t\t\tpath = \"libSDWebImage+MKAnnotation.a\";\n\t\t\tremoteRef = C7E816FC19F0DDDF0056E533 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n/* End PBXReferenceProxy section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\tC7690A9F19EFADDA0010AF47 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tC702288F19F100EB00D99C38 /* avatar_normal@2x.png in Resources */,\n\t\t\t\tC7690AAC19EFADDA0010AF47 /* Main.storyboard in Resources */,\n\t\t\t\tC7B4295E19F4D4FC00EE94A7 /* ReplyCell.xib in Resources */,\n\t\t\t\tC7EB864F19F6803A00EA97A2 /* TopicDetailHeaderView.xib in Resources */,\n\t\t\t\tC7EB864A19F603FD00EA97A2 /* nodes@2x.png in Resources */,\n\t\t\t\tC7690AB119EFADDA0010AF47 /* LaunchScreen.xib in Resources */,\n\t\t\t\tC7690AAE19EFADDA0010AF47 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tC7690AB419EFADDA0010AF47 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\tC7690A9D19EFADDA0010AF47 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tC7EB865019F6803A00EA97A2 /* UIViewFrame.swift in Sources */,\n\t\t\t\tC7690AE419EFC0AD0010AF47 /* TopicsViewController.swift in Sources */,\n\t\t\t\tC7EB864C19F638A600EA97A2 /* AppContext.swift in Sources */,\n\t\t\t\tC7EB865419F6805900EA97A2 /* AppDelegate.swift in Sources */,\n\t\t\t\tC7B4295D19F4D4FC00EE94A7 /* ReplyCell.swift in Sources */,\n\t\t\t\tC7690AE619EFC0B40010AF47 /* TopicCell.swift in Sources */,\n\t\t\t\tC7690AEC19EFC16E0010AF47 /* APIClient.swift in Sources */,\n\t\t\t\tC7EB864819F510C000EA97A2 /* NodeCell.swift in Sources */,\n\t\t\t\tC7690B0219EFD16E0010AF47 /* BaseTableViewController.swift in Sources */,\n\t\t\t\tC7EB864619F50D2100EA97A2 /* NodesViewController.swift in Sources */,\n\t\t\t\tC7690AFE19EFCABF0010AF47 /* SwiftyJSON.swift in Sources */,\n\t\t\t\tC7690B0019EFCD1C0010AF47 /* Alamofire-SwiftyJSON.swift in Sources */,\n\t\t\t\tC7EB865219F6804600EA97A2 /* TopicDetailViewController.swift in Sources */,\n\t\t\t\tC702289219F1041300D99C38 /* UIColorV2EX.swift in Sources */,\n\t\t\t\tC702289819F10C6B00D99C38 /* TopicDetailHeaderView.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tC7690AB219EFADDA0010AF47 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tC7690ABD19EFADDA0010AF47 /* v2exTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\tC7690AB819EFADDA0010AF47 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = C7690AA019EFADDA0010AF47 /* v2ex */;\n\t\t\ttargetProxy = C7690AB719EFADDA0010AF47 /* PBXContainerItemProxy */;\n\t\t};\n\t\tC7690AF719EFC6A40010AF47 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = Alamofire;\n\t\t\ttargetProxy = C7690AF619EFC6A40010AF47 /* PBXContainerItemProxy */;\n\t\t};\n\t\tC7E8170619F0DF4A0056E533 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = SDWebImage;\n\t\t\ttargetProxy = C7E8170519F0DF4A0056E533 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\tC7690AAA19EFADDA0010AF47 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AAB19EFADDA0010AF47 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC7690AAF19EFADDA0010AF47 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tC7690AB019EFADDA0010AF47 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\tC7690ABE19EFADDA0010AF47 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tC7690ABF19EFADDA0010AF47 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tC7690AC119EFADDA0010AF47 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer: Liao Jinxing (WFC59XXUQC)\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer: Liao Jinxing (WFC59XXUQC)\";\n\t\t\t\tINFOPLIST_FILE = v2ex/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"v2ex/App/v2ex-Bridging-Header.h\";\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tC7690AC219EFADDA0010AF47 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Distribution: Liao Jinxing (8CMA73KN4U)\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Distribution: Liao Jinxing (8CMA73KN4U)\";\n\t\t\t\tINFOPLIST_FILE = v2ex/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tOTHER_LDFLAGS = \"-ObjC\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"v2ex/App/v2ex-Bridging-Header.h\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tC7690AC419EFADDA0010AF47 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = v2exTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/v2ex.app/v2ex\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tC7690AC519EFADDA0010AF47 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = v2exTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/v2ex.app/v2ex\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\tC7690A9C19EFADDA0010AF47 /* Build configuration list for PBXProject \"v2ex\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tC7690ABE19EFADDA0010AF47 /* Debug */,\n\t\t\t\tC7690ABF19EFADDA0010AF47 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tC7690AC019EFADDA0010AF47 /* Build configuration list for PBXNativeTarget \"v2ex\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tC7690AC119EFADDA0010AF47 /* Debug */,\n\t\t\t\tC7690AC219EFADDA0010AF47 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tC7690AC319EFADDA0010AF47 /* Build configuration list for PBXNativeTarget \"v2exTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tC7690AC419EFADDA0010AF47 /* Debug */,\n\t\t\t\tC7690AC519EFADDA0010AF47 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = C7690A9919EFADDA0010AF47 /* Project object */;\n}\n"
  },
  {
    "path": "v2exTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>com.jinxing.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "v2exTests/v2exTests.swift",
    "content": "//\n//  v2exTests.swift\n//  v2exTests\n//\n//  Created by liaojinxing on 14-10-16.\n//  Copyright (c) 2014年 jinxing. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass v2exTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measureBlock() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  }
]