Commit 262a84eb129e82649e7f437c6ebd176c2837fa54

Authored by cnlive
1 parent f18f44c7

搭建基础框架

Showing 28 changed files with 4498 additions and 0 deletions

Too many changes to show.

To preserve performance only 28 of 225 files are displayed.

LiveVideoCloud/LiveVideoCloud.xcodeproj/project.pbxproj 0 → 100644
  1 +// !$*UTF8*$!
  2 +{
  3 + archiveVersion = 1;
  4 + classes = {
  5 + };
  6 + objectVersion = 46;
  7 + objects = {
  8 +
  9 +/* Begin PBXBuildFile section */
  10 + D2029B861E6EAAA50027CD92 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029B851E6EAAA50027CD92 /* main.m */; };
  11 + D2029B8C1E6EAAA50027CD92 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029B8B1E6EAAA50027CD92 /* ViewController.m */; };
  12 + D2029B8F1E6EAAA50027CD92 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2029B8D1E6EAAA50027CD92 /* Main.storyboard */; };
  13 + D2029B911E6EAAA50027CD92 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2029B901E6EAAA50027CD92 /* Assets.xcassets */; };
  14 + D2029B941E6EAAA50027CD92 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2029B921E6EAAA50027CD92 /* LaunchScreen.storyboard */; };
  15 + D2029B9F1E6EAAA50027CD92 /* LiveVideoCloudTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029B9E1E6EAAA50027CD92 /* LiveVideoCloudTests.m */; };
  16 + D2029BAA1E6EAAA50027CD92 /* LiveVideoCloudUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BA91E6EAAA50027CD92 /* LiveVideoCloudUITests.m */; };
  17 + D2029BCA1E6EADD70027CD92 /* BaseModel.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BBE1E6EADD70027CD92 /* BaseModel.m */; };
  18 + D2029BCB1E6EADD70027CD92 /* BaseTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BC01E6EADD70027CD92 /* BaseTableViewCell.m */; };
  19 + D2029BCC1E6EADD70027CD92 /* BaseView.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BC21E6EADD70027CD92 /* BaseView.m */; };
  20 + D2029BCD1E6EADD70027CD92 /* BaseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BC41E6EADD70027CD92 /* BaseViewController.m */; };
  21 + D2029BCE1E6EADD70027CD92 /* ZXNavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BC71E6EADD70027CD92 /* ZXNavigationController.m */; };
  22 + D2029BCF1E6EADD70027CD92 /* ZXTabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BC91E6EADD70027CD92 /* ZXTabBarController.m */; };
  23 + D2029C861E6EADE10027CD92 /* Tools.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BD31E6EADE10027CD92 /* Tools.m */; };
  24 + D2029C871E6EADE10027CD92 /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BD71E6EADE10027CD92 /* AFHTTPSessionManager.m */; };
  25 + D2029C881E6EADE10027CD92 /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BDA1E6EADE10027CD92 /* AFNetworkReachabilityManager.m */; };
  26 + D2029C891E6EADE10027CD92 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BDC1E6EADE10027CD92 /* AFSecurityPolicy.m */; };
  27 + D2029C8A1E6EADE10027CD92 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BDE1E6EADE10027CD92 /* AFURLRequestSerialization.m */; };
  28 + D2029C8B1E6EADE10027CD92 /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BE01E6EADE10027CD92 /* AFURLResponseSerialization.m */; };
  29 + D2029C8C1E6EADE10027CD92 /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BE21E6EADE10027CD92 /* AFURLSessionManager.m */; };
  30 + D2029C8D1E6EADE10027CD92 /* AFAutoPurgingImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BE51E6EADE10027CD92 /* AFAutoPurgingImageCache.m */; };
  31 + D2029C8E1E6EADE10027CD92 /* AFImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BE71E6EADE10027CD92 /* AFImageDownloader.m */; };
  32 + D2029C8F1E6EADE10027CD92 /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BE91E6EADE10027CD92 /* AFNetworkActivityIndicatorManager.m */; };
  33 + D2029C901E6EADE10027CD92 /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BEB1E6EADE10027CD92 /* UIActivityIndicatorView+AFNetworking.m */; };
  34 + D2029C911E6EADE10027CD92 /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BED1E6EADE10027CD92 /* UIButton+AFNetworking.m */; };
  35 + D2029C921E6EADE10027CD92 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BF01E6EADE10027CD92 /* UIImageView+AFNetworking.m */; };
  36 + D2029C931E6EADE10027CD92 /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BF31E6EADE10027CD92 /* UIProgressView+AFNetworking.m */; };
  37 + D2029C941E6EADE10027CD92 /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BF51E6EADE10027CD92 /* UIRefreshControl+AFNetworking.m */; };
  38 + D2029C951E6EADE10027CD92 /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BF71E6EADE10027CD92 /* UIWebView+AFNetworking.m */; };
  39 + D2029C961E6EADE10027CD92 /* MBProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BFA1E6EADE10027CD92 /* MBProgressHUD.m */; };
  40 + D2029C971E6EADE10027CD92 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D2029BFC1E6EADE10027CD92 /* Info.plist */; };
  41 + D2029C981E6EADE10027CD92 /* MJExtensionConst.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029BFF1E6EADE10027CD92 /* MJExtensionConst.m */; };
  42 + D2029C991E6EADE10027CD92 /* MJFoundation.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C011E6EADE10027CD92 /* MJFoundation.m */; };
  43 + D2029C9A1E6EADE10027CD92 /* MJProperty.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C031E6EADE10027CD92 /* MJProperty.m */; };
  44 + D2029C9B1E6EADE10027CD92 /* MJPropertyKey.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C051E6EADE10027CD92 /* MJPropertyKey.m */; };
  45 + D2029C9C1E6EADE10027CD92 /* MJPropertyType.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C071E6EADE10027CD92 /* MJPropertyType.m */; };
  46 + D2029C9D1E6EADE10027CD92 /* NSObject+MJClass.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C091E6EADE10027CD92 /* NSObject+MJClass.m */; };
  47 + D2029C9E1E6EADE10027CD92 /* NSObject+MJCoding.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C0B1E6EADE10027CD92 /* NSObject+MJCoding.m */; };
  48 + D2029C9F1E6EADE10027CD92 /* NSObject+MJKeyValue.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C0D1E6EADE10027CD92 /* NSObject+MJKeyValue.m */; };
  49 + D2029CA01E6EADE10027CD92 /* NSObject+MJProperty.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C0F1E6EADE10027CD92 /* NSObject+MJProperty.m */; };
  50 + D2029CA11E6EADE10027CD92 /* NSString+MJExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C111E6EADE10027CD92 /* NSString+MJExtension.m */; };
  51 + D2029CA21E6EADE10027CD92 /* MJRefreshAutoFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C151E6EADE10027CD92 /* MJRefreshAutoFooter.m */; };
  52 + D2029CA31E6EADE10027CD92 /* MJRefreshBackFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C171E6EADE10027CD92 /* MJRefreshBackFooter.m */; };
  53 + D2029CA41E6EADE10027CD92 /* MJRefreshComponent.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C191E6EADE10027CD92 /* MJRefreshComponent.m */; };
  54 + D2029CA51E6EADE10027CD92 /* MJRefreshFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C1B1E6EADE10027CD92 /* MJRefreshFooter.m */; };
  55 + D2029CA61E6EADE10027CD92 /* MJRefreshHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C1D1E6EADE10027CD92 /* MJRefreshHeader.m */; };
  56 + D2029CA71E6EADE10027CD92 /* MJRefreshAutoGifFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C221E6EADE10027CD92 /* MJRefreshAutoGifFooter.m */; };
  57 + D2029CA81E6EADE10027CD92 /* MJRefreshAutoNormalFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C241E6EADE10027CD92 /* MJRefreshAutoNormalFooter.m */; };
  58 + D2029CA91E6EADE10027CD92 /* MJRefreshAutoStateFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C261E6EADE10027CD92 /* MJRefreshAutoStateFooter.m */; };
  59 + D2029CAA1E6EADE10027CD92 /* MJRefreshBackGifFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C291E6EADE10027CD92 /* MJRefreshBackGifFooter.m */; };
  60 + D2029CAB1E6EADE10027CD92 /* MJRefreshBackNormalFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C2B1E6EADE10027CD92 /* MJRefreshBackNormalFooter.m */; };
  61 + D2029CAC1E6EADE10027CD92 /* MJRefreshBackStateFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C2D1E6EADE10027CD92 /* MJRefreshBackStateFooter.m */; };
  62 + D2029CAD1E6EADE10027CD92 /* MJRefreshGifHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C301E6EADE10027CD92 /* MJRefreshGifHeader.m */; };
  63 + D2029CAE1E6EADE10027CD92 /* MJRefreshNormalHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C321E6EADE10027CD92 /* MJRefreshNormalHeader.m */; };
  64 + D2029CAF1E6EADE10027CD92 /* MJRefreshStateHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C341E6EADE10027CD92 /* MJRefreshStateHeader.m */; };
  65 + D2029CB01E6EADE10027CD92 /* MJRefresh.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D2029C351E6EADE10027CD92 /* MJRefresh.bundle */; };
  66 + D2029CB11E6EADE10027CD92 /* MJRefreshConst.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C381E6EADE10027CD92 /* MJRefreshConst.m */; };
  67 + D2029CB21E6EADE10027CD92 /* UIScrollView+MJExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C3A1E6EADE10027CD92 /* UIScrollView+MJExtension.m */; };
  68 + D2029CB31E6EADE10027CD92 /* UIScrollView+MJRefresh.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C3C1E6EADE10027CD92 /* UIScrollView+MJRefresh.m */; };
  69 + D2029CB41E6EADE10027CD92 /* UIView+MJExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C3E1E6EADE10027CD92 /* UIView+MJExtension.m */; };
  70 + D2029CB51E6EADE10027CD92 /* SDiOSVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C421E6EADE10027CD92 /* SDiOSVersion.m */; };
  71 + D2029CB61E6EADE10027CD92 /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C461E6EADE10027CD92 /* MKAnnotationView+WebCache.m */; };
  72 + D2029CB71E6EADE10027CD92 /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C481E6EADE10027CD92 /* NSData+ImageContentType.m */; };
  73 + D2029CB81E6EADE10027CD92 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C4A1E6EADE10027CD92 /* SDImageCache.m */; };
  74 + D2029CB91E6EADE10027CD92 /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C4C1E6EADE10027CD92 /* SDWebImageCompat.m */; };
  75 + D2029CBA1E6EADE10027CD92 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C4E1E6EADE10027CD92 /* SDWebImageDecoder.m */; };
  76 + D2029CBB1E6EADE10027CD92 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C501E6EADE10027CD92 /* SDWebImageDownloader.m */; };
  77 + D2029CBC1E6EADE10027CD92 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C521E6EADE10027CD92 /* SDWebImageDownloaderOperation.m */; };
  78 + D2029CBD1E6EADE10027CD92 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C541E6EADE10027CD92 /* SDWebImageManager.m */; };
  79 + D2029CBE1E6EADE10027CD92 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C571E6EADE10027CD92 /* SDWebImagePrefetcher.m */; };
  80 + D2029CBF1E6EADE10027CD92 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C591E6EADE10027CD92 /* UIButton+WebCache.m */; };
  81 + D2029CC01E6EADE10027CD92 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C5B1E6EADE10027CD92 /* UIImage+GIF.m */; };
  82 + D2029CC11E6EADE10027CD92 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C5D1E6EADE10027CD92 /* UIImage+MultiFormat.m */; };
  83 + D2029CC21E6EADE10027CD92 /* UIImage+WebP.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C5F1E6EADE10027CD92 /* UIImage+WebP.m */; };
  84 + D2029CC31E6EADE10027CD92 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C611E6EADE10027CD92 /* UIImageView+HighlightedWebCache.m */; };
  85 + D2029CC41E6EADE10027CD92 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C631E6EADE10027CD92 /* UIImageView+WebCache.m */; };
  86 + D2029CC51E6EADE10027CD92 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C651E6EADE10027CD92 /* UIView+WebCacheOperation.m */; };
  87 + D2029CC61E6EADE10027CD92 /* SSKeychain.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C681E6EADE10027CD92 /* SSKeychain.m */; };
  88 + D2029CC71E6EADE10027CD92 /* SVIndefiniteAnimatedView.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C6B1E6EADE10027CD92 /* SVIndefiniteAnimatedView.m */; };
  89 + D2029CC81E6EADE10027CD92 /* SVProgressAnimatedView.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C6D1E6EADE10027CD92 /* SVProgressAnimatedView.m */; };
  90 + D2029CC91E6EADE10027CD92 /* SVProgressHUD.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D2029C6F1E6EADE10027CD92 /* SVProgressHUD.bundle */; };
  91 + D2029CCA1E6EADE10027CD92 /* SVProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C711E6EADE10027CD92 /* SVProgressHUD.m */; };
  92 + D2029CCB1E6EADE10027CD92 /* SVRadialGradientLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C731E6EADE10027CD92 /* SVRadialGradientLayer.m */; };
  93 + D2029CCC1E6EADE10027CD92 /* HomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C791E6EADE10027CD92 /* HomeViewController.m */; };
  94 + D2029CCD1E6EADE10027CD92 /* SearchModel.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C7C1E6EADE10027CD92 /* SearchModel.m */; };
  95 + D2029CCE1E6EADE10027CD92 /* SearchRecomListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C7E1E6EADE10027CD92 /* SearchRecomListModel.m */; };
  96 + D2029CCF1E6EADE10027CD92 /* SearchHttp.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C821E6EADE10027CD92 /* SearchHttp.m */; };
  97 + D2029CD01E6EADE10027CD92 /* SearchPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029C841E6EADE10027CD92 /* SearchPresenter.m */; };
  98 + D2029CD41E6EADE70027CD92 /* HttpService.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CD31E6EADE70027CD92 /* HttpService.m */; };
  99 + D2029D001E6EAE2E0027CD92 /* NSNumber+ScaleHeight.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CDF1E6EAE2E0027CD92 /* NSNumber+ScaleHeight.m */; };
  100 + D2029D011E6EAE2E0027CD92 /* UIColor+HexString.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CE11E6EAE2E0027CD92 /* UIColor+HexString.m */; };
  101 + D2029D021E6EAE2E0027CD92 /* UIImage+ScaleImageSize.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CE31E6EAE2E0027CD92 /* UIImage+ScaleImageSize.m */; };
  102 + D2029D031E6EAE2E0027CD92 /* UIImage+ZXExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CE51E6EAE2E0027CD92 /* UIImage+ZXExtension.m */; };
  103 + D2029D041E6EAE2E0027CD92 /* UILabel+ContentSize.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CE71E6EAE2E0027CD92 /* UILabel+ContentSize.m */; };
  104 + D2029D051E6EAE2E0027CD92 /* UILabel+labelFitSize.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CE91E6EAE2E0027CD92 /* UILabel+labelFitSize.m */; };
  105 + D2029D061E6EAE2E0027CD92 /* UIView+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CEB1E6EAE2E0027CD92 /* UIView+Extension.m */; };
  106 + D2029D071E6EAE2E0027CD92 /* ZXConst.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CEE1E6EAE2E0027CD92 /* ZXConst.m */; };
  107 + D2029D081E6EAE2E0027CD92 /* ZXDeviceInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CF11E6EAE2E0027CD92 /* ZXDeviceInfo.m */; };
  108 + D2029D091E6EAE2E0027CD92 /* Foundation+Log.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CF21E6EAE2E0027CD92 /* Foundation+Log.m */; };
  109 + D2029D0A1E6EAE2E0027CD92 /* ZXServerUrl.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029CFE1E6EAE2E0027CD92 /* ZXServerUrl.m */; };
  110 + D2029D161E6EB00D0027CD92 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2029D151E6EB00D0027CD92 /* AppDelegate.m */; };
  111 +/* End PBXBuildFile section */
  112 +
  113 +/* Begin PBXContainerItemProxy section */
  114 + D2029B9B1E6EAAA50027CD92 /* PBXContainerItemProxy */ = {
  115 + isa = PBXContainerItemProxy;
  116 + containerPortal = D2029B791E6EAAA50027CD92 /* Project object */;
  117 + proxyType = 1;
  118 + remoteGlobalIDString = D2029B801E6EAAA50027CD92;
  119 + remoteInfo = LiveVideoCloud;
  120 + };
  121 + D2029BA61E6EAAA50027CD92 /* PBXContainerItemProxy */ = {
  122 + isa = PBXContainerItemProxy;
  123 + containerPortal = D2029B791E6EAAA50027CD92 /* Project object */;
  124 + proxyType = 1;
  125 + remoteGlobalIDString = D2029B801E6EAAA50027CD92;
  126 + remoteInfo = LiveVideoCloud;
  127 + };
  128 +/* End PBXContainerItemProxy section */
  129 +
  130 +/* Begin PBXFileReference section */
  131 + D2029B811E6EAAA50027CD92 /* LiveVideoCloud.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LiveVideoCloud.app; sourceTree = BUILT_PRODUCTS_DIR; };
  132 + D2029B851E6EAAA50027CD92 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  133 + D2029B8A1E6EAAA50027CD92 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
  134 + D2029B8B1E6EAAA50027CD92 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
  135 + D2029B8E1E6EAAA50027CD92 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  136 + D2029B901E6EAAA50027CD92 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
  137 + D2029B931E6EAAA50027CD92 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  138 + D2029B951E6EAAA50027CD92 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
  139 + D2029B9A1E6EAAA50027CD92 /* LiveVideoCloudTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LiveVideoCloudTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  140 + D2029B9E1E6EAAA50027CD92 /* LiveVideoCloudTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LiveVideoCloudTests.m; sourceTree = "<group>"; };
  141 + D2029BA01E6EAAA50027CD92 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
  142 + D2029BA51E6EAAA50027CD92 /* LiveVideoCloudUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LiveVideoCloudUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  143 + D2029BA91E6EAAA50027CD92 /* LiveVideoCloudUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LiveVideoCloudUITests.m; sourceTree = "<group>"; };
  144 + D2029BAB1E6EAAA50027CD92 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
  145 + D2029BBD1E6EADD70027CD92 /* BaseModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseModel.h; sourceTree = "<group>"; };
  146 + D2029BBE1E6EADD70027CD92 /* BaseModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseModel.m; sourceTree = "<group>"; };
  147 + D2029BBF1E6EADD70027CD92 /* BaseTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseTableViewCell.h; sourceTree = "<group>"; };
  148 + D2029BC01E6EADD70027CD92 /* BaseTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseTableViewCell.m; sourceTree = "<group>"; };
  149 + D2029BC11E6EADD70027CD92 /* BaseView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseView.h; sourceTree = "<group>"; };
  150 + D2029BC21E6EADD70027CD92 /* BaseView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseView.m; sourceTree = "<group>"; };
  151 + D2029BC31E6EADD70027CD92 /* BaseViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseViewController.h; sourceTree = "<group>"; };
  152 + D2029BC41E6EADD70027CD92 /* BaseViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseViewController.m; sourceTree = "<group>"; };
  153 + D2029BC61E6EADD70027CD92 /* ZXNavigationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZXNavigationController.h; sourceTree = "<group>"; };
  154 + D2029BC71E6EADD70027CD92 /* ZXNavigationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZXNavigationController.m; sourceTree = "<group>"; };
  155 + D2029BC81E6EADD70027CD92 /* ZXTabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZXTabBarController.h; sourceTree = "<group>"; };
  156 + D2029BC91E6EADD70027CD92 /* ZXTabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZXTabBarController.m; sourceTree = "<group>"; };
  157 + D2029BD21E6EADE10027CD92 /* Tools.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Tools.h; sourceTree = "<group>"; };
  158 + D2029BD31E6EADE10027CD92 /* Tools.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Tools.m; sourceTree = "<group>"; };
  159 + D2029BD61E6EADE10027CD92 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPSessionManager.h; sourceTree = "<group>"; };
  160 + D2029BD71E6EADE10027CD92 /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFHTTPSessionManager.m; sourceTree = "<group>"; };
  161 + D2029BD81E6EADE10027CD92 /* AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworking.h; sourceTree = "<group>"; };
  162 + D2029BD91E6EADE10027CD92 /* AFNetworkReachabilityManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworkReachabilityManager.h; sourceTree = "<group>"; };
  163 + D2029BDA1E6EADE10027CD92 /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFNetworkReachabilityManager.m; sourceTree = "<group>"; };
  164 + D2029BDB1E6EADE10027CD92 /* AFSecurityPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFSecurityPolicy.h; sourceTree = "<group>"; };
  165 + D2029BDC1E6EADE10027CD92 /* AFSecurityPolicy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFSecurityPolicy.m; sourceTree = "<group>"; };
  166 + D2029BDD1E6EADE10027CD92 /* AFURLRequestSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLRequestSerialization.h; sourceTree = "<group>"; };
  167 + D2029BDE1E6EADE10027CD92 /* AFURLRequestSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLRequestSerialization.m; sourceTree = "<group>"; };
  168 + D2029BDF1E6EADE10027CD92 /* AFURLResponseSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLResponseSerialization.h; sourceTree = "<group>"; };
  169 + D2029BE01E6EADE10027CD92 /* AFURLResponseSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLResponseSerialization.m; sourceTree = "<group>"; };
  170 + D2029BE11E6EADE10027CD92 /* AFURLSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLSessionManager.h; sourceTree = "<group>"; };
  171 + D2029BE21E6EADE10027CD92 /* AFURLSessionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLSessionManager.m; sourceTree = "<group>"; };
  172 + D2029BE41E6EADE10027CD92 /* AFAutoPurgingImageCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFAutoPurgingImageCache.h; sourceTree = "<group>"; };
  173 + D2029BE51E6EADE10027CD92 /* AFAutoPurgingImageCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFAutoPurgingImageCache.m; sourceTree = "<group>"; };
  174 + D2029BE61E6EADE10027CD92 /* AFImageDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFImageDownloader.h; sourceTree = "<group>"; };
  175 + D2029BE71E6EADE10027CD92 /* AFImageDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFImageDownloader.m; sourceTree = "<group>"; };
  176 + D2029BE81E6EADE10027CD92 /* AFNetworkActivityIndicatorManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworkActivityIndicatorManager.h; sourceTree = "<group>"; };
  177 + D2029BE91E6EADE10027CD92 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFNetworkActivityIndicatorManager.m; sourceTree = "<group>"; };
  178 + D2029BEA1E6EADE10027CD92 /* UIActivityIndicatorView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIActivityIndicatorView+AFNetworking.h"; sourceTree = "<group>"; };
  179 + D2029BEB1E6EADE10027CD92 /* UIActivityIndicatorView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIActivityIndicatorView+AFNetworking.m"; sourceTree = "<group>"; };
  180 + D2029BEC1E6EADE10027CD92 /* UIButton+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+AFNetworking.h"; sourceTree = "<group>"; };
  181 + D2029BED1E6EADE10027CD92 /* UIButton+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIButton+AFNetworking.m"; sourceTree = "<group>"; };
  182 + D2029BEE1E6EADE10027CD92 /* UIImage+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+AFNetworking.h"; sourceTree = "<group>"; };
  183 + D2029BEF1E6EADE10027CD92 /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
  184 + D2029BF01E6EADE10027CD92 /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+AFNetworking.m"; sourceTree = "<group>"; };
  185 + D2029BF11E6EADE10027CD92 /* UIKit+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIKit+AFNetworking.h"; sourceTree = "<group>"; };
  186 + D2029BF21E6EADE10027CD92 /* UIProgressView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIProgressView+AFNetworking.h"; sourceTree = "<group>"; };
  187 + D2029BF31E6EADE10027CD92 /* UIProgressView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIProgressView+AFNetworking.m"; sourceTree = "<group>"; };
  188 + D2029BF41E6EADE10027CD92 /* UIRefreshControl+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIRefreshControl+AFNetworking.h"; sourceTree = "<group>"; };
  189 + D2029BF51E6EADE10027CD92 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIRefreshControl+AFNetworking.m"; sourceTree = "<group>"; };
  190 + D2029BF61E6EADE10027CD92 /* UIWebView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIWebView+AFNetworking.h"; sourceTree = "<group>"; };
  191 + D2029BF71E6EADE10027CD92 /* UIWebView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIWebView+AFNetworking.m"; sourceTree = "<group>"; };
  192 + D2029BF91E6EADE10027CD92 /* MBProgressHUD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MBProgressHUD.h; sourceTree = "<group>"; };
  193 + D2029BFA1E6EADE10027CD92 /* MBProgressHUD.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MBProgressHUD.m; sourceTree = "<group>"; };
  194 + D2029BFC1E6EADE10027CD92 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
  195 + D2029BFD1E6EADE10027CD92 /* MJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJExtension.h; sourceTree = "<group>"; };
  196 + D2029BFE1E6EADE10027CD92 /* MJExtensionConst.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJExtensionConst.h; sourceTree = "<group>"; };
  197 + D2029BFF1E6EADE10027CD92 /* MJExtensionConst.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJExtensionConst.m; sourceTree = "<group>"; };
  198 + D2029C001E6EADE10027CD92 /* MJFoundation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJFoundation.h; sourceTree = "<group>"; };
  199 + D2029C011E6EADE10027CD92 /* MJFoundation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJFoundation.m; sourceTree = "<group>"; };
  200 + D2029C021E6EADE10027CD92 /* MJProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJProperty.h; sourceTree = "<group>"; };
  201 + D2029C031E6EADE10027CD92 /* MJProperty.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJProperty.m; sourceTree = "<group>"; };
  202 + D2029C041E6EADE10027CD92 /* MJPropertyKey.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJPropertyKey.h; sourceTree = "<group>"; };
  203 + D2029C051E6EADE10027CD92 /* MJPropertyKey.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJPropertyKey.m; sourceTree = "<group>"; };
  204 + D2029C061E6EADE10027CD92 /* MJPropertyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJPropertyType.h; sourceTree = "<group>"; };
  205 + D2029C071E6EADE10027CD92 /* MJPropertyType.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJPropertyType.m; sourceTree = "<group>"; };
  206 + D2029C081E6EADE10027CD92 /* NSObject+MJClass.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+MJClass.h"; sourceTree = "<group>"; };
  207 + D2029C091E6EADE10027CD92 /* NSObject+MJClass.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+MJClass.m"; sourceTree = "<group>"; };
  208 + D2029C0A1E6EADE10027CD92 /* NSObject+MJCoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+MJCoding.h"; sourceTree = "<group>"; };
  209 + D2029C0B1E6EADE10027CD92 /* NSObject+MJCoding.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+MJCoding.m"; sourceTree = "<group>"; };
  210 + D2029C0C1E6EADE10027CD92 /* NSObject+MJKeyValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+MJKeyValue.h"; sourceTree = "<group>"; };
  211 + D2029C0D1E6EADE10027CD92 /* NSObject+MJKeyValue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+MJKeyValue.m"; sourceTree = "<group>"; };
  212 + D2029C0E1E6EADE10027CD92 /* NSObject+MJProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+MJProperty.h"; sourceTree = "<group>"; };
  213 + D2029C0F1E6EADE10027CD92 /* NSObject+MJProperty.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+MJProperty.m"; sourceTree = "<group>"; };
  214 + D2029C101E6EADE10027CD92 /* NSString+MJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+MJExtension.h"; sourceTree = "<group>"; };
  215 + D2029C111E6EADE10027CD92 /* NSString+MJExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+MJExtension.m"; sourceTree = "<group>"; };
  216 + D2029C141E6EADE10027CD92 /* MJRefreshAutoFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoFooter.h; sourceTree = "<group>"; };
  217 + D2029C151E6EADE10027CD92 /* MJRefreshAutoFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoFooter.m; sourceTree = "<group>"; };
  218 + D2029C161E6EADE10027CD92 /* MJRefreshBackFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackFooter.h; sourceTree = "<group>"; };
  219 + D2029C171E6EADE10027CD92 /* MJRefreshBackFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackFooter.m; sourceTree = "<group>"; };
  220 + D2029C181E6EADE10027CD92 /* MJRefreshComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshComponent.h; sourceTree = "<group>"; };
  221 + D2029C191E6EADE10027CD92 /* MJRefreshComponent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshComponent.m; sourceTree = "<group>"; };
  222 + D2029C1A1E6EADE10027CD92 /* MJRefreshFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshFooter.h; sourceTree = "<group>"; };
  223 + D2029C1B1E6EADE10027CD92 /* MJRefreshFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshFooter.m; sourceTree = "<group>"; };
  224 + D2029C1C1E6EADE10027CD92 /* MJRefreshHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshHeader.h; sourceTree = "<group>"; };
  225 + D2029C1D1E6EADE10027CD92 /* MJRefreshHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshHeader.m; sourceTree = "<group>"; };
  226 + D2029C211E6EADE10027CD92 /* MJRefreshAutoGifFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoGifFooter.h; sourceTree = "<group>"; };
  227 + D2029C221E6EADE10027CD92 /* MJRefreshAutoGifFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoGifFooter.m; sourceTree = "<group>"; };
  228 + D2029C231E6EADE10027CD92 /* MJRefreshAutoNormalFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoNormalFooter.h; sourceTree = "<group>"; };
  229 + D2029C241E6EADE10027CD92 /* MJRefreshAutoNormalFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoNormalFooter.m; sourceTree = "<group>"; };
  230 + D2029C251E6EADE10027CD92 /* MJRefreshAutoStateFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoStateFooter.h; sourceTree = "<group>"; };
  231 + D2029C261E6EADE10027CD92 /* MJRefreshAutoStateFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoStateFooter.m; sourceTree = "<group>"; };
  232 + D2029C281E6EADE10027CD92 /* MJRefreshBackGifFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackGifFooter.h; sourceTree = "<group>"; };
  233 + D2029C291E6EADE10027CD92 /* MJRefreshBackGifFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackGifFooter.m; sourceTree = "<group>"; };
  234 + D2029C2A1E6EADE10027CD92 /* MJRefreshBackNormalFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackNormalFooter.h; sourceTree = "<group>"; };
  235 + D2029C2B1E6EADE10027CD92 /* MJRefreshBackNormalFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackNormalFooter.m; sourceTree = "<group>"; };
  236 + D2029C2C1E6EADE10027CD92 /* MJRefreshBackStateFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackStateFooter.h; sourceTree = "<group>"; };
  237 + D2029C2D1E6EADE10027CD92 /* MJRefreshBackStateFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackStateFooter.m; sourceTree = "<group>"; };
  238 + D2029C2F1E6EADE10027CD92 /* MJRefreshGifHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshGifHeader.h; sourceTree = "<group>"; };
  239 + D2029C301E6EADE10027CD92 /* MJRefreshGifHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshGifHeader.m; sourceTree = "<group>"; };
  240 + D2029C311E6EADE10027CD92 /* MJRefreshNormalHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshNormalHeader.h; sourceTree = "<group>"; };
  241 + D2029C321E6EADE10027CD92 /* MJRefreshNormalHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshNormalHeader.m; sourceTree = "<group>"; };
  242 + D2029C331E6EADE10027CD92 /* MJRefreshStateHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshStateHeader.h; sourceTree = "<group>"; };
  243 + D2029C341E6EADE10027CD92 /* MJRefreshStateHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshStateHeader.m; sourceTree = "<group>"; };
  244 + D2029C351E6EADE10027CD92 /* MJRefresh.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = MJRefresh.bundle; sourceTree = "<group>"; };
  245 + D2029C361E6EADE10027CD92 /* MJRefresh.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefresh.h; sourceTree = "<group>"; };
  246 + D2029C371E6EADE10027CD92 /* MJRefreshConst.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshConst.h; sourceTree = "<group>"; };
  247 + D2029C381E6EADE10027CD92 /* MJRefreshConst.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshConst.m; sourceTree = "<group>"; };
  248 + D2029C391E6EADE10027CD92 /* UIScrollView+MJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIScrollView+MJExtension.h"; sourceTree = "<group>"; };
  249 + D2029C3A1E6EADE10027CD92 /* UIScrollView+MJExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIScrollView+MJExtension.m"; sourceTree = "<group>"; };
  250 + D2029C3B1E6EADE10027CD92 /* UIScrollView+MJRefresh.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIScrollView+MJRefresh.h"; sourceTree = "<group>"; };
  251 + D2029C3C1E6EADE10027CD92 /* UIScrollView+MJRefresh.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIScrollView+MJRefresh.m"; sourceTree = "<group>"; };
  252 + D2029C3D1E6EADE10027CD92 /* UIView+MJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+MJExtension.h"; sourceTree = "<group>"; };
  253 + D2029C3E1E6EADE10027CD92 /* UIView+MJExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+MJExtension.m"; sourceTree = "<group>"; };
  254 + D2029C411E6EADE10027CD92 /* SDiOSVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDiOSVersion.h; sourceTree = "<group>"; };
  255 + D2029C421E6EADE10027CD92 /* SDiOSVersion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDiOSVersion.m; sourceTree = "<group>"; };
  256 + D2029C431E6EADE10027CD92 /* SDVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDVersion.h; sourceTree = "<group>"; };
  257 + D2029C451E6EADE10027CD92 /* MKAnnotationView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MKAnnotationView+WebCache.h"; sourceTree = "<group>"; };
  258 + D2029C461E6EADE10027CD92 /* MKAnnotationView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MKAnnotationView+WebCache.m"; sourceTree = "<group>"; };
  259 + D2029C471E6EADE10027CD92 /* NSData+ImageContentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+ImageContentType.h"; sourceTree = "<group>"; };
  260 + D2029C481E6EADE10027CD92 /* NSData+ImageContentType.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+ImageContentType.m"; sourceTree = "<group>"; };
  261 + D2029C491E6EADE10027CD92 /* SDImageCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDImageCache.h; sourceTree = "<group>"; };
  262 + D2029C4A1E6EADE10027CD92 /* SDImageCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDImageCache.m; sourceTree = "<group>"; };
  263 + D2029C4B1E6EADE10027CD92 /* SDWebImageCompat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageCompat.h; sourceTree = "<group>"; };
  264 + D2029C4C1E6EADE10027CD92 /* SDWebImageCompat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageCompat.m; sourceTree = "<group>"; };
  265 + D2029C4D1E6EADE10027CD92 /* SDWebImageDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDecoder.h; sourceTree = "<group>"; };
  266 + D2029C4E1E6EADE10027CD92 /* SDWebImageDecoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDecoder.m; sourceTree = "<group>"; };
  267 + D2029C4F1E6EADE10027CD92 /* SDWebImageDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloader.h; sourceTree = "<group>"; };
  268 + D2029C501E6EADE10027CD92 /* SDWebImageDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloader.m; sourceTree = "<group>"; };
  269 + D2029C511E6EADE10027CD92 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloaderOperation.h; sourceTree = "<group>"; };
  270 + D2029C521E6EADE10027CD92 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloaderOperation.m; sourceTree = "<group>"; };
  271 + D2029C531E6EADE10027CD92 /* SDWebImageManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageManager.h; sourceTree = "<group>"; };
  272 + D2029C541E6EADE10027CD92 /* SDWebImageManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageManager.m; sourceTree = "<group>"; };
  273 + D2029C551E6EADE10027CD92 /* SDWebImageOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageOperation.h; sourceTree = "<group>"; };
  274 + D2029C561E6EADE10027CD92 /* SDWebImagePrefetcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImagePrefetcher.h; sourceTree = "<group>"; };
  275 + D2029C571E6EADE10027CD92 /* SDWebImagePrefetcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImagePrefetcher.m; sourceTree = "<group>"; };
  276 + D2029C581E6EADE10027CD92 /* UIButton+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+WebCache.h"; sourceTree = "<group>"; };
  277 + D2029C591E6EADE10027CD92 /* UIButton+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIButton+WebCache.m"; sourceTree = "<group>"; };
  278 + D2029C5A1E6EADE10027CD92 /* UIImage+GIF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+GIF.h"; sourceTree = "<group>"; };
  279 + D2029C5B1E6EADE10027CD92 /* UIImage+GIF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+GIF.m"; sourceTree = "<group>"; };
  280 + D2029C5C1E6EADE10027CD92 /* UIImage+MultiFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+MultiFormat.h"; sourceTree = "<group>"; };
  281 + D2029C5D1E6EADE10027CD92 /* UIImage+MultiFormat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+MultiFormat.m"; sourceTree = "<group>"; };
  282 + D2029C5E1E6EADE10027CD92 /* UIImage+WebP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+WebP.h"; sourceTree = "<group>"; };
  283 + D2029C5F1E6EADE10027CD92 /* UIImage+WebP.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+WebP.m"; sourceTree = "<group>"; };
  284 + D2029C601E6EADE10027CD92 /* UIImageView+HighlightedWebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+HighlightedWebCache.h"; sourceTree = "<group>"; };
  285 + D2029C611E6EADE10027CD92 /* UIImageView+HighlightedWebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+HighlightedWebCache.m"; sourceTree = "<group>"; };
  286 + D2029C621E6EADE10027CD92 /* UIImageView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+WebCache.h"; sourceTree = "<group>"; };
  287 + D2029C631E6EADE10027CD92 /* UIImageView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+WebCache.m"; sourceTree = "<group>"; };
  288 + D2029C641E6EADE10027CD92 /* UIView+WebCacheOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+WebCacheOperation.h"; sourceTree = "<group>"; };
  289 + D2029C651E6EADE10027CD92 /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+WebCacheOperation.m"; sourceTree = "<group>"; };
  290 + D2029C671E6EADE10027CD92 /* SSKeychain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSKeychain.h; sourceTree = "<group>"; };
  291 + D2029C681E6EADE10027CD92 /* SSKeychain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSKeychain.m; sourceTree = "<group>"; };
  292 + D2029C6A1E6EADE10027CD92 /* SVIndefiniteAnimatedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVIndefiniteAnimatedView.h; sourceTree = "<group>"; };
  293 + D2029C6B1E6EADE10027CD92 /* SVIndefiniteAnimatedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVIndefiniteAnimatedView.m; sourceTree = "<group>"; };
  294 + D2029C6C1E6EADE10027CD92 /* SVProgressAnimatedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVProgressAnimatedView.h; sourceTree = "<group>"; };
  295 + D2029C6D1E6EADE10027CD92 /* SVProgressAnimatedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVProgressAnimatedView.m; sourceTree = "<group>"; };
  296 + D2029C6E1E6EADE10027CD92 /* SVProgressHUD-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "SVProgressHUD-Prefix.pch"; sourceTree = "<group>"; };
  297 + D2029C6F1E6EADE10027CD92 /* SVProgressHUD.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = SVProgressHUD.bundle; sourceTree = "<group>"; };
  298 + D2029C701E6EADE10027CD92 /* SVProgressHUD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVProgressHUD.h; sourceTree = "<group>"; };
  299 + D2029C711E6EADE10027CD92 /* SVProgressHUD.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVProgressHUD.m; sourceTree = "<group>"; };
  300 + D2029C721E6EADE10027CD92 /* SVRadialGradientLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVRadialGradientLayer.h; sourceTree = "<group>"; };
  301 + D2029C731E6EADE10027CD92 /* SVRadialGradientLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVRadialGradientLayer.m; sourceTree = "<group>"; };
  302 + D2029C781E6EADE10027CD92 /* HomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeViewController.h; sourceTree = "<group>"; };
  303 + D2029C791E6EADE10027CD92 /* HomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeViewController.m; sourceTree = "<group>"; };
  304 + D2029C7B1E6EADE10027CD92 /* SearchModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchModel.h; sourceTree = "<group>"; };
  305 + D2029C7C1E6EADE10027CD92 /* SearchModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SearchModel.m; sourceTree = "<group>"; };
  306 + D2029C7D1E6EADE10027CD92 /* SearchRecomListModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchRecomListModel.h; sourceTree = "<group>"; };
  307 + D2029C7E1E6EADE10027CD92 /* SearchRecomListModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SearchRecomListModel.m; sourceTree = "<group>"; };
  308 + D2029C801E6EADE10027CD92 /* HomeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeProtocol.h; sourceTree = "<group>"; };
  309 + D2029C811E6EADE10027CD92 /* SearchHttp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchHttp.h; sourceTree = "<group>"; };
  310 + D2029C821E6EADE10027CD92 /* SearchHttp.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SearchHttp.m; sourceTree = "<group>"; };
  311 + D2029C831E6EADE10027CD92 /* SearchPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchPresenter.h; sourceTree = "<group>"; };
  312 + D2029C841E6EADE10027CD92 /* SearchPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SearchPresenter.m; sourceTree = "<group>"; };
  313 + D2029CD21E6EADE70027CD92 /* HttpService.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HttpService.h; sourceTree = "<group>"; };
  314 + D2029CD31E6EADE70027CD92 /* HttpService.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HttpService.m; sourceTree = "<group>"; };
  315 + D2029CD61E6EADFB0027CD92 /* PrefixHeader.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = "<group>"; };
  316 + D2029CDE1E6EAE2E0027CD92 /* NSNumber+ScaleHeight.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSNumber+ScaleHeight.h"; sourceTree = "<group>"; };
  317 + D2029CDF1E6EAE2E0027CD92 /* NSNumber+ScaleHeight.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSNumber+ScaleHeight.m"; sourceTree = "<group>"; };
  318 + D2029CE01E6EAE2E0027CD92 /* UIColor+HexString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIColor+HexString.h"; sourceTree = "<group>"; };
  319 + D2029CE11E6EAE2E0027CD92 /* UIColor+HexString.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIColor+HexString.m"; sourceTree = "<group>"; };
  320 + D2029CE21E6EAE2E0027CD92 /* UIImage+ScaleImageSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+ScaleImageSize.h"; sourceTree = "<group>"; };
  321 + D2029CE31E6EAE2E0027CD92 /* UIImage+ScaleImageSize.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+ScaleImageSize.m"; sourceTree = "<group>"; };
  322 + D2029CE41E6EAE2E0027CD92 /* UIImage+ZXExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+ZXExtension.h"; sourceTree = "<group>"; };
  323 + D2029CE51E6EAE2E0027CD92 /* UIImage+ZXExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+ZXExtension.m"; sourceTree = "<group>"; };
  324 + D2029CE61E6EAE2E0027CD92 /* UILabel+ContentSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UILabel+ContentSize.h"; sourceTree = "<group>"; };
  325 + D2029CE71E6EAE2E0027CD92 /* UILabel+ContentSize.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UILabel+ContentSize.m"; sourceTree = "<group>"; };
  326 + D2029CE81E6EAE2E0027CD92 /* UILabel+labelFitSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UILabel+labelFitSize.h"; sourceTree = "<group>"; };
  327 + D2029CE91E6EAE2E0027CD92 /* UILabel+labelFitSize.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UILabel+labelFitSize.m"; sourceTree = "<group>"; };
  328 + D2029CEA1E6EAE2E0027CD92 /* UIView+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+Extension.h"; sourceTree = "<group>"; };
  329 + D2029CEB1E6EAE2E0027CD92 /* UIView+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+Extension.m"; sourceTree = "<group>"; };
  330 + D2029CED1E6EAE2E0027CD92 /* ZXConst.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZXConst.h; sourceTree = "<group>"; };
  331 + D2029CEE1E6EAE2E0027CD92 /* ZXConst.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZXConst.m; sourceTree = "<group>"; };
  332 + D2029CF01E6EAE2E0027CD92 /* ZXDeviceInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZXDeviceInfo.h; sourceTree = "<group>"; };
  333 + D2029CF11E6EAE2E0027CD92 /* ZXDeviceInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZXDeviceInfo.m; sourceTree = "<group>"; };
  334 + D2029CF21E6EAE2E0027CD92 /* Foundation+Log.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Foundation+Log.m"; sourceTree = "<group>"; };
  335 + D2029CF51E6EAE2E0027CD92 /* AppMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppMacro.h; sourceTree = "<group>"; };
  336 + D2029CF61E6EAE2E0027CD92 /* EnumMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EnumMacro.h; sourceTree = "<group>"; };
  337 + D2029CF71E6EAE2E0027CD92 /* NotificationMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NotificationMacro.h; sourceTree = "<group>"; };
  338 + D2029CF81E6EAE2E0027CD92 /* UserDefaultKeyMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserDefaultKeyMacro.h; sourceTree = "<group>"; };
  339 + D2029CF91E6EAE2E0027CD92 /* UtilsMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UtilsMacro.h; sourceTree = "<group>"; };
  340 + D2029CFA1E6EAE2E0027CD92 /* VenderMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VenderMacro.h; sourceTree = "<group>"; };
  341 + D2029CFB1E6EAE2E0027CD92 /* Macros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Macros.h; sourceTree = "<group>"; };
  342 + D2029CFD1E6EAE2E0027CD92 /* ZXServerUrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZXServerUrl.h; sourceTree = "<group>"; };
  343 + D2029CFE1E6EAE2E0027CD92 /* ZXServerUrl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZXServerUrl.m; sourceTree = "<group>"; };
  344 + D2029CFF1E6EAE2E0027CD92 /* UtilKits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UtilKits.h; sourceTree = "<group>"; };
  345 + D2029D121E6EAF8D0027CD92 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
  346 + D2029D151E6EB00D0027CD92 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
  347 +/* End PBXFileReference section */
  348 +
  349 +/* Begin PBXFrameworksBuildPhase section */
  350 + D2029B7E1E6EAAA50027CD92 /* Frameworks */ = {
  351 + isa = PBXFrameworksBuildPhase;
  352 + buildActionMask = 2147483647;
  353 + files = (
  354 + );
  355 + runOnlyForDeploymentPostprocessing = 0;
  356 + };
  357 + D2029B971E6EAAA50027CD92 /* Frameworks */ = {
  358 + isa = PBXFrameworksBuildPhase;
  359 + buildActionMask = 2147483647;
  360 + files = (
  361 + );
  362 + runOnlyForDeploymentPostprocessing = 0;
  363 + };
  364 + D2029BA21E6EAAA50027CD92 /* Frameworks */ = {
  365 + isa = PBXFrameworksBuildPhase;
  366 + buildActionMask = 2147483647;
  367 + files = (
  368 + );
  369 + runOnlyForDeploymentPostprocessing = 0;
  370 + };
  371 +/* End PBXFrameworksBuildPhase section */
  372 +
  373 +/* Begin PBXGroup section */
  374 + D2029B781E6EAAA50027CD92 = {
  375 + isa = PBXGroup;
  376 + children = (
  377 + D2029B831E6EAAA50027CD92 /* LiveVideoCloud */,
  378 + D2029B9D1E6EAAA50027CD92 /* LiveVideoCloudTests */,
  379 + D2029BA81E6EAAA50027CD92 /* LiveVideoCloudUITests */,
  380 + D2029B821E6EAAA50027CD92 /* Products */,
  381 + );
  382 + sourceTree = "<group>";
  383 + };
  384 + D2029B821E6EAAA50027CD92 /* Products */ = {
  385 + isa = PBXGroup;
  386 + children = (
  387 + D2029B811E6EAAA50027CD92 /* LiveVideoCloud.app */,
  388 + D2029B9A1E6EAAA50027CD92 /* LiveVideoCloudTests.xctest */,
  389 + D2029BA51E6EAAA50027CD92 /* LiveVideoCloudUITests.xctest */,
  390 + );
  391 + name = Products;
  392 + sourceTree = "<group>";
  393 + };
  394 + D2029B831E6EAAA50027CD92 /* LiveVideoCloud */ = {
  395 + isa = PBXGroup;
  396 + children = (
  397 + D2029D0E1E6EAF510027CD92 /* AppDelegate */,
  398 + D2029BBB1E6EADD70027CD92 /* AppCustoms */,
  399 + D2029CDC1E6EAE2E0027CD92 /* UtilKits */,
  400 + D2029BD01E6EADE10027CD92 /* Classes */,
  401 + D2029CD11E6EADE70027CD92 /* HttpService */,
  402 + D2029CD71E6EAE140027CD92 /* Resource */,
  403 + D2029B8A1E6EAAA50027CD92 /* ViewController.h */,
  404 + D2029B8B1E6EAAA50027CD92 /* ViewController.m */,
  405 + D2029B901E6EAAA50027CD92 /* Assets.xcassets */,
  406 + D2029CD61E6EADFB0027CD92 /* PrefixHeader.pch */,
  407 + D2029B841E6EAAA50027CD92 /* Supporting Files */,
  408 + );
  409 + path = LiveVideoCloud;
  410 + sourceTree = "<group>";
  411 + };
  412 + D2029B841E6EAAA50027CD92 /* Supporting Files */ = {
  413 + isa = PBXGroup;
  414 + children = (
  415 + D2029B921E6EAAA50027CD92 /* LaunchScreen.storyboard */,
  416 + D2029B8D1E6EAAA50027CD92 /* Main.storyboard */,
  417 + D2029B851E6EAAA50027CD92 /* main.m */,
  418 + D2029B951E6EAAA50027CD92 /* Info.plist */,
  419 + );
  420 + name = "Supporting Files";
  421 + sourceTree = "<group>";
  422 + };
  423 + D2029B9D1E6EAAA50027CD92 /* LiveVideoCloudTests */ = {
  424 + isa = PBXGroup;
  425 + children = (
  426 + D2029B9E1E6EAAA50027CD92 /* LiveVideoCloudTests.m */,
  427 + D2029BA01E6EAAA50027CD92 /* Info.plist */,
  428 + );
  429 + path = LiveVideoCloudTests;
  430 + sourceTree = "<group>";
  431 + };
  432 + D2029BA81E6EAAA50027CD92 /* LiveVideoCloudUITests */ = {
  433 + isa = PBXGroup;
  434 + children = (
  435 + D2029BA91E6EAAA50027CD92 /* LiveVideoCloudUITests.m */,
  436 + D2029BAB1E6EAAA50027CD92 /* Info.plist */,
  437 + );
  438 + path = LiveVideoCloudUITests;
  439 + sourceTree = "<group>";
  440 + };
  441 + D2029BBB1E6EADD70027CD92 /* AppCustoms */ = {
  442 + isa = PBXGroup;
  443 + children = (
  444 + D2029BBC1E6EADD70027CD92 /* Base */,
  445 + D2029BC51E6EADD70027CD92 /* Main */,
  446 + );
  447 + path = AppCustoms;
  448 + sourceTree = "<group>";
  449 + };
  450 + D2029BBC1E6EADD70027CD92 /* Base */ = {
  451 + isa = PBXGroup;
  452 + children = (
  453 + D2029BBD1E6EADD70027CD92 /* BaseModel.h */,
  454 + D2029BBE1E6EADD70027CD92 /* BaseModel.m */,
  455 + D2029BBF1E6EADD70027CD92 /* BaseTableViewCell.h */,
  456 + D2029BC01E6EADD70027CD92 /* BaseTableViewCell.m */,
  457 + D2029BC11E6EADD70027CD92 /* BaseView.h */,
  458 + D2029BC21E6EADD70027CD92 /* BaseView.m */,
  459 + D2029BC31E6EADD70027CD92 /* BaseViewController.h */,
  460 + D2029BC41E6EADD70027CD92 /* BaseViewController.m */,
  461 + );
  462 + path = Base;
  463 + sourceTree = "<group>";
  464 + };
  465 + D2029BC51E6EADD70027CD92 /* Main */ = {
  466 + isa = PBXGroup;
  467 + children = (
  468 + D2029BC61E6EADD70027CD92 /* ZXNavigationController.h */,
  469 + D2029BC71E6EADD70027CD92 /* ZXNavigationController.m */,
  470 + D2029BC81E6EADD70027CD92 /* ZXTabBarController.h */,
  471 + D2029BC91E6EADD70027CD92 /* ZXTabBarController.m */,
  472 + );
  473 + path = Main;
  474 + sourceTree = "<group>";
  475 + };
  476 + D2029BD01E6EADE10027CD92 /* Classes */ = {
  477 + isa = PBXGroup;
  478 + children = (
  479 + D2029C741E6EADE10027CD92 /* Sections */,
  480 + D2029BD11E6EADE10027CD92 /* Helpers */,
  481 + D2029BD41E6EADE10027CD92 /* SDK */,
  482 + );
  483 + path = Classes;
  484 + sourceTree = "<group>";
  485 + };
  486 + D2029BD11E6EADE10027CD92 /* Helpers */ = {
  487 + isa = PBXGroup;
  488 + children = (
  489 + D2029BD21E6EADE10027CD92 /* Tools.h */,
  490 + D2029BD31E6EADE10027CD92 /* Tools.m */,
  491 + );
  492 + path = Helpers;
  493 + sourceTree = "<group>";
  494 + };
  495 + D2029BD41E6EADE10027CD92 /* SDK */ = {
  496 + isa = PBXGroup;
  497 + children = (
  498 + D2029BD51E6EADE10027CD92 /* AFNetworking */,
  499 + D2029BF81E6EADE10027CD92 /* MBProgressHUD */,
  500 + D2029BFB1E6EADE10027CD92 /* MJExtension */,
  501 + D2029C121E6EADE10027CD92 /* MJRefresh */,
  502 + D2029C3F1E6EADE10027CD92 /* SDVersion */,
  503 + D2029C441E6EADE10027CD92 /* SDWebImage */,
  504 + D2029C661E6EADE10027CD92 /* SSKeychain */,
  505 + D2029C691E6EADE10027CD92 /* SVProgressHUD */,
  506 + );
  507 + path = SDK;
  508 + sourceTree = "<group>";
  509 + };
  510 + D2029BD51E6EADE10027CD92 /* AFNetworking */ = {
  511 + isa = PBXGroup;
  512 + children = (
  513 + D2029BD61E6EADE10027CD92 /* AFHTTPSessionManager.h */,
  514 + D2029BD71E6EADE10027CD92 /* AFHTTPSessionManager.m */,
  515 + D2029BD81E6EADE10027CD92 /* AFNetworking.h */,
  516 + D2029BD91E6EADE10027CD92 /* AFNetworkReachabilityManager.h */,
  517 + D2029BDA1E6EADE10027CD92 /* AFNetworkReachabilityManager.m */,
  518 + D2029BDB1E6EADE10027CD92 /* AFSecurityPolicy.h */,
  519 + D2029BDC1E6EADE10027CD92 /* AFSecurityPolicy.m */,
  520 + D2029BDD1E6EADE10027CD92 /* AFURLRequestSerialization.h */,
  521 + D2029BDE1E6EADE10027CD92 /* AFURLRequestSerialization.m */,
  522 + D2029BDF1E6EADE10027CD92 /* AFURLResponseSerialization.h */,
  523 + D2029BE01E6EADE10027CD92 /* AFURLResponseSerialization.m */,
  524 + D2029BE11E6EADE10027CD92 /* AFURLSessionManager.h */,
  525 + D2029BE21E6EADE10027CD92 /* AFURLSessionManager.m */,
  526 + D2029BE31E6EADE10027CD92 /* UIKit+AFNetworking */,
  527 + );
  528 + path = AFNetworking;
  529 + sourceTree = "<group>";
  530 + };
  531 + D2029BE31E6EADE10027CD92 /* UIKit+AFNetworking */ = {
  532 + isa = PBXGroup;
  533 + children = (
  534 + D2029BE41E6EADE10027CD92 /* AFAutoPurgingImageCache.h */,
  535 + D2029BE51E6EADE10027CD92 /* AFAutoPurgingImageCache.m */,
  536 + D2029BE61E6EADE10027CD92 /* AFImageDownloader.h */,
  537 + D2029BE71E6EADE10027CD92 /* AFImageDownloader.m */,
  538 + D2029BE81E6EADE10027CD92 /* AFNetworkActivityIndicatorManager.h */,
  539 + D2029BE91E6EADE10027CD92 /* AFNetworkActivityIndicatorManager.m */,
  540 + D2029BEA1E6EADE10027CD92 /* UIActivityIndicatorView+AFNetworking.h */,
  541 + D2029BEB1E6EADE10027CD92 /* UIActivityIndicatorView+AFNetworking.m */,
  542 + D2029BEC1E6EADE10027CD92 /* UIButton+AFNetworking.h */,
  543 + D2029BED1E6EADE10027CD92 /* UIButton+AFNetworking.m */,
  544 + D2029BEE1E6EADE10027CD92 /* UIImage+AFNetworking.h */,
  545 + D2029BEF1E6EADE10027CD92 /* UIImageView+AFNetworking.h */,
  546 + D2029BF01E6EADE10027CD92 /* UIImageView+AFNetworking.m */,
  547 + D2029BF11E6EADE10027CD92 /* UIKit+AFNetworking.h */,
  548 + D2029BF21E6EADE10027CD92 /* UIProgressView+AFNetworking.h */,
  549 + D2029BF31E6EADE10027CD92 /* UIProgressView+AFNetworking.m */,
  550 + D2029BF41E6EADE10027CD92 /* UIRefreshControl+AFNetworking.h */,
  551 + D2029BF51E6EADE10027CD92 /* UIRefreshControl+AFNetworking.m */,
  552 + D2029BF61E6EADE10027CD92 /* UIWebView+AFNetworking.h */,
  553 + D2029BF71E6EADE10027CD92 /* UIWebView+AFNetworking.m */,
  554 + );
  555 + path = "UIKit+AFNetworking";
  556 + sourceTree = "<group>";
  557 + };
  558 + D2029BF81E6EADE10027CD92 /* MBProgressHUD */ = {
  559 + isa = PBXGroup;
  560 + children = (
  561 + D2029BF91E6EADE10027CD92 /* MBProgressHUD.h */,
  562 + D2029BFA1E6EADE10027CD92 /* MBProgressHUD.m */,
  563 + );
  564 + path = MBProgressHUD;
  565 + sourceTree = "<group>";
  566 + };
  567 + D2029BFB1E6EADE10027CD92 /* MJExtension */ = {
  568 + isa = PBXGroup;
  569 + children = (
  570 + D2029BFC1E6EADE10027CD92 /* Info.plist */,
  571 + D2029BFD1E6EADE10027CD92 /* MJExtension.h */,
  572 + D2029BFE1E6EADE10027CD92 /* MJExtensionConst.h */,
  573 + D2029BFF1E6EADE10027CD92 /* MJExtensionConst.m */,
  574 + D2029C001E6EADE10027CD92 /* MJFoundation.h */,
  575 + D2029C011E6EADE10027CD92 /* MJFoundation.m */,
  576 + D2029C021E6EADE10027CD92 /* MJProperty.h */,
  577 + D2029C031E6EADE10027CD92 /* MJProperty.m */,
  578 + D2029C041E6EADE10027CD92 /* MJPropertyKey.h */,
  579 + D2029C051E6EADE10027CD92 /* MJPropertyKey.m */,
  580 + D2029C061E6EADE10027CD92 /* MJPropertyType.h */,
  581 + D2029C071E6EADE10027CD92 /* MJPropertyType.m */,
  582 + D2029C081E6EADE10027CD92 /* NSObject+MJClass.h */,
  583 + D2029C091E6EADE10027CD92 /* NSObject+MJClass.m */,
  584 + D2029C0A1E6EADE10027CD92 /* NSObject+MJCoding.h */,
  585 + D2029C0B1E6EADE10027CD92 /* NSObject+MJCoding.m */,
  586 + D2029C0C1E6EADE10027CD92 /* NSObject+MJKeyValue.h */,
  587 + D2029C0D1E6EADE10027CD92 /* NSObject+MJKeyValue.m */,
  588 + D2029C0E1E6EADE10027CD92 /* NSObject+MJProperty.h */,
  589 + D2029C0F1E6EADE10027CD92 /* NSObject+MJProperty.m */,
  590 + D2029C101E6EADE10027CD92 /* NSString+MJExtension.h */,
  591 + D2029C111E6EADE10027CD92 /* NSString+MJExtension.m */,
  592 + );
  593 + path = MJExtension;
  594 + sourceTree = "<group>";
  595 + };
  596 + D2029C121E6EADE10027CD92 /* MJRefresh */ = {
  597 + isa = PBXGroup;
  598 + children = (
  599 + D2029C131E6EADE10027CD92 /* Base */,
  600 + D2029C1E1E6EADE10027CD92 /* Custom */,
  601 + D2029C351E6EADE10027CD92 /* MJRefresh.bundle */,
  602 + D2029C361E6EADE10027CD92 /* MJRefresh.h */,
  603 + D2029C371E6EADE10027CD92 /* MJRefreshConst.h */,
  604 + D2029C381E6EADE10027CD92 /* MJRefreshConst.m */,
  605 + D2029C391E6EADE10027CD92 /* UIScrollView+MJExtension.h */,
  606 + D2029C3A1E6EADE10027CD92 /* UIScrollView+MJExtension.m */,
  607 + D2029C3B1E6EADE10027CD92 /* UIScrollView+MJRefresh.h */,
  608 + D2029C3C1E6EADE10027CD92 /* UIScrollView+MJRefresh.m */,
  609 + D2029C3D1E6EADE10027CD92 /* UIView+MJExtension.h */,
  610 + D2029C3E1E6EADE10027CD92 /* UIView+MJExtension.m */,
  611 + );
  612 + path = MJRefresh;
  613 + sourceTree = "<group>";
  614 + };
  615 + D2029C131E6EADE10027CD92 /* Base */ = {
  616 + isa = PBXGroup;
  617 + children = (
  618 + D2029C141E6EADE10027CD92 /* MJRefreshAutoFooter.h */,
  619 + D2029C151E6EADE10027CD92 /* MJRefreshAutoFooter.m */,
  620 + D2029C161E6EADE10027CD92 /* MJRefreshBackFooter.h */,
  621 + D2029C171E6EADE10027CD92 /* MJRefreshBackFooter.m */,
  622 + D2029C181E6EADE10027CD92 /* MJRefreshComponent.h */,
  623 + D2029C191E6EADE10027CD92 /* MJRefreshComponent.m */,
  624 + D2029C1A1E6EADE10027CD92 /* MJRefreshFooter.h */,
  625 + D2029C1B1E6EADE10027CD92 /* MJRefreshFooter.m */,
  626 + D2029C1C1E6EADE10027CD92 /* MJRefreshHeader.h */,
  627 + D2029C1D1E6EADE10027CD92 /* MJRefreshHeader.m */,
  628 + );
  629 + path = Base;
  630 + sourceTree = "<group>";
  631 + };
  632 + D2029C1E1E6EADE10027CD92 /* Custom */ = {
  633 + isa = PBXGroup;
  634 + children = (
  635 + D2029C1F1E6EADE10027CD92 /* Footer */,
  636 + D2029C2E1E6EADE10027CD92 /* Header */,
  637 + );
  638 + path = Custom;
  639 + sourceTree = "<group>";
  640 + };
  641 + D2029C1F1E6EADE10027CD92 /* Footer */ = {
  642 + isa = PBXGroup;
  643 + children = (
  644 + D2029C201E6EADE10027CD92 /* Auto */,
  645 + D2029C271E6EADE10027CD92 /* Back */,
  646 + );
  647 + path = Footer;
  648 + sourceTree = "<group>";
  649 + };
  650 + D2029C201E6EADE10027CD92 /* Auto */ = {
  651 + isa = PBXGroup;
  652 + children = (
  653 + D2029C211E6EADE10027CD92 /* MJRefreshAutoGifFooter.h */,
  654 + D2029C221E6EADE10027CD92 /* MJRefreshAutoGifFooter.m */,
  655 + D2029C231E6EADE10027CD92 /* MJRefreshAutoNormalFooter.h */,
  656 + D2029C241E6EADE10027CD92 /* MJRefreshAutoNormalFooter.m */,
  657 + D2029C251E6EADE10027CD92 /* MJRefreshAutoStateFooter.h */,
  658 + D2029C261E6EADE10027CD92 /* MJRefreshAutoStateFooter.m */,
  659 + );
  660 + path = Auto;
  661 + sourceTree = "<group>";
  662 + };
  663 + D2029C271E6EADE10027CD92 /* Back */ = {
  664 + isa = PBXGroup;
  665 + children = (
  666 + D2029C281E6EADE10027CD92 /* MJRefreshBackGifFooter.h */,
  667 + D2029C291E6EADE10027CD92 /* MJRefreshBackGifFooter.m */,
  668 + D2029C2A1E6EADE10027CD92 /* MJRefreshBackNormalFooter.h */,
  669 + D2029C2B1E6EADE10027CD92 /* MJRefreshBackNormalFooter.m */,
  670 + D2029C2C1E6EADE10027CD92 /* MJRefreshBackStateFooter.h */,
  671 + D2029C2D1E6EADE10027CD92 /* MJRefreshBackStateFooter.m */,
  672 + );
  673 + path = Back;
  674 + sourceTree = "<group>";
  675 + };
  676 + D2029C2E1E6EADE10027CD92 /* Header */ = {
  677 + isa = PBXGroup;
  678 + children = (
  679 + D2029C2F1E6EADE10027CD92 /* MJRefreshGifHeader.h */,
  680 + D2029C301E6EADE10027CD92 /* MJRefreshGifHeader.m */,
  681 + D2029C311E6EADE10027CD92 /* MJRefreshNormalHeader.h */,
  682 + D2029C321E6EADE10027CD92 /* MJRefreshNormalHeader.m */,
  683 + D2029C331E6EADE10027CD92 /* MJRefreshStateHeader.h */,
  684 + D2029C341E6EADE10027CD92 /* MJRefreshStateHeader.m */,
  685 + );
  686 + path = Header;
  687 + sourceTree = "<group>";
  688 + };
  689 + D2029C3F1E6EADE10027CD92 /* SDVersion */ = {
  690 + isa = PBXGroup;
  691 + children = (
  692 + D2029C401E6EADE10027CD92 /* SDiOSVersion */,
  693 + D2029C431E6EADE10027CD92 /* SDVersion.h */,
  694 + );
  695 + path = SDVersion;
  696 + sourceTree = "<group>";
  697 + };
  698 + D2029C401E6EADE10027CD92 /* SDiOSVersion */ = {
  699 + isa = PBXGroup;
  700 + children = (
  701 + D2029C411E6EADE10027CD92 /* SDiOSVersion.h */,
  702 + D2029C421E6EADE10027CD92 /* SDiOSVersion.m */,
  703 + );
  704 + path = SDiOSVersion;
  705 + sourceTree = "<group>";
  706 + };
  707 + D2029C441E6EADE10027CD92 /* SDWebImage */ = {
  708 + isa = PBXGroup;
  709 + children = (
  710 + D2029C451E6EADE10027CD92 /* MKAnnotationView+WebCache.h */,
  711 + D2029C461E6EADE10027CD92 /* MKAnnotationView+WebCache.m */,
  712 + D2029C471E6EADE10027CD92 /* NSData+ImageContentType.h */,
  713 + D2029C481E6EADE10027CD92 /* NSData+ImageContentType.m */,
  714 + D2029C491E6EADE10027CD92 /* SDImageCache.h */,
  715 + D2029C4A1E6EADE10027CD92 /* SDImageCache.m */,
  716 + D2029C4B1E6EADE10027CD92 /* SDWebImageCompat.h */,
  717 + D2029C4C1E6EADE10027CD92 /* SDWebImageCompat.m */,
  718 + D2029C4D1E6EADE10027CD92 /* SDWebImageDecoder.h */,
  719 + D2029C4E1E6EADE10027CD92 /* SDWebImageDecoder.m */,
  720 + D2029C4F1E6EADE10027CD92 /* SDWebImageDownloader.h */,
  721 + D2029C501E6EADE10027CD92 /* SDWebImageDownloader.m */,
  722 + D2029C511E6EADE10027CD92 /* SDWebImageDownloaderOperation.h */,
  723 + D2029C521E6EADE10027CD92 /* SDWebImageDownloaderOperation.m */,
  724 + D2029C531E6EADE10027CD92 /* SDWebImageManager.h */,
  725 + D2029C541E6EADE10027CD92 /* SDWebImageManager.m */,
  726 + D2029C551E6EADE10027CD92 /* SDWebImageOperation.h */,
  727 + D2029C561E6EADE10027CD92 /* SDWebImagePrefetcher.h */,
  728 + D2029C571E6EADE10027CD92 /* SDWebImagePrefetcher.m */,
  729 + D2029C581E6EADE10027CD92 /* UIButton+WebCache.h */,
  730 + D2029C591E6EADE10027CD92 /* UIButton+WebCache.m */,
  731 + D2029C5A1E6EADE10027CD92 /* UIImage+GIF.h */,
  732 + D2029C5B1E6EADE10027CD92 /* UIImage+GIF.m */,
  733 + D2029C5C1E6EADE10027CD92 /* UIImage+MultiFormat.h */,
  734 + D2029C5D1E6EADE10027CD92 /* UIImage+MultiFormat.m */,
  735 + D2029C5E1E6EADE10027CD92 /* UIImage+WebP.h */,
  736 + D2029C5F1E6EADE10027CD92 /* UIImage+WebP.m */,
  737 + D2029C601E6EADE10027CD92 /* UIImageView+HighlightedWebCache.h */,
  738 + D2029C611E6EADE10027CD92 /* UIImageView+HighlightedWebCache.m */,
  739 + D2029C621E6EADE10027CD92 /* UIImageView+WebCache.h */,
  740 + D2029C631E6EADE10027CD92 /* UIImageView+WebCache.m */,
  741 + D2029C641E6EADE10027CD92 /* UIView+WebCacheOperation.h */,
  742 + D2029C651E6EADE10027CD92 /* UIView+WebCacheOperation.m */,
  743 + );
  744 + path = SDWebImage;
  745 + sourceTree = "<group>";
  746 + };
  747 + D2029C661E6EADE10027CD92 /* SSKeychain */ = {
  748 + isa = PBXGroup;
  749 + children = (
  750 + D2029C671E6EADE10027CD92 /* SSKeychain.h */,
  751 + D2029C681E6EADE10027CD92 /* SSKeychain.m */,
  752 + );
  753 + path = SSKeychain;
  754 + sourceTree = "<group>";
  755 + };
  756 + D2029C691E6EADE10027CD92 /* SVProgressHUD */ = {
  757 + isa = PBXGroup;
  758 + children = (
  759 + D2029C6A1E6EADE10027CD92 /* SVIndefiniteAnimatedView.h */,
  760 + D2029C6B1E6EADE10027CD92 /* SVIndefiniteAnimatedView.m */,
  761 + D2029C6C1E6EADE10027CD92 /* SVProgressAnimatedView.h */,
  762 + D2029C6D1E6EADE10027CD92 /* SVProgressAnimatedView.m */,
  763 + D2029C6E1E6EADE10027CD92 /* SVProgressHUD-Prefix.pch */,
  764 + D2029C6F1E6EADE10027CD92 /* SVProgressHUD.bundle */,
  765 + D2029C701E6EADE10027CD92 /* SVProgressHUD.h */,
  766 + D2029C711E6EADE10027CD92 /* SVProgressHUD.m */,
  767 + D2029C721E6EADE10027CD92 /* SVRadialGradientLayer.h */,
  768 + D2029C731E6EADE10027CD92 /* SVRadialGradientLayer.m */,
  769 + );
  770 + path = SVProgressHUD;
  771 + sourceTree = "<group>";
  772 + };
  773 + D2029C741E6EADE10027CD92 /* Sections */ = {
  774 + isa = PBXGroup;
  775 + children = (
  776 + D2029C751E6EADE10027CD92 /* ZXSections */,
  777 + );
  778 + path = Sections;
  779 + sourceTree = "<group>";
  780 + };
  781 + D2029C751E6EADE10027CD92 /* ZXSections */ = {
  782 + isa = PBXGroup;
  783 + children = (
  784 + D2029C761E6EADE10027CD92 /* Home */,
  785 + );
  786 + path = ZXSections;
  787 + sourceTree = "<group>";
  788 + };
  789 + D2029C761E6EADE10027CD92 /* Home */ = {
  790 + isa = PBXGroup;
  791 + children = (
  792 + D2029C771E6EADE10027CD92 /* Controller */,
  793 + D2029C7A1E6EADE10027CD92 /* Model */,
  794 + D2029C7F1E6EADE10027CD92 /* Presenter */,
  795 + D2029C851E6EADE10027CD92 /* View */,
  796 + );
  797 + path = Home;
  798 + sourceTree = "<group>";
  799 + };
  800 + D2029C771E6EADE10027CD92 /* Controller */ = {
  801 + isa = PBXGroup;
  802 + children = (
  803 + D2029C781E6EADE10027CD92 /* HomeViewController.h */,
  804 + D2029C791E6EADE10027CD92 /* HomeViewController.m */,
  805 + );
  806 + path = Controller;
  807 + sourceTree = "<group>";
  808 + };
  809 + D2029C7A1E6EADE10027CD92 /* Model */ = {
  810 + isa = PBXGroup;
  811 + children = (
  812 + D2029C7B1E6EADE10027CD92 /* SearchModel.h */,
  813 + D2029C7C1E6EADE10027CD92 /* SearchModel.m */,
  814 + D2029C7D1E6EADE10027CD92 /* SearchRecomListModel.h */,
  815 + D2029C7E1E6EADE10027CD92 /* SearchRecomListModel.m */,
  816 + );
  817 + path = Model;
  818 + sourceTree = "<group>";
  819 + };
  820 + D2029C7F1E6EADE10027CD92 /* Presenter */ = {
  821 + isa = PBXGroup;
  822 + children = (
  823 + D2029C801E6EADE10027CD92 /* HomeProtocol.h */,
  824 + D2029C811E6EADE10027CD92 /* SearchHttp.h */,
  825 + D2029C821E6EADE10027CD92 /* SearchHttp.m */,
  826 + D2029C831E6EADE10027CD92 /* SearchPresenter.h */,
  827 + D2029C841E6EADE10027CD92 /* SearchPresenter.m */,
  828 + );
  829 + path = Presenter;
  830 + sourceTree = "<group>";
  831 + };
  832 + D2029C851E6EADE10027CD92 /* View */ = {
  833 + isa = PBXGroup;
  834 + children = (
  835 + );
  836 + path = View;
  837 + sourceTree = "<group>";
  838 + };
  839 + D2029CD11E6EADE70027CD92 /* HttpService */ = {
  840 + isa = PBXGroup;
  841 + children = (
  842 + D2029CD21E6EADE70027CD92 /* HttpService.h */,
  843 + D2029CD31E6EADE70027CD92 /* HttpService.m */,
  844 + );
  845 + path = HttpService;
  846 + sourceTree = "<group>";
  847 + };
  848 + D2029CD71E6EAE140027CD92 /* Resource */ = {
  849 + isa = PBXGroup;
  850 + children = (
  851 + D2029CD81E6EAE140027CD92 /* Fonts */,
  852 + D2029CD91E6EAE140027CD92 /* Images */,
  853 + D2029CDA1E6EAE140027CD92 /* Sound */,
  854 + D2029CDB1E6EAE140027CD92 /* Videos */,
  855 + );
  856 + path = Resource;
  857 + sourceTree = "<group>";
  858 + };
  859 + D2029CD81E6EAE140027CD92 /* Fonts */ = {
  860 + isa = PBXGroup;
  861 + children = (
  862 + );
  863 + path = Fonts;
  864 + sourceTree = "<group>";
  865 + };
  866 + D2029CD91E6EAE140027CD92 /* Images */ = {
  867 + isa = PBXGroup;
  868 + children = (
  869 + );
  870 + path = Images;
  871 + sourceTree = "<group>";
  872 + };
  873 + D2029CDA1E6EAE140027CD92 /* Sound */ = {
  874 + isa = PBXGroup;
  875 + children = (
  876 + );
  877 + path = Sound;
  878 + sourceTree = "<group>";
  879 + };
  880 + D2029CDB1E6EAE140027CD92 /* Videos */ = {
  881 + isa = PBXGroup;
  882 + children = (
  883 + );
  884 + path = Videos;
  885 + sourceTree = "<group>";
  886 + };
  887 + D2029CDC1E6EAE2E0027CD92 /* UtilKits */ = {
  888 + isa = PBXGroup;
  889 + children = (
  890 + D2029CDD1E6EAE2E0027CD92 /* Category */,
  891 + D2029CEC1E6EAE2E0027CD92 /* Const */,
  892 + D2029CEF1E6EAE2E0027CD92 /* DeviceInfo */,
  893 + D2029CF21E6EAE2E0027CD92 /* Foundation+Log.m */,
  894 + D2029CF31E6EAE2E0027CD92 /* Macro */,
  895 + D2029CFC1E6EAE2E0027CD92 /* ServerUrl */,
  896 + D2029CFF1E6EAE2E0027CD92 /* UtilKits.h */,
  897 + );
  898 + path = UtilKits;
  899 + sourceTree = "<group>";
  900 + };
  901 + D2029CDD1E6EAE2E0027CD92 /* Category */ = {
  902 + isa = PBXGroup;
  903 + children = (
  904 + D2029CDE1E6EAE2E0027CD92 /* NSNumber+ScaleHeight.h */,
  905 + D2029CDF1E6EAE2E0027CD92 /* NSNumber+ScaleHeight.m */,
  906 + D2029CE01E6EAE2E0027CD92 /* UIColor+HexString.h */,
  907 + D2029CE11E6EAE2E0027CD92 /* UIColor+HexString.m */,
  908 + D2029CE21E6EAE2E0027CD92 /* UIImage+ScaleImageSize.h */,
  909 + D2029CE31E6EAE2E0027CD92 /* UIImage+ScaleImageSize.m */,
  910 + D2029CE41E6EAE2E0027CD92 /* UIImage+ZXExtension.h */,
  911 + D2029CE51E6EAE2E0027CD92 /* UIImage+ZXExtension.m */,
  912 + D2029CE61E6EAE2E0027CD92 /* UILabel+ContentSize.h */,
  913 + D2029CE71E6EAE2E0027CD92 /* UILabel+ContentSize.m */,
  914 + D2029CE81E6EAE2E0027CD92 /* UILabel+labelFitSize.h */,
  915 + D2029CE91E6EAE2E0027CD92 /* UILabel+labelFitSize.m */,
  916 + D2029CEA1E6EAE2E0027CD92 /* UIView+Extension.h */,
  917 + D2029CEB1E6EAE2E0027CD92 /* UIView+Extension.m */,
  918 + );
  919 + path = Category;
  920 + sourceTree = "<group>";
  921 + };
  922 + D2029CEC1E6EAE2E0027CD92 /* Const */ = {
  923 + isa = PBXGroup;
  924 + children = (
  925 + D2029CED1E6EAE2E0027CD92 /* ZXConst.h */,
  926 + D2029CEE1E6EAE2E0027CD92 /* ZXConst.m */,
  927 + );
  928 + path = Const;
  929 + sourceTree = "<group>";
  930 + };
  931 + D2029CEF1E6EAE2E0027CD92 /* DeviceInfo */ = {
  932 + isa = PBXGroup;
  933 + children = (
  934 + D2029CF01E6EAE2E0027CD92 /* ZXDeviceInfo.h */,
  935 + D2029CF11E6EAE2E0027CD92 /* ZXDeviceInfo.m */,
  936 + );
  937 + path = DeviceInfo;
  938 + sourceTree = "<group>";
  939 + };
  940 + D2029CF31E6EAE2E0027CD92 /* Macro */ = {
  941 + isa = PBXGroup;
  942 + children = (
  943 + D2029CF41E6EAE2E0027CD92 /* Macros */,
  944 + D2029CFB1E6EAE2E0027CD92 /* Macros.h */,
  945 + );
  946 + path = Macro;
  947 + sourceTree = "<group>";
  948 + };
  949 + D2029CF41E6EAE2E0027CD92 /* Macros */ = {
  950 + isa = PBXGroup;
  951 + children = (
  952 + D2029CF51E6EAE2E0027CD92 /* AppMacro.h */,
  953 + D2029CF61E6EAE2E0027CD92 /* EnumMacro.h */,
  954 + D2029CF71E6EAE2E0027CD92 /* NotificationMacro.h */,
  955 + D2029CF81E6EAE2E0027CD92 /* UserDefaultKeyMacro.h */,
  956 + D2029CF91E6EAE2E0027CD92 /* UtilsMacro.h */,
  957 + D2029CFA1E6EAE2E0027CD92 /* VenderMacro.h */,
  958 + );
  959 + path = Macros;
  960 + sourceTree = "<group>";
  961 + };
  962 + D2029CFC1E6EAE2E0027CD92 /* ServerUrl */ = {
  963 + isa = PBXGroup;
  964 + children = (
  965 + D2029CFD1E6EAE2E0027CD92 /* ZXServerUrl.h */,
  966 + D2029CFE1E6EAE2E0027CD92 /* ZXServerUrl.m */,
  967 + );
  968 + path = ServerUrl;
  969 + sourceTree = "<group>";
  970 + };
  971 + D2029D0E1E6EAF510027CD92 /* AppDelegate */ = {
  972 + isa = PBXGroup;
  973 + children = (
  974 + D2029D121E6EAF8D0027CD92 /* AppDelegate.h */,
  975 + D2029D151E6EB00D0027CD92 /* AppDelegate.m */,
  976 + );
  977 + path = AppDelegate;
  978 + sourceTree = "<group>";
  979 + };
  980 +/* End PBXGroup section */
  981 +
  982 +/* Begin PBXNativeTarget section */
  983 + D2029B801E6EAAA50027CD92 /* LiveVideoCloud */ = {
  984 + isa = PBXNativeTarget;
  985 + buildConfigurationList = D2029BAE1E6EAAA50027CD92 /* Build configuration list for PBXNativeTarget "LiveVideoCloud" */;
  986 + buildPhases = (
  987 + D2029B7D1E6EAAA50027CD92 /* Sources */,
  988 + D2029B7E1E6EAAA50027CD92 /* Frameworks */,
  989 + D2029B7F1E6EAAA50027CD92 /* Resources */,
  990 + );
  991 + buildRules = (
  992 + );
  993 + dependencies = (
  994 + );
  995 + name = LiveVideoCloud;
  996 + productName = LiveVideoCloud;
  997 + productReference = D2029B811E6EAAA50027CD92 /* LiveVideoCloud.app */;
  998 + productType = "com.apple.product-type.application";
  999 + };
  1000 + D2029B991E6EAAA50027CD92 /* LiveVideoCloudTests */ = {
  1001 + isa = PBXNativeTarget;
  1002 + buildConfigurationList = D2029BB11E6EAAA50027CD92 /* Build configuration list for PBXNativeTarget "LiveVideoCloudTests" */;
  1003 + buildPhases = (
  1004 + D2029B961E6EAAA50027CD92 /* Sources */,
  1005 + D2029B971E6EAAA50027CD92 /* Frameworks */,
  1006 + D2029B981E6EAAA50027CD92 /* Resources */,
  1007 + );
  1008 + buildRules = (
  1009 + );
  1010 + dependencies = (
  1011 + D2029B9C1E6EAAA50027CD92 /* PBXTargetDependency */,
  1012 + );
  1013 + name = LiveVideoCloudTests;
  1014 + productName = LiveVideoCloudTests;
  1015 + productReference = D2029B9A1E6EAAA50027CD92 /* LiveVideoCloudTests.xctest */;
  1016 + productType = "com.apple.product-type.bundle.unit-test";
  1017 + };
  1018 + D2029BA41E6EAAA50027CD92 /* LiveVideoCloudUITests */ = {
  1019 + isa = PBXNativeTarget;
  1020 + buildConfigurationList = D2029BB41E6EAAA50027CD92 /* Build configuration list for PBXNativeTarget "LiveVideoCloudUITests" */;
  1021 + buildPhases = (
  1022 + D2029BA11E6EAAA50027CD92 /* Sources */,
  1023 + D2029BA21E6EAAA50027CD92 /* Frameworks */,
  1024 + D2029BA31E6EAAA50027CD92 /* Resources */,
  1025 + );
  1026 + buildRules = (
  1027 + );
  1028 + dependencies = (
  1029 + D2029BA71E6EAAA50027CD92 /* PBXTargetDependency */,
  1030 + );
  1031 + name = LiveVideoCloudUITests;
  1032 + productName = LiveVideoCloudUITests;
  1033 + productReference = D2029BA51E6EAAA50027CD92 /* LiveVideoCloudUITests.xctest */;
  1034 + productType = "com.apple.product-type.bundle.ui-testing";
  1035 + };
  1036 +/* End PBXNativeTarget section */
  1037 +
  1038 +/* Begin PBXProject section */
  1039 + D2029B791E6EAAA50027CD92 /* Project object */ = {
  1040 + isa = PBXProject;
  1041 + attributes = {
  1042 + LastUpgradeCheck = 0820;
  1043 + ORGANIZATIONNAME = cnlive;
  1044 + TargetAttributes = {
  1045 + D2029B801E6EAAA50027CD92 = {
  1046 + CreatedOnToolsVersion = 8.2.1;
  1047 + DevelopmentTeam = 94X49GG3ZW;
  1048 + ProvisioningStyle = Automatic;
  1049 + };
  1050 + D2029B991E6EAAA50027CD92 = {
  1051 + CreatedOnToolsVersion = 8.2.1;
  1052 + ProvisioningStyle = Automatic;
  1053 + TestTargetID = D2029B801E6EAAA50027CD92;
  1054 + };
  1055 + D2029BA41E6EAAA50027CD92 = {
  1056 + CreatedOnToolsVersion = 8.2.1;
  1057 + ProvisioningStyle = Automatic;
  1058 + TestTargetID = D2029B801E6EAAA50027CD92;
  1059 + };
  1060 + };
  1061 + };
  1062 + buildConfigurationList = D2029B7C1E6EAAA50027CD92 /* Build configuration list for PBXProject "LiveVideoCloud" */;
  1063 + compatibilityVersion = "Xcode 3.2";
  1064 + developmentRegion = English;
  1065 + hasScannedForEncodings = 0;
  1066 + knownRegions = (
  1067 + en,
  1068 + Base,
  1069 + );
  1070 + mainGroup = D2029B781E6EAAA50027CD92;
  1071 + productRefGroup = D2029B821E6EAAA50027CD92 /* Products */;
  1072 + projectDirPath = "";
  1073 + projectRoot = "";
  1074 + targets = (
  1075 + D2029B801E6EAAA50027CD92 /* LiveVideoCloud */,
  1076 + D2029B991E6EAAA50027CD92 /* LiveVideoCloudTests */,
  1077 + D2029BA41E6EAAA50027CD92 /* LiveVideoCloudUITests */,
  1078 + );
  1079 + };
  1080 +/* End PBXProject section */
  1081 +
  1082 +/* Begin PBXResourcesBuildPhase section */
  1083 + D2029B7F1E6EAAA50027CD92 /* Resources */ = {
  1084 + isa = PBXResourcesBuildPhase;
  1085 + buildActionMask = 2147483647;
  1086 + files = (
  1087 + D2029C971E6EADE10027CD92 /* Info.plist in Resources */,
  1088 + D2029CC91E6EADE10027CD92 /* SVProgressHUD.bundle in Resources */,
  1089 + D2029B941E6EAAA50027CD92 /* LaunchScreen.storyboard in Resources */,
  1090 + D2029B911E6EAAA50027CD92 /* Assets.xcassets in Resources */,
  1091 + D2029CB01E6EADE10027CD92 /* MJRefresh.bundle in Resources */,
  1092 + D2029B8F1E6EAAA50027CD92 /* Main.storyboard in Resources */,
  1093 + );
  1094 + runOnlyForDeploymentPostprocessing = 0;
  1095 + };
  1096 + D2029B981E6EAAA50027CD92 /* Resources */ = {
  1097 + isa = PBXResourcesBuildPhase;
  1098 + buildActionMask = 2147483647;
  1099 + files = (
  1100 + );
  1101 + runOnlyForDeploymentPostprocessing = 0;
  1102 + };
  1103 + D2029BA31E6EAAA50027CD92 /* Resources */ = {
  1104 + isa = PBXResourcesBuildPhase;
  1105 + buildActionMask = 2147483647;
  1106 + files = (
  1107 + );
  1108 + runOnlyForDeploymentPostprocessing = 0;
  1109 + };
  1110 +/* End PBXResourcesBuildPhase section */
  1111 +
  1112 +/* Begin PBXSourcesBuildPhase section */
  1113 + D2029B7D1E6EAAA50027CD92 /* Sources */ = {
  1114 + isa = PBXSourcesBuildPhase;
  1115 + buildActionMask = 2147483647;
  1116 + files = (
  1117 + D2029CC31E6EADE10027CD92 /* UIImageView+HighlightedWebCache.m in Sources */,
  1118 + D2029CC01E6EADE10027CD92 /* UIImage+GIF.m in Sources */,
  1119 + D2029BCF1E6EADD70027CD92 /* ZXTabBarController.m in Sources */,
  1120 + D2029D071E6EAE2E0027CD92 /* ZXConst.m in Sources */,
  1121 + D2029CB81E6EADE10027CD92 /* SDImageCache.m in Sources */,
  1122 + D2029CBB1E6EADE10027CD92 /* SDWebImageDownloader.m in Sources */,
  1123 + D2029CA71E6EADE10027CD92 /* MJRefreshAutoGifFooter.m in Sources */,
  1124 + D2029CC11E6EADE10027CD92 /* UIImage+MultiFormat.m in Sources */,
  1125 + D2029C861E6EADE10027CD92 /* Tools.m in Sources */,
  1126 + D2029CA01E6EADE10027CD92 /* NSObject+MJProperty.m in Sources */,
  1127 + D2029CB51E6EADE10027CD92 /* SDiOSVersion.m in Sources */,
  1128 + D2029C9C1E6EADE10027CD92 /* MJPropertyType.m in Sources */,
  1129 + D2029CCD1E6EADE10027CD92 /* SearchModel.m in Sources */,
  1130 + D2029CCB1E6EADE10027CD92 /* SVRadialGradientLayer.m in Sources */,
  1131 + D2029CAF1E6EADE10027CD92 /* MJRefreshStateHeader.m in Sources */,
  1132 + D2029C941E6EADE10027CD92 /* UIRefreshControl+AFNetworking.m in Sources */,
  1133 + D2029C911E6EADE10027CD92 /* UIButton+AFNetworking.m in Sources */,
  1134 + D2029C931E6EADE10027CD92 /* UIProgressView+AFNetworking.m in Sources */,
  1135 + D2029C8D1E6EADE10027CD92 /* AFAutoPurgingImageCache.m in Sources */,
  1136 + D2029D011E6EAE2E0027CD92 /* UIColor+HexString.m in Sources */,
  1137 + D2029CA41E6EADE10027CD92 /* MJRefreshComponent.m in Sources */,
  1138 + D2029CBC1E6EADE10027CD92 /* SDWebImageDownloaderOperation.m in Sources */,
  1139 + D2029CA51E6EADE10027CD92 /* MJRefreshFooter.m in Sources */,
  1140 + D2029D161E6EB00D0027CD92 /* AppDelegate.m in Sources */,
  1141 + D2029CB71E6EADE10027CD92 /* NSData+ImageContentType.m in Sources */,
  1142 + D2029CD01E6EADE10027CD92 /* SearchPresenter.m in Sources */,
  1143 + D2029CBE1E6EADE10027CD92 /* SDWebImagePrefetcher.m in Sources */,
  1144 + D2029CCE1E6EADE10027CD92 /* SearchRecomListModel.m in Sources */,
  1145 + D2029CA11E6EADE10027CD92 /* NSString+MJExtension.m in Sources */,
  1146 + D2029BCB1E6EADD70027CD92 /* BaseTableViewCell.m in Sources */,
  1147 + D2029CAA1E6EADE10027CD92 /* MJRefreshBackGifFooter.m in Sources */,
  1148 + D2029C9B1E6EADE10027CD92 /* MJPropertyKey.m in Sources */,
  1149 + D2029CBF1E6EADE10027CD92 /* UIButton+WebCache.m in Sources */,
  1150 + D2029CC51E6EADE10027CD92 /* UIView+WebCacheOperation.m in Sources */,
  1151 + D2029CAB1E6EADE10027CD92 /* MJRefreshBackNormalFooter.m in Sources */,
  1152 + D2029C8F1E6EADE10027CD92 /* AFNetworkActivityIndicatorManager.m in Sources */,
  1153 + D2029BCE1E6EADD70027CD92 /* ZXNavigationController.m in Sources */,
  1154 + D2029CA21E6EADE10027CD92 /* MJRefreshAutoFooter.m in Sources */,
  1155 + D2029CC71E6EADE10027CD92 /* SVIndefiniteAnimatedView.m in Sources */,
  1156 + D2029CA31E6EADE10027CD92 /* MJRefreshBackFooter.m in Sources */,
  1157 + D2029CA61E6EADE10027CD92 /* MJRefreshHeader.m in Sources */,
  1158 + D2029CC41E6EADE10027CD92 /* UIImageView+WebCache.m in Sources */,
  1159 + D2029CC81E6EADE10027CD92 /* SVProgressAnimatedView.m in Sources */,
  1160 + D2029C961E6EADE10027CD92 /* MBProgressHUD.m in Sources */,
  1161 + D2029C9A1E6EADE10027CD92 /* MJProperty.m in Sources */,
  1162 + D2029CB91E6EADE10027CD92 /* SDWebImageCompat.m in Sources */,
  1163 + D2029CB61E6EADE10027CD92 /* MKAnnotationView+WebCache.m in Sources */,
  1164 + D2029C981E6EADE10027CD92 /* MJExtensionConst.m in Sources */,
  1165 + D2029CAE1E6EADE10027CD92 /* MJRefreshNormalHeader.m in Sources */,
  1166 + D2029C901E6EADE10027CD92 /* UIActivityIndicatorView+AFNetworking.m in Sources */,
  1167 + D2029CC61E6EADE10027CD92 /* SSKeychain.m in Sources */,
  1168 + D2029C8B1E6EADE10027CD92 /* AFURLResponseSerialization.m in Sources */,
  1169 + D2029C921E6EADE10027CD92 /* UIImageView+AFNetworking.m in Sources */,
  1170 + D2029C9E1E6EADE10027CD92 /* NSObject+MJCoding.m in Sources */,
  1171 + D2029B8C1E6EAAA50027CD92 /* ViewController.m in Sources */,
  1172 + D2029C991E6EADE10027CD92 /* MJFoundation.m in Sources */,
  1173 + D2029C8A1E6EADE10027CD92 /* AFURLRequestSerialization.m in Sources */,
  1174 + D2029D041E6EAE2E0027CD92 /* UILabel+ContentSize.m in Sources */,
  1175 + D2029C871E6EADE10027CD92 /* AFHTTPSessionManager.m in Sources */,
  1176 + D2029B861E6EAAA50027CD92 /* main.m in Sources */,
  1177 + D2029C8C1E6EADE10027CD92 /* AFURLSessionManager.m in Sources */,
  1178 + D2029C9F1E6EADE10027CD92 /* NSObject+MJKeyValue.m in Sources */,
  1179 + D2029CAC1E6EADE10027CD92 /* MJRefreshBackStateFooter.m in Sources */,
  1180 + D2029CB11E6EADE10027CD92 /* MJRefreshConst.m in Sources */,
  1181 + D2029CAD1E6EADE10027CD92 /* MJRefreshGifHeader.m in Sources */,
  1182 + D2029CB31E6EADE10027CD92 /* UIScrollView+MJRefresh.m in Sources */,
  1183 + D2029D051E6EAE2E0027CD92 /* UILabel+labelFitSize.m in Sources */,
  1184 + D2029CB21E6EADE10027CD92 /* UIScrollView+MJExtension.m in Sources */,
  1185 + D2029D091E6EAE2E0027CD92 /* Foundation+Log.m in Sources */,
  1186 + D2029C8E1E6EADE10027CD92 /* AFImageDownloader.m in Sources */,
  1187 + D2029CCC1E6EADE10027CD92 /* HomeViewController.m in Sources */,
  1188 + D2029BCA1E6EADD70027CD92 /* BaseModel.m in Sources */,
  1189 + D2029D031E6EAE2E0027CD92 /* UIImage+ZXExtension.m in Sources */,
  1190 + D2029D0A1E6EAE2E0027CD92 /* ZXServerUrl.m in Sources */,
  1191 + D2029CCA1E6EADE10027CD92 /* SVProgressHUD.m in Sources */,
  1192 + D2029CA81E6EADE10027CD92 /* MJRefreshAutoNormalFooter.m in Sources */,
  1193 + D2029C891E6EADE10027CD92 /* AFSecurityPolicy.m in Sources */,
  1194 + D2029CBA1E6EADE10027CD92 /* SDWebImageDecoder.m in Sources */,
  1195 + D2029D081E6EAE2E0027CD92 /* ZXDeviceInfo.m in Sources */,
  1196 + D2029CC21E6EADE10027CD92 /* UIImage+WebP.m in Sources */,
  1197 + D2029BCD1E6EADD70027CD92 /* BaseViewController.m in Sources */,
  1198 + D2029D001E6EAE2E0027CD92 /* NSNumber+ScaleHeight.m in Sources */,
  1199 + D2029C951E6EADE10027CD92 /* UIWebView+AFNetworking.m in Sources */,
  1200 + D2029CBD1E6EADE10027CD92 /* SDWebImageManager.m in Sources */,
  1201 + D2029CB41E6EADE10027CD92 /* UIView+MJExtension.m in Sources */,
  1202 + D2029CA91E6EADE10027CD92 /* MJRefreshAutoStateFooter.m in Sources */,
  1203 + D2029D061E6EAE2E0027CD92 /* UIView+Extension.m in Sources */,
  1204 + D2029C9D1E6EADE10027CD92 /* NSObject+MJClass.m in Sources */,
  1205 + D2029CCF1E6EADE10027CD92 /* SearchHttp.m in Sources */,
  1206 + D2029C881E6EADE10027CD92 /* AFNetworkReachabilityManager.m in Sources */,
  1207 + D2029D021E6EAE2E0027CD92 /* UIImage+ScaleImageSize.m in Sources */,
  1208 + D2029BCC1E6EADD70027CD92 /* BaseView.m in Sources */,
  1209 + D2029CD41E6EADE70027CD92 /* HttpService.m in Sources */,
  1210 + );
  1211 + runOnlyForDeploymentPostprocessing = 0;
  1212 + };
  1213 + D2029B961E6EAAA50027CD92 /* Sources */ = {
  1214 + isa = PBXSourcesBuildPhase;
  1215 + buildActionMask = 2147483647;
  1216 + files = (
  1217 + D2029B9F1E6EAAA50027CD92 /* LiveVideoCloudTests.m in Sources */,
  1218 + );
  1219 + runOnlyForDeploymentPostprocessing = 0;
  1220 + };
  1221 + D2029BA11E6EAAA50027CD92 /* Sources */ = {
  1222 + isa = PBXSourcesBuildPhase;
  1223 + buildActionMask = 2147483647;
  1224 + files = (
  1225 + D2029BAA1E6EAAA50027CD92 /* LiveVideoCloudUITests.m in Sources */,
  1226 + );
  1227 + runOnlyForDeploymentPostprocessing = 0;
  1228 + };
  1229 +/* End PBXSourcesBuildPhase section */
  1230 +
  1231 +/* Begin PBXTargetDependency section */
  1232 + D2029B9C1E6EAAA50027CD92 /* PBXTargetDependency */ = {
  1233 + isa = PBXTargetDependency;
  1234 + target = D2029B801E6EAAA50027CD92 /* LiveVideoCloud */;
  1235 + targetProxy = D2029B9B1E6EAAA50027CD92 /* PBXContainerItemProxy */;
  1236 + };
  1237 + D2029BA71E6EAAA50027CD92 /* PBXTargetDependency */ = {
  1238 + isa = PBXTargetDependency;
  1239 + target = D2029B801E6EAAA50027CD92 /* LiveVideoCloud */;
  1240 + targetProxy = D2029BA61E6EAAA50027CD92 /* PBXContainerItemProxy */;
  1241 + };
  1242 +/* End PBXTargetDependency section */
  1243 +
  1244 +/* Begin PBXVariantGroup section */
  1245 + D2029B8D1E6EAAA50027CD92 /* Main.storyboard */ = {
  1246 + isa = PBXVariantGroup;
  1247 + children = (
  1248 + D2029B8E1E6EAAA50027CD92 /* Base */,
  1249 + );
  1250 + name = Main.storyboard;
  1251 + sourceTree = "<group>";
  1252 + };
  1253 + D2029B921E6EAAA50027CD92 /* LaunchScreen.storyboard */ = {
  1254 + isa = PBXVariantGroup;
  1255 + children = (
  1256 + D2029B931E6EAAA50027CD92 /* Base */,
  1257 + );
  1258 + name = LaunchScreen.storyboard;
  1259 + sourceTree = "<group>";
  1260 + };
  1261 +/* End PBXVariantGroup section */
  1262 +
  1263 +/* Begin XCBuildConfiguration section */
  1264 + D2029BAC1E6EAAA50027CD92 /* Debug */ = {
  1265 + isa = XCBuildConfiguration;
  1266 + buildSettings = {
  1267 + ALWAYS_SEARCH_USER_PATHS = NO;
  1268 + CLANG_ANALYZER_NONNULL = YES;
  1269 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  1270 + CLANG_CXX_LIBRARY = "libc++";
  1271 + CLANG_ENABLE_MODULES = YES;
  1272 + CLANG_ENABLE_OBJC_ARC = YES;
  1273 + CLANG_WARN_BOOL_CONVERSION = YES;
  1274 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  1275 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  1276 + CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
  1277 + CLANG_WARN_EMPTY_BODY = YES;
  1278 + CLANG_WARN_ENUM_CONVERSION = YES;
  1279 + CLANG_WARN_INFINITE_RECURSION = YES;
  1280 + CLANG_WARN_INT_CONVERSION = YES;
  1281 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  1282 + CLANG_WARN_SUSPICIOUS_MOVE = YES;
  1283 + CLANG_WARN_UNREACHABLE_CODE = YES;
  1284 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  1285 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  1286 + COPY_PHASE_STRIP = NO;
  1287 + DEBUG_INFORMATION_FORMAT = dwarf;
  1288 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  1289 + ENABLE_TESTABILITY = YES;
  1290 + GCC_C_LANGUAGE_STANDARD = gnu99;
  1291 + GCC_DYNAMIC_NO_PIC = NO;
  1292 + GCC_NO_COMMON_BLOCKS = YES;
  1293 + GCC_OPTIMIZATION_LEVEL = 0;
  1294 + GCC_PREPROCESSOR_DEFINITIONS = (
  1295 + "DEBUG=1",
  1296 + "$(inherited)",
  1297 + );
  1298 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  1299 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  1300 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  1301 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  1302 + GCC_WARN_UNUSED_FUNCTION = YES;
  1303 + GCC_WARN_UNUSED_VARIABLE = YES;
  1304 + IPHONEOS_DEPLOYMENT_TARGET = 10.2;
  1305 + MTL_ENABLE_DEBUG_INFO = YES;
  1306 + ONLY_ACTIVE_ARCH = YES;
  1307 + SDKROOT = iphoneos;
  1308 + TARGETED_DEVICE_FAMILY = "1,2";
  1309 + };
  1310 + name = Debug;
  1311 + };
  1312 + D2029BAD1E6EAAA50027CD92 /* Release */ = {
  1313 + isa = XCBuildConfiguration;
  1314 + buildSettings = {
  1315 + ALWAYS_SEARCH_USER_PATHS = NO;
  1316 + CLANG_ANALYZER_NONNULL = YES;
  1317 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  1318 + CLANG_CXX_LIBRARY = "libc++";
  1319 + CLANG_ENABLE_MODULES = YES;
  1320 + CLANG_ENABLE_OBJC_ARC = YES;
  1321 + CLANG_WARN_BOOL_CONVERSION = YES;
  1322 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  1323 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  1324 + CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
  1325 + CLANG_WARN_EMPTY_BODY = YES;
  1326 + CLANG_WARN_ENUM_CONVERSION = YES;
  1327 + CLANG_WARN_INFINITE_RECURSION = YES;
  1328 + CLANG_WARN_INT_CONVERSION = YES;
  1329 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  1330 + CLANG_WARN_SUSPICIOUS_MOVE = YES;
  1331 + CLANG_WARN_UNREACHABLE_CODE = YES;
  1332 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  1333 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  1334 + COPY_PHASE_STRIP = NO;
  1335 + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
  1336 + ENABLE_NS_ASSERTIONS = NO;
  1337 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  1338 + GCC_C_LANGUAGE_STANDARD = gnu99;
  1339 + GCC_NO_COMMON_BLOCKS = YES;
  1340 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  1341 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  1342 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  1343 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  1344 + GCC_WARN_UNUSED_FUNCTION = YES;
  1345 + GCC_WARN_UNUSED_VARIABLE = YES;
  1346 + IPHONEOS_DEPLOYMENT_TARGET = 10.2;
  1347 + MTL_ENABLE_DEBUG_INFO = NO;
  1348 + SDKROOT = iphoneos;
  1349 + TARGETED_DEVICE_FAMILY = "1,2";
  1350 + VALIDATE_PRODUCT = YES;
  1351 + };
  1352 + name = Release;
  1353 + };
  1354 + D2029BAF1E6EAAA50027CD92 /* Debug */ = {
  1355 + isa = XCBuildConfiguration;
  1356 + buildSettings = {
  1357 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  1358 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  1359 + GCC_PREFIX_HEADER = "$(SRCROOT)/LiveVideoCloud/PrefixHeader.pch";
  1360 + INFOPLIST_FILE = LiveVideoCloud/Info.plist;
  1361 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
  1362 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.zhangxu.LiveVideoCloud;
  1363 + PRODUCT_NAME = "$(TARGET_NAME)";
  1364 + };
  1365 + name = Debug;
  1366 + };
  1367 + D2029BB01E6EAAA50027CD92 /* Release */ = {
  1368 + isa = XCBuildConfiguration;
  1369 + buildSettings = {
  1370 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  1371 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  1372 + GCC_PREFIX_HEADER = "$(SRCROOT)/LiveVideoCloud/PrefixHeader.pch";
  1373 + INFOPLIST_FILE = LiveVideoCloud/Info.plist;
  1374 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
  1375 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.zhangxu.LiveVideoCloud;
  1376 + PRODUCT_NAME = "$(TARGET_NAME)";
  1377 + };
  1378 + name = Release;
  1379 + };
  1380 + D2029BB21E6EAAA50027CD92 /* Debug */ = {
  1381 + isa = XCBuildConfiguration;
  1382 + buildSettings = {
  1383 + BUNDLE_LOADER = "$(TEST_HOST)";
  1384 + INFOPLIST_FILE = LiveVideoCloudTests/Info.plist;
  1385 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  1386 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.zhangxu.LiveVideoCloudTests;
  1387 + PRODUCT_NAME = "$(TARGET_NAME)";
  1388 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LiveVideoCloud.app/LiveVideoCloud";
  1389 + };
  1390 + name = Debug;
  1391 + };
  1392 + D2029BB31E6EAAA50027CD92 /* Release */ = {
  1393 + isa = XCBuildConfiguration;
  1394 + buildSettings = {
  1395 + BUNDLE_LOADER = "$(TEST_HOST)";
  1396 + INFOPLIST_FILE = LiveVideoCloudTests/Info.plist;
  1397 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  1398 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.zhangxu.LiveVideoCloudTests;
  1399 + PRODUCT_NAME = "$(TARGET_NAME)";
  1400 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LiveVideoCloud.app/LiveVideoCloud";
  1401 + };
  1402 + name = Release;
  1403 + };
  1404 + D2029BB51E6EAAA50027CD92 /* Debug */ = {
  1405 + isa = XCBuildConfiguration;
  1406 + buildSettings = {
  1407 + INFOPLIST_FILE = LiveVideoCloudUITests/Info.plist;
  1408 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  1409 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.zhangxu.LiveVideoCloudUITests;
  1410 + PRODUCT_NAME = "$(TARGET_NAME)";
  1411 + TEST_TARGET_NAME = LiveVideoCloud;
  1412 + };
  1413 + name = Debug;
  1414 + };
  1415 + D2029BB61E6EAAA50027CD92 /* Release */ = {
  1416 + isa = XCBuildConfiguration;
  1417 + buildSettings = {
  1418 + INFOPLIST_FILE = LiveVideoCloudUITests/Info.plist;
  1419 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  1420 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.zhangxu.LiveVideoCloudUITests;
  1421 + PRODUCT_NAME = "$(TARGET_NAME)";
  1422 + TEST_TARGET_NAME = LiveVideoCloud;
  1423 + };
  1424 + name = Release;
  1425 + };
  1426 +/* End XCBuildConfiguration section */
  1427 +
  1428 +/* Begin XCConfigurationList section */
  1429 + D2029B7C1E6EAAA50027CD92 /* Build configuration list for PBXProject "LiveVideoCloud" */ = {
  1430 + isa = XCConfigurationList;
  1431 + buildConfigurations = (
  1432 + D2029BAC1E6EAAA50027CD92 /* Debug */,
  1433 + D2029BAD1E6EAAA50027CD92 /* Release */,
  1434 + );
  1435 + defaultConfigurationIsVisible = 0;
  1436 + defaultConfigurationName = Release;
  1437 + };
  1438 + D2029BAE1E6EAAA50027CD92 /* Build configuration list for PBXNativeTarget "LiveVideoCloud" */ = {
  1439 + isa = XCConfigurationList;
  1440 + buildConfigurations = (
  1441 + D2029BAF1E6EAAA50027CD92 /* Debug */,
  1442 + D2029BB01E6EAAA50027CD92 /* Release */,
  1443 + );
  1444 + defaultConfigurationIsVisible = 0;
  1445 + defaultConfigurationName = Release;
  1446 + };
  1447 + D2029BB11E6EAAA50027CD92 /* Build configuration list for PBXNativeTarget "LiveVideoCloudTests" */ = {
  1448 + isa = XCConfigurationList;
  1449 + buildConfigurations = (
  1450 + D2029BB21E6EAAA50027CD92 /* Debug */,
  1451 + D2029BB31E6EAAA50027CD92 /* Release */,
  1452 + );
  1453 + defaultConfigurationIsVisible = 0;
  1454 + defaultConfigurationName = Release;
  1455 + };
  1456 + D2029BB41E6EAAA50027CD92 /* Build configuration list for PBXNativeTarget "LiveVideoCloudUITests" */ = {
  1457 + isa = XCConfigurationList;
  1458 + buildConfigurations = (
  1459 + D2029BB51E6EAAA50027CD92 /* Debug */,
  1460 + D2029BB61E6EAAA50027CD92 /* Release */,
  1461 + );
  1462 + defaultConfigurationIsVisible = 0;
  1463 + defaultConfigurationName = Release;
  1464 + };
  1465 +/* End XCConfigurationList section */
  1466 + };
  1467 + rootObject = D2029B791E6EAAA50027CD92 /* Project object */;
  1468 +}
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseModel.h 0 → 100644
  1 +//
  2 +// BaseModel.h
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +
  11 +@interface BaseModel : NSObject
  12 +
  13 +/** 字典初始化模型 dic -> model */
  14 ++ (id _Nullable)modelWithDic:(NSDictionary <NSString * , id>*_Nullable)dic;
  15 +
  16 +/**
  17 + 子类重写
  18 + */
  19 +- (void)loadModel; // init时调用
  20 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseModel.m 0 → 100644
  1 +//
  2 +// BaseModel.m
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "BaseModel.h"
  10 +
  11 +@implementation BaseModel
  12 +
  13 +/** 字典初始化模型 dic -> models */
  14 ++ (id _Nullable)modelWithDic:(NSDictionary <NSString * , id>*_Nullable)dic
  15 +{
  16 + return [[[self alloc] init] mj_setKeyValues:dic];
  17 +}
  18 +
  19 +- (instancetype)init
  20 +{
  21 + if (self = [super init]) {
  22 + [self loadModel];
  23 + }
  24 + return self;
  25 +}
  26 +
  27 +- (void)loadModel {}
  28 +
  29 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseTableViewCell.h 0 → 100644
  1 +//
  2 +// BaseTableViewCell.h
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface BaseTableViewCell : UITableViewCell
  12 +
  13 +/**
  14 + * 加载视图
  15 + */
  16 +- (void)bindView;
  17 +
  18 +/**
  19 + * 加载模型
  20 + */
  21 +- (void)bindModel;
  22 +
  23 +/**
  24 + * 加载方法
  25 + */
  26 +- (void)bindAction;
  27 +
  28 +- (void)loadUIWithModel:(id)model;
  29 +
  30 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseTableViewCell.m 0 → 100644
  1 +//
  2 +// BaseTableViewCell.m
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "BaseTableViewCell.h"
  10 +
  11 +@implementation BaseTableViewCell
  12 +
  13 +- (void)loadUIWithModel:(id)model
  14 +{
  15 +
  16 +}
  17 +
  18 +- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
  19 +{
  20 + self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
  21 + if (self) {
  22 + [self bindModel];
  23 + [self bindView];
  24 + [self bindAction];
  25 + }
  26 + return self;
  27 +}
  28 +
  29 +/**
  30 + * 加载视图
  31 + */
  32 +- (void)bindView {}
  33 +
  34 +/**
  35 + * 加载模型
  36 + */
  37 +- (void)bindModel {}
  38 +
  39 +/**
  40 + * 加载方法
  41 + */
  42 +- (void)bindAction {}
  43 +
  44 +- (void)awakeFromNib {
  45 + [super awakeFromNib];
  46 +}
  47 +
  48 +- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  49 + [super setSelected:selected animated:animated];
  50 +}
  51 +
  52 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseView.h 0 → 100644
  1 +//
  2 +// BaseView.h
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/11.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface BaseView : UIView
  12 +
  13 +- (void) binView;
  14 +
  15 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseView.m 0 → 100644
  1 +//
  2 +// BaseView.m
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/11.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "BaseView.h"
  10 +
  11 +@implementation BaseView
  12 +
  13 +/**
  14 + * 初始化
  15 + *
  16 + * @return self
  17 + */
  18 +- (instancetype)init {
  19 + self = [super init];
  20 +
  21 + if (self) {
  22 + [self binView];
  23 + }
  24 + return self;
  25 +}
  26 +
  27 +- (void) binView {
  28 +
  29 +}
  30 +
  31 +/*
  32 +// Only override drawRect: if you perform custom drawing.
  33 +// An empty implementation adversely affects performance during animation.
  34 +- (void)drawRect:(CGRect)rect {
  35 + // Drawing code
  36 +}
  37 +*/
  38 +
  39 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseViewController.h 0 → 100644
  1 +//
  2 +// BaseViewController.h
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface BaseViewController : UIViewController
  12 +
  13 +@property (nonatomic, strong) UIButton *btnRight;
  14 +@property (nonatomic, strong) UIButton *btnLeft;
  15 +
  16 +@property (nonatomic) BOOL isModalButton;
  17 +
  18 +/**
  19 + * 加载视图
  20 + */
  21 +- (void)bindView;
  22 +
  23 +/**
  24 + * 加载模型
  25 + */
  26 +- (void)bindModel;
  27 +
  28 +/**
  29 + * 加载方法
  30 + */
  31 +- (void)bindAction;
  32 +
  33 +- (void)onBackAction;
  34 +
  35 +- (void)onRightAction;
  36 +
  37 +/**
  38 + * 词典转换为字符串
  39 + */
  40 +- (NSString*)dictionaryToJson:(NSDictionary *)dic;
  41 +
  42 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Base/BaseViewController.m 0 → 100644
  1 +//
  2 +// BaseViewController.m
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "BaseViewController.h"
  10 +
  11 +@interface BaseViewController ()
  12 +
  13 +@end
  14 +
  15 +@implementation BaseViewController
  16 +
  17 +- (id)init {
  18 + self = [super init];
  19 + if (self) {
  20 +
  21 + [self initParameters];
  22 + self.isModalButton = NO;
  23 + }
  24 + return self;
  25 +}
  26 +
  27 +- (void)viewDidLoad {
  28 + [super viewDidLoad];
  29 + // Do any additional setup after loading the view.
  30 +
  31 + self.view.backgroundColor = [UIColor whiteColor];
  32 +
  33 + [self navigationSet];
  34 + [self bindModel];
  35 + [self bindView];
  36 + [self bindAction];
  37 +}
  38 +
  39 +- (void)initParameters {}
  40 +
  41 +/**
  42 + * 导航按钮设置
  43 + */
  44 +- (void)navigationSet{
  45 +
  46 + self.btnRight = [UIButton buttonWithType:UIButtonTypeCustom];
  47 + [_btnRight setFrame:CGRectMake(0, 0, 25, 20)];
  48 + [_btnRight addTarget:self action:@selector(onRightAction) forControlEvents:UIControlEventTouchUpInside];
  49 +
  50 + _btnRight.titleLabel.textAlignment = NSTextAlignmentRight;
  51 + _btnRight.titleLabel.font = [UIFont systemFontOfSize:15];
  52 + UIBarButtonItem *rightBtn = [[UIBarButtonItem alloc]initWithCustomView:_btnRight];
  53 + self.navigationItem.rightBarButtonItem = rightBtn;
  54 + self.btnRight.hidden = YES;
  55 +
  56 + self.btnLeft = [UIButton buttonWithType:UIButtonTypeCustom];
  57 + [_btnLeft setFrame:CGRectMake(0, 0, 30, 30)];
  58 + [_btnLeft addTarget:self action:@selector(onBackAction) forControlEvents:UIControlEventTouchUpInside];
  59 +
  60 + [_btnLeft setBackgroundImage:[UIImage imageNamed:@"返回按钮"] forState:UIControlStateNormal];
  61 + [_btnLeft setBackgroundImage:[UIImage imageNamed:@"返回按钮_p"] forState:UIControlStateHighlighted];
  62 + _btnLeft.highlighted = NO;
  63 + UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithCustomView:_btnLeft];
  64 +
  65 + UIBarButtonItem * negativeSpacer = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil];
  66 + negativeSpacer.width = -8;//默认leftItemX == 18,要求距左边10
  67 + [self.navigationItem setLeftBarButtonItems:[NSArray arrayWithObjects:negativeSpacer,backItem, nil]];
  68 +}
  69 +
  70 +/**
  71 + * 加载视图
  72 + */
  73 +- (void)bindView {
  74 +}
  75 +
  76 +/**
  77 + * 加载模型
  78 + */
  79 +- (void)bindModel {
  80 +}
  81 +
  82 +/**
  83 + * 加载方法
  84 + */
  85 +- (void)bindAction {
  86 +}
  87 +
  88 +- (void)loadViews {
  89 +
  90 +}
  91 +
  92 +//*****************************************************************
  93 +// MARK: - actions
  94 +//*****************************************************************
  95 +
  96 +/**
  97 + * 导航控制器上角按钮方法
  98 + */
  99 +- (void)onBackAction {
  100 +
  101 + if(self.isModalButton) {
  102 + [self dismissViewControllerAnimated:YES completion:NULL];
  103 + } else {
  104 + [self.navigationController popViewControllerAnimated:YES];
  105 + }
  106 +}
  107 +- (void)onRightAction
  108 +{
  109 +}
  110 +
  111 +/** 词典转换为字符串 */
  112 +- (NSString*)dictionaryToJson:(NSDictionary *)dic {
  113 +
  114 + NSError *parseError = nil;
  115 +
  116 + NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dic options:NSJSONWritingPrettyPrinted error:&parseError];
  117 + return [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
  118 +}
  119 +
  120 +- (void)didReceiveMemoryWarning {
  121 + [super didReceiveMemoryWarning];
  122 + // Dispose of any resources that can be recreated.
  123 +}
  124 +
  125 +/*
  126 +#pragma mark - Navigation
  127 +
  128 +// In a storyboard-based application, you will often want to do a little preparation before navigation
  129 +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  130 + // Get the new view controller using [segue destinationViewController].
  131 + // Pass the selected object to the new view controller.
  132 +}
  133 +*/
  134 +
  135 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Main/ZXNavigationController.h 0 → 100644
  1 +//
  2 +// ZXNavigationController.h
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface ZXNavigationController : UINavigationController
  12 +
  13 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Main/ZXNavigationController.m 0 → 100644
  1 +//
  2 +// ZXNavigationController.m
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "ZXNavigationController.h"
  10 +
  11 +@interface ZXNavigationController ()<UIGestureRecognizerDelegate>
  12 +
  13 +@end
  14 +
  15 +@implementation ZXNavigationController
  16 +
  17 +- (void)viewDidLoad {
  18 + [super viewDidLoad];
  19 + // Do any additional setup after loading the view.
  20 + [UINavigationBar appearance].translucent = YES;
  21 +
  22 + self.interactivePopGestureRecognizer.delegate = self;
  23 + self.interactivePopGestureRecognizer.enabled = YES;
  24 +
  25 + [[UINavigationBar appearance] setBarTintColor:[UIColor whiteColor]];
  26 +}
  27 +
  28 +/**
  29 + * 重写push目的:拦截所有push进来的子控制器
  30 + *
  31 + *
  32 + */
  33 +-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
  34 +{
  35 + if(self.childViewControllers.count >= 1)
  36 + {
  37 + //隐藏底部的工具条
  38 + viewController.hidesBottomBarWhenPushed = YES;
  39 + }
  40 + //所有设置完成后再push控制器
  41 + [super pushViewController:viewController animated:animated];//tabbar的根控制器也是push进来的childViewControllers = 1
  42 +
  43 +}
  44 +
  45 +- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
  46 +{
  47 + if (self.viewControllers.count < 2)
  48 + return NO;
  49 +
  50 + return YES;
  51 +}
  52 +
  53 +-(BOOL)shouldAutorotate{
  54 + return NO;
  55 +}
  56 +
  57 +- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
  58 +
  59 + return UIInterfaceOrientationMaskPortrait;
  60 +}
  61 +
  62 +
  63 +- (void)didReceiveMemoryWarning {
  64 + [super didReceiveMemoryWarning];
  65 + // Dispose of any resources that can be recreated.
  66 +}
  67 +
  68 +/*
  69 +#pragma mark - Navigation
  70 +
  71 +// In a storyboard-based application, you will often want to do a little preparation before navigation
  72 +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  73 + // Get the new view controller using [segue destinationViewController].
  74 + // Pass the selected object to the new view controller.
  75 +}
  76 +*/
  77 +
  78 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Main/ZXTabBarController.h 0 → 100644
  1 +//
  2 +// ZXTabBarController.h
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface ZXTabBarController : UITabBarController
  12 +
  13 +@end
LiveVideoCloud/LiveVideoCloud/AppCustoms/Main/ZXTabBarController.m 0 → 100644
  1 +//
  2 +// ZXTabBarController.m
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/10.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "ZXTabBarController.h"
  10 +#import "ZXNavigationController.h"
  11 +#import "HomeViewController.h"
  12 +
  13 +@interface ZXTabBarController ()
  14 +
  15 +@end
  16 +
  17 +@implementation ZXTabBarController
  18 +
  19 +- (void)viewDidLoad {
  20 + [super viewDidLoad];
  21 + // Do any additional setup after loading the view.
  22 +
  23 + [[UITabBar appearance] setBarTintColor:[UIColor whiteColor]];
  24 + //取消tabBar的透明效果
  25 + [UITabBar appearance].translucent = NO;
  26 +
  27 + [self setupItemTitleTextAttributes];
  28 + [self createUI];
  29 +}
  30 +
  31 +- (void)setupItemTitleTextAttributes
  32 +{
  33 + UITabBarItem *item = [UITabBarItem appearance];
  34 + //普通状态下的文字属性
  35 + NSMutableDictionary *nomalAttrs = [NSMutableDictionary dictionary];
  36 + nomalAttrs[NSFontAttributeName] = [UIFont systemFontOfSize:14.0];
  37 + nomalAttrs[NSForegroundColorAttributeName] = [UIColor grayColor];
  38 + [item setTitleTextAttributes:nomalAttrs forState:UIControlStateNormal];
  39 + //选中状态下的文字属性
  40 + NSMutableDictionary *selectedAttrs = [NSMutableDictionary dictionary];
  41 + selectedAttrs[NSForegroundColorAttributeName] = [UIColor redColor];
  42 + [item setTitleTextAttributes:selectedAttrs forState:UIControlStateSelected];
  43 +}
  44 +
  45 +- (void)createUI
  46 +{
  47 + [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[HomeViewController alloc]init]] title:@"首页" image:@"home page" selectedImage:@"home page-click on"];
  48 +}
  49 +
  50 +- (void)setupOneChildViewController:(UIViewController *)vc title:(NSString *)title image:(NSString *)image selectedImage:(NSString *)selectedImage
  51 +{
  52 + if (![title isEqualToString:@""]) {
  53 + vc.title = title;
  54 + }
  55 +
  56 + if(image.length)//图片名有值
  57 + {
  58 + vc.tabBarItem.image = [UIImage imageNamed:image];
  59 + vc.tabBarItem.selectedImage = [UIImage imageNamed:selectedImage];
  60 + }
  61 + [self addChildViewController:vc];
  62 +}
  63 +
  64 +-(BOOL)shouldAutorotate{
  65 + return NO;
  66 +}
  67 +
  68 +- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
  69 +
  70 + return UIInterfaceOrientationMaskPortrait;
  71 +}
  72 +
  73 +- (void)didReceiveMemoryWarning {
  74 + [super didReceiveMemoryWarning];
  75 + // Dispose of any resources that can be recreated.
  76 +}
  77 +
  78 +/*
  79 +#pragma mark - Navigation
  80 +
  81 +// In a storyboard-based application, you will often want to do a little preparation before navigation
  82 +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  83 + // Get the new view controller using [segue destinationViewController].
  84 + // Pass the selected object to the new view controller.
  85 +}
  86 +*/
  87 +
  88 +@end
LiveVideoCloud/LiveVideoCloud/AppDelegate/AppDelegate.h 0 → 100644
  1 +//
  2 +// AppDelegate.h
  3 +// LiveVideoCloud
  4 +//
  5 +// Created by 张旭 on 2017/3/7.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface AppDelegate : UIResponder <UIApplicationDelegate>
  12 +
  13 +@property (strong, nonatomic) UIWindow *_Nonnull window;
  14 +@property (nonatomic ,copy) NSString *_Nonnull deviceName;
  15 +
  16 +@end
  17 +
LiveVideoCloud/LiveVideoCloud/AppDelegate/AppDelegate.m 0 → 100644
  1 +//
  2 +// AppDelegate.m
  3 +// LiveVideoCloud
  4 +//
  5 +// Created by 张旭 on 2017/3/7.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "AppDelegate.h"
  10 +#import "ZXTabBarController.h"
  11 +@interface AppDelegate ()
  12 +
  13 +@end
  14 +
  15 +@implementation AppDelegate
  16 +
  17 +
  18 +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  19 + // Override point for customization after application launch.
  20 +
  21 + self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  22 + self.window.rootViewController = [[ZXTabBarController alloc] init];
  23 + [self.window makeKeyAndVisible];
  24 + return YES;
  25 +}
  26 +
  27 +
  28 +- (void)applicationWillResignActive:(UIApplication *)application {
  29 + // 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.
  30 + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
  31 +}
  32 +
  33 +
  34 +- (void)applicationDidEnterBackground:(UIApplication *)application {
  35 + // 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.
  36 + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
  37 +}
  38 +
  39 +
  40 +- (void)applicationWillEnterForeground:(UIApplication *)application {
  41 + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
  42 +}
  43 +
  44 +
  45 +- (void)applicationDidBecomeActive:(UIApplication *)application {
  46 + // 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.
  47 +}
  48 +
  49 +
  50 +- (void)applicationWillTerminate:(UIApplication *)application {
  51 + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
  52 +}
  53 +
  54 +
  55 +@end
LiveVideoCloud/LiveVideoCloud/Assets.xcassets/AppIcon.appiconset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "iphone",
  5 + "size" : "29x29",
  6 + "scale" : "2x"
  7 + },
  8 + {
  9 + "idiom" : "iphone",
  10 + "size" : "29x29",
  11 + "scale" : "3x"
  12 + },
  13 + {
  14 + "idiom" : "iphone",
  15 + "size" : "40x40",
  16 + "scale" : "2x"
  17 + },
  18 + {
  19 + "idiom" : "iphone",
  20 + "size" : "40x40",
  21 + "scale" : "3x"
  22 + },
  23 + {
  24 + "idiom" : "iphone",
  25 + "size" : "60x60",
  26 + "scale" : "2x"
  27 + },
  28 + {
  29 + "idiom" : "iphone",
  30 + "size" : "60x60",
  31 + "scale" : "3x"
  32 + },
  33 + {
  34 + "idiom" : "ipad",
  35 + "size" : "29x29",
  36 + "scale" : "1x"
  37 + },
  38 + {
  39 + "idiom" : "ipad",
  40 + "size" : "29x29",
  41 + "scale" : "2x"
  42 + },
  43 + {
  44 + "idiom" : "ipad",
  45 + "size" : "40x40",
  46 + "scale" : "1x"
  47 + },
  48 + {
  49 + "idiom" : "ipad",
  50 + "size" : "40x40",
  51 + "scale" : "2x"
  52 + },
  53 + {
  54 + "idiom" : "ipad",
  55 + "size" : "76x76",
  56 + "scale" : "1x"
  57 + },
  58 + {
  59 + "idiom" : "ipad",
  60 + "size" : "76x76",
  61 + "scale" : "2x"
  62 + }
  63 + ],
  64 + "info" : {
  65 + "version" : 1,
  66 + "author" : "xcode"
  67 + }
  68 +}
0 \ No newline at end of file 69 \ No newline at end of file
LiveVideoCloud/LiveVideoCloud/Base.lproj/LaunchScreen.storyboard 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
  5 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  6 + </dependencies>
  7 + <scenes>
  8 + <!--View Controller-->
  9 + <scene sceneID="EHf-IW-A2E">
  10 + <objects>
  11 + <viewController id="01J-lp-oVM" sceneMemberID="viewController">
  12 + <layoutGuides>
  13 + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
  14 + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
  15 + </layoutGuides>
  16 + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
  17 + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  18 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  20 + </view>
  21 + </viewController>
  22 + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
  23 + </objects>
  24 + <point key="canvasLocation" x="53" y="375"/>
  25 + </scene>
  26 + </scenes>
  27 +</document>
LiveVideoCloud/LiveVideoCloud/Base.lproj/Main.storyboard 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
  5 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  6 + </dependencies>
  7 + <scenes>
  8 + <!--View Controller-->
  9 + <scene sceneID="tne-QT-ifu">
  10 + <objects>
  11 + <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
  12 + <layoutGuides>
  13 + <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
  14 + <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
  15 + </layoutGuides>
  16 + <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
  17 + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  18 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  20 + </view>
  21 + </viewController>
  22 + <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
  23 + </objects>
  24 + </scene>
  25 + </scenes>
  26 +</document>
LiveVideoCloud/LiveVideoCloud/Classes/Helpers/Tools.h 0 → 100644
  1 +//
  2 +// Tools.h
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/11.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +
  11 +@interface Tools : NSObject
  12 +
  13 +
  14 +typedef NS_ENUM(NSInteger, ShowMessageType) {//消息背景类型
  15 + ShowMessageTypeClear = 1,//透明背景
  16 + ShowMessageTypeBlack ,//半透明背景
  17 +};
  18 +
  19 +/**
  20 + 弹出页
  21 +
  22 + @param message 出框展示消息
  23 + @param imageName 弹出框内图片名称
  24 + @param view 将弹出框添加到的视图
  25 + @param showMessageType 背景类型
  26 + @param callBackBlock 弹出框消失时回调
  27 + */
  28 ++ (void)showBouncedWithMessage:(NSString *_Nullable)message leftImageName:(NSString *_Nonnull)imageName toView:(UIView *_Nullable)view showMessageType:(ShowMessageType)showMessageType callBackBlock:(void (^ _Nullable)())callBackBlock;
  29 +
  30 +@end
LiveVideoCloud/LiveVideoCloud/Classes/Helpers/Tools.m 0 → 100644
  1 +//
  2 +// Tools.m
  3 +// ZXBaseProject
  4 +//
  5 +// Created by 张旭 on 2017/1/11.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "Tools.h"
  10 +
  11 +@implementation Tools
  12 +
  13 +/**
  14 + 弹出页
  15 +
  16 + @param message 出框展示消息
  17 + @param imageName 弹出框内图片名称
  18 + @param view 将弹出框添加到的视图
  19 + @param showMessageType 背景类型
  20 + @param callBackBlock 弹出框消失时回调
  21 + */
  22 ++ (void)showBouncedWithMessage:(NSString *_Nullable)message leftImageName:(NSString *_Nonnull)imageName toView:(UIView *_Nullable)view showMessageType:(ShowMessageType)showMessageType callBackBlock:(void (^ _Nullable)())callBackBlock
  23 +{
  24 + UIImageView *toView = [[UIImageView alloc] initWithFrame:view.bounds];
  25 + switch (showMessageType) {
  26 + case ShowMessageTypeClear:
  27 + {
  28 +
  29 + }
  30 + break;
  31 + case ShowMessageTypeBlack:
  32 + {
  33 + toView.image = [UIImage imageNamed:@"整屏黑蒙版"];
  34 + }
  35 + break;
  36 + default:
  37 + break;
  38 + }
  39 + [view addSubview:toView];
  40 +
  41 + UIImageView *centerView = [[UIImageView alloc] initWithFrame:CGRectMake(100, SCREEN_HEIGHT, 150, 50)];
  42 + centerView.centerX = toView.centerX;
  43 + centerView.image = [UIImage imageNamed:@"提示背景50"];
  44 + [toView addSubview:centerView];
  45 +
  46 + UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:imageName]];
  47 + imageView.width = imageView.width * 0.5;
  48 + imageView.height = imageView.height * 0.5;
  49 + imageView.centerY = centerView.height * 0.5;
  50 + [centerView addSubview:imageView];
  51 +
  52 + UILabel *titleLabel = [[UILabel alloc] init];
  53 + titleLabel.text = message;
  54 + titleLabel.textColor = [UIColor whiteColor];
  55 + titleLabel.font = kTitleLabelFont;
  56 + titleLabel.frame = CGRectMake(5, 10, [titleLabel labelSize].width, [titleLabel labelSize].height);
  57 + titleLabel.centerY = centerView.height * 0.5;
  58 + CGFloat left =(centerView.width - [titleLabel labelSize].width - 5 - imageView.width) * 0.5;
  59 + imageView.left = left;
  60 + titleLabel.left = imageView.right + 5;
  61 + [centerView addSubview:titleLabel];
  62 +
  63 + NSTimer *newTimer = [NSTimer timerWithTimeInterval:2.0 repeats:NO block:^(NSTimer * _Nonnull timer) {
  64 + [UIView animateWithDuration:0.75 animations:^{
  65 + centerView.top = SCREEN_HEIGHT;
  66 +
  67 + } completion:^(BOOL finished) {
  68 + [toView removeFromSuperview];
  69 + [centerView removeFromSuperview];
  70 + callBackBlock();
  71 + }];
  72 + }];
  73 + [[NSRunLoop currentRunLoop] addTimer:newTimer forMode:NSRunLoopCommonModes];
  74 +
  75 + [UIView animateWithDuration:0.75 animations:^{
  76 + centerView.centerY = toView.centerY;
  77 +
  78 + } completion:^(BOOL finished) {
  79 +
  80 + }];
  81 +}
  82 +
  83 +@end
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFHTTPSessionManager.h 0 → 100755
  1 +// AFHTTPSessionManager.h
  2 +// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3 +//
  4 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  5 +// of this software and associated documentation files (the "Software"), to deal
  6 +// in the Software without restriction, including without limitation the rights
  7 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8 +// copies of the Software, and to permit persons to whom the Software is
  9 +// furnished to do so, subject to the following conditions:
  10 +//
  11 +// The above copyright notice and this permission notice shall be included in
  12 +// all copies or substantial portions of the Software.
  13 +//
  14 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +// THE SOFTWARE.
  21 +
  22 +#import <Foundation/Foundation.h>
  23 +#if !TARGET_OS_WATCH
  24 +#import <SystemConfiguration/SystemConfiguration.h>
  25 +#endif
  26 +#import <TargetConditionals.h>
  27 +
  28 +#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV
  29 +#import <MobileCoreServices/MobileCoreServices.h>
  30 +#else
  31 +#import <CoreServices/CoreServices.h>
  32 +#endif
  33 +
  34 +#import "AFURLSessionManager.h"
  35 +
  36 +/**
  37 + `AFHTTPSessionManager` is a subclass of `AFURLSessionManager` with convenience methods for making HTTP requests. When a `baseURL` is provided, requests made with the `GET` / `POST` / et al. convenience methods can be made with relative paths.
  38 +
  39 + ## Subclassing Notes
  40 +
  41 + Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.
  42 +
  43 + For developers targeting iOS 6 or Mac OS X 10.8 or earlier, `AFHTTPRequestOperationManager` may be used to similar effect.
  44 +
  45 + ## Methods to Override
  46 +
  47 + To change the behavior of all data task operation construction, which is also used in the `GET` / `POST` / et al. convenience methods, override `dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:`.
  48 +
  49 + ## Serialization
  50 +
  51 + Requests created by an HTTP client will contain default headers and encode parameters according to the `requestSerializer` property, which is an object conforming to `<AFURLRequestSerialization>`.
  52 +
  53 + Responses received from the server are automatically validated and serialized by the `responseSerializers` property, which is an object conforming to `<AFURLResponseSerialization>`
  54 +
  55 + ## URL Construction Using Relative Paths
  56 +
  57 + For HTTP convenience methods, the request serializer constructs URLs from the path relative to the `-baseURL`, using `NSURL +URLWithString:relativeToURL:`, when provided. If `baseURL` is `nil`, `path` needs to resolve to a valid `NSURL` object using `NSURL +URLWithString:`.
  58 +
  59 + Below are a few examples of how `baseURL` and relative paths interact:
  60 +
  61 + NSURL *baseURL = [NSURL URLWithString:@"http://example.com/v1/"];
  62 + [NSURL URLWithString:@"foo" relativeToURL:baseURL]; // http://example.com/v1/foo
  63 + [NSURL URLWithString:@"foo?bar=baz" relativeToURL:baseURL]; // http://example.com/v1/foo?bar=baz
  64 + [NSURL URLWithString:@"/foo" relativeToURL:baseURL]; // http://example.com/foo
  65 + [NSURL URLWithString:@"foo/" relativeToURL:baseURL]; // http://example.com/v1/foo
  66 + [NSURL URLWithString:@"/foo/" relativeToURL:baseURL]; // http://example.com/foo/
  67 + [NSURL URLWithString:@"http://example2.com/" relativeToURL:baseURL]; // http://example2.com/
  68 +
  69 + Also important to note is that a trailing slash will be added to any `baseURL` without one. This would otherwise cause unexpected behavior when constructing URLs using paths without a leading slash.
  70 +
  71 + @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.
  72 + */
  73 +
  74 +NS_ASSUME_NONNULL_BEGIN
  75 +
  76 +@interface AFHTTPSessionManager : AFURLSessionManager <NSSecureCoding, NSCopying>
  77 +
  78 +/**
  79 + The URL used to construct requests from relative paths in methods like `requestWithMethod:URLString:parameters:`, and the `GET` / `POST` / et al. convenience methods.
  80 + */
  81 +@property (readonly, nonatomic, strong, nullable) NSURL *baseURL;
  82 +
  83 +/**
  84 + Requests created with `requestWithMethod:URLString:parameters:` & `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:` are constructed with a set of default headers using a parameter serialization specified by this property. By default, this is set to an instance of `AFHTTPRequestSerializer`, which serializes query string parameters for `GET`, `HEAD`, and `DELETE` requests, or otherwise URL-form-encodes HTTP message bodies.
  85 +
  86 + @warning `requestSerializer` must not be `nil`.
  87 + */
  88 +@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
  89 +
  90 +/**
  91 + Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.
  92 +
  93 + @warning `responseSerializer` must not be `nil`.
  94 + */
  95 +@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
  96 +
  97 +///-------------------------------
  98 +/// @name Managing Security Policy
  99 +///-------------------------------
  100 +
  101 +/**
  102 + The security policy used by created session to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified. A security policy configured with `AFSSLPinningModePublicKey` or `AFSSLPinningModeCertificate` can only be applied on a session manager initialized with a secure base URL (i.e. https). Applying a security policy with pinning enabled on an insecure session manager throws an `Invalid Security Policy` exception.
  103 + */
  104 +@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
  105 +
  106 +///---------------------
  107 +/// @name Initialization
  108 +///---------------------
  109 +
  110 +/**
  111 + Creates and returns an `AFHTTPSessionManager` object.
  112 + */
  113 ++ (instancetype)manager;
  114 +
  115 +/**
  116 + Initializes an `AFHTTPSessionManager` object with the specified base URL.
  117 +
  118 + @param url The base URL for the HTTP client.
  119 +
  120 + @return The newly-initialized HTTP client
  121 + */
  122 +- (instancetype)initWithBaseURL:(nullable NSURL *)url;
  123 +
  124 +/**
  125 + Initializes an `AFHTTPSessionManager` object with the specified base URL.
  126 +
  127 + This is the designated initializer.
  128 +
  129 + @param url The base URL for the HTTP client.
  130 + @param configuration The configuration used to create the managed session.
  131 +
  132 + @return The newly-initialized HTTP client
  133 + */
  134 +- (instancetype)initWithBaseURL:(nullable NSURL *)url
  135 + sessionConfiguration:(nullable NSURLSessionConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
  136 +
  137 +///---------------------------
  138 +/// @name Making HTTP Requests
  139 +///---------------------------
  140 +
  141 +/**
  142 + Creates and runs an `NSURLSessionDataTask` with a `GET` request.
  143 +
  144 + @param URLString The URL string used to create the request URL.
  145 + @param parameters The parameters to be encoded according to the client request serializer.
  146 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  147 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  148 +
  149 + @see -dataTaskWithRequest:completionHandler:
  150 + */
  151 +- (nullable NSURLSessionDataTask *)GET:(NSString *)URLString
  152 + parameters:(nullable id)parameters
  153 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  154 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure DEPRECATED_ATTRIBUTE;
  155 +
  156 +
  157 +/**
  158 + Creates and runs an `NSURLSessionDataTask` with a `GET` request.
  159 +
  160 + @param URLString The URL string used to create the request URL.
  161 + @param parameters The parameters to be encoded according to the client request serializer.
  162 + @param downloadProgress A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.
  163 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  164 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  165 +
  166 + @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:
  167 + */
  168 +- (nullable NSURLSessionDataTask *)GET:(NSString *)URLString
  169 + parameters:(nullable id)parameters
  170 + progress:(nullable void (^)(NSProgress *downloadProgress))downloadProgress
  171 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  172 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
  173 +
  174 +/**
  175 + Creates and runs an `NSURLSessionDataTask` with a `HEAD` request.
  176 +
  177 + @param URLString The URL string used to create the request URL.
  178 + @param parameters The parameters to be encoded according to the client request serializer.
  179 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes a single arguments: the data task.
  180 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  181 +
  182 + @see -dataTaskWithRequest:completionHandler:
  183 + */
  184 +- (nullable NSURLSessionDataTask *)HEAD:(NSString *)URLString
  185 + parameters:(nullable id)parameters
  186 + success:(nullable void (^)(NSURLSessionDataTask *task))success
  187 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
  188 +
  189 +/**
  190 + Creates and runs an `NSURLSessionDataTask` with a `POST` request.
  191 +
  192 + @param URLString The URL string used to create the request URL.
  193 + @param parameters The parameters to be encoded according to the client request serializer.
  194 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  195 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  196 +
  197 + @see -dataTaskWithRequest:completionHandler:
  198 + */
  199 +- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString
  200 + parameters:(nullable id)parameters
  201 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  202 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure DEPRECATED_ATTRIBUTE;
  203 +
  204 +/**
  205 + Creates and runs an `NSURLSessionDataTask` with a `POST` request.
  206 +
  207 + @param URLString The URL string used to create the request URL.
  208 + @param parameters The parameters to be encoded according to the client request serializer.
  209 + @param uploadProgress A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
  210 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  211 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  212 +
  213 + @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:
  214 + */
  215 +- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString
  216 + parameters:(nullable id)parameters
  217 + progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress
  218 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  219 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
  220 +
  221 +/**
  222 + Creates and runs an `NSURLSessionDataTask` with a multipart `POST` request.
  223 +
  224 + @param URLString The URL string used to create the request URL.
  225 + @param parameters The parameters to be encoded according to the client request serializer.
  226 + @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
  227 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  228 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  229 +
  230 + @see -dataTaskWithRequest:completionHandler:
  231 + */
  232 +- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString
  233 + parameters:(nullable id)parameters
  234 + constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block
  235 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  236 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure DEPRECATED_ATTRIBUTE;
  237 +
  238 +/**
  239 + Creates and runs an `NSURLSessionDataTask` with a multipart `POST` request.
  240 +
  241 + @param URLString The URL string used to create the request URL.
  242 + @param parameters The parameters to be encoded according to the client request serializer.
  243 + @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
  244 + @param uploadProgress A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
  245 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  246 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  247 +
  248 + @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:
  249 + */
  250 +- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString
  251 + parameters:(nullable id)parameters
  252 + constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block
  253 + progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress
  254 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  255 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
  256 +
  257 +/**
  258 + Creates and runs an `NSURLSessionDataTask` with a `PUT` request.
  259 +
  260 + @param URLString The URL string used to create the request URL.
  261 + @param parameters The parameters to be encoded according to the client request serializer.
  262 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  263 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  264 +
  265 + @see -dataTaskWithRequest:completionHandler:
  266 + */
  267 +- (nullable NSURLSessionDataTask *)PUT:(NSString *)URLString
  268 + parameters:(nullable id)parameters
  269 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  270 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
  271 +
  272 +/**
  273 + Creates and runs an `NSURLSessionDataTask` with a `PATCH` request.
  274 +
  275 + @param URLString The URL string used to create the request URL.
  276 + @param parameters The parameters to be encoded according to the client request serializer.
  277 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  278 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  279 +
  280 + @see -dataTaskWithRequest:completionHandler:
  281 + */
  282 +- (nullable NSURLSessionDataTask *)PATCH:(NSString *)URLString
  283 + parameters:(nullable id)parameters
  284 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  285 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
  286 +
  287 +/**
  288 + Creates and runs an `NSURLSessionDataTask` with a `DELETE` request.
  289 +
  290 + @param URLString The URL string used to create the request URL.
  291 + @param parameters The parameters to be encoded according to the client request serializer.
  292 + @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
  293 + @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
  294 +
  295 + @see -dataTaskWithRequest:completionHandler:
  296 + */
  297 +- (nullable NSURLSessionDataTask *)DELETE:(NSString *)URLString
  298 + parameters:(nullable id)parameters
  299 + success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
  300 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
  301 +
  302 +@end
  303 +
  304 +NS_ASSUME_NONNULL_END
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFHTTPSessionManager.m 0 → 100755
  1 +// AFHTTPSessionManager.m
  2 +// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3 +//
  4 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  5 +// of this software and associated documentation files (the "Software"), to deal
  6 +// in the Software without restriction, including without limitation the rights
  7 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8 +// copies of the Software, and to permit persons to whom the Software is
  9 +// furnished to do so, subject to the following conditions:
  10 +//
  11 +// The above copyright notice and this permission notice shall be included in
  12 +// all copies or substantial portions of the Software.
  13 +//
  14 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +// THE SOFTWARE.
  21 +
  22 +#import "AFHTTPSessionManager.h"
  23 +
  24 +#import "AFURLRequestSerialization.h"
  25 +#import "AFURLResponseSerialization.h"
  26 +
  27 +#import <Availability.h>
  28 +#import <TargetConditionals.h>
  29 +#import <Security/Security.h>
  30 +
  31 +#import <netinet/in.h>
  32 +#import <netinet6/in6.h>
  33 +#import <arpa/inet.h>
  34 +#import <ifaddrs.h>
  35 +#import <netdb.h>
  36 +
  37 +#if TARGET_OS_IOS || TARGET_OS_TV
  38 +#import <UIKit/UIKit.h>
  39 +#elif TARGET_OS_WATCH
  40 +#import <WatchKit/WatchKit.h>
  41 +#endif
  42 +
  43 +@interface AFHTTPSessionManager ()
  44 +@property (readwrite, nonatomic, strong) NSURL *baseURL;
  45 +@end
  46 +
  47 +@implementation AFHTTPSessionManager
  48 +@dynamic responseSerializer;
  49 +
  50 ++ (instancetype)manager {
  51 + return [[[self class] alloc] initWithBaseURL:nil];
  52 +}
  53 +
  54 +- (instancetype)init {
  55 + return [self initWithBaseURL:nil];
  56 +}
  57 +
  58 +- (instancetype)initWithBaseURL:(NSURL *)url {
  59 + return [self initWithBaseURL:url sessionConfiguration:nil];
  60 +}
  61 +
  62 +- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {
  63 + return [self initWithBaseURL:nil sessionConfiguration:configuration];
  64 +}
  65 +
  66 +- (instancetype)initWithBaseURL:(NSURL *)url
  67 + sessionConfiguration:(NSURLSessionConfiguration *)configuration
  68 +{
  69 + self = [super initWithSessionConfiguration:configuration];
  70 + if (!self) {
  71 + return nil;
  72 + }
  73 +
  74 + // Ensure terminal slash for baseURL path, so that NSURL +URLWithString:relativeToURL: works as expected
  75 + if ([[url path] length] > 0 && ![[url absoluteString] hasSuffix:@"/"]) {
  76 + url = [url URLByAppendingPathComponent:@""];
  77 + }
  78 +
  79 + self.baseURL = url;
  80 +
  81 + self.requestSerializer = [AFHTTPRequestSerializer serializer];
  82 + self.responseSerializer = [AFJSONResponseSerializer serializer];
  83 +
  84 + return self;
  85 +}
  86 +
  87 +#pragma mark -
  88 +
  89 +- (void)setRequestSerializer:(AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
  90 + NSParameterAssert(requestSerializer);
  91 +
  92 + _requestSerializer = requestSerializer;
  93 +}
  94 +
  95 +- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
  96 + NSParameterAssert(responseSerializer);
  97 +
  98 + [super setResponseSerializer:responseSerializer];
  99 +}
  100 +
  101 +@dynamic securityPolicy;
  102 +
  103 +- (void)setSecurityPolicy:(AFSecurityPolicy *)securityPolicy {
  104 + if (securityPolicy.SSLPinningMode != AFSSLPinningModeNone && ![self.baseURL.scheme isEqualToString:@"https"]) {
  105 + NSString *pinningMode = @"Unknown Pinning Mode";
  106 + switch (securityPolicy.SSLPinningMode) {
  107 + case AFSSLPinningModeNone: pinningMode = @"AFSSLPinningModeNone"; break;
  108 + case AFSSLPinningModeCertificate: pinningMode = @"AFSSLPinningModeCertificate"; break;
  109 + case AFSSLPinningModePublicKey: pinningMode = @"AFSSLPinningModePublicKey"; break;
  110 + }
  111 + NSString *reason = [NSString stringWithFormat:@"A security policy configured with `%@` can only be applied on a manager with a secure base URL (i.e. https)", pinningMode];
  112 + @throw [NSException exceptionWithName:@"Invalid Security Policy" reason:reason userInfo:nil];
  113 + }
  114 +
  115 + [super setSecurityPolicy:securityPolicy];
  116 +}
  117 +
  118 +#pragma mark -
  119 +
  120 +- (NSURLSessionDataTask *)GET:(NSString *)URLString
  121 + parameters:(id)parameters
  122 + success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
  123 + failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
  124 +{
  125 +
  126 + return [self GET:URLString parameters:parameters progress:nil success:success failure:failure];
  127 +}
  128 +
  129 +- (NSURLSessionDataTask *)GET:(NSString *)URLString
  130 + parameters:(id)parameters
  131 + progress:(void (^)(NSProgress * _Nonnull))downloadProgress
  132 + success:(void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))success
  133 + failure:(void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure
  134 +{
  135 +
  136 + NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"GET"
  137 + URLString:URLString
  138 + parameters:parameters
  139 + uploadProgress:nil
  140 + downloadProgress:downloadProgress
  141 + success:success
  142 + failure:failure];
  143 +
  144 + [dataTask resume];
  145 +
  146 + return dataTask;
  147 +}
  148 +
  149 +- (NSURLSessionDataTask *)HEAD:(NSString *)URLString
  150 + parameters:(id)parameters
  151 + success:(void (^)(NSURLSessionDataTask *task))success
  152 + failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
  153 +{
  154 + NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"HEAD" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:^(NSURLSessionDataTask *task, __unused id responseObject) {
  155 + if (success) {
  156 + success(task);
  157 + }
  158 + } failure:failure];
  159 +
  160 + [dataTask resume];
  161 +
  162 + return dataTask;
  163 +}
  164 +
  165 +- (NSURLSessionDataTask *)POST:(NSString *)URLString
  166 + parameters:(id)parameters
  167 + success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
  168 + failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
  169 +{
  170 + return [self POST:URLString parameters:parameters progress:nil success:success failure:failure];
  171 +}
  172 +
  173 +- (NSURLSessionDataTask *)POST:(NSString *)URLString
  174 + parameters:(id)parameters
  175 + progress:(void (^)(NSProgress * _Nonnull))uploadProgress
  176 + success:(void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))success
  177 + failure:(void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure
  178 +{
  179 + NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"POST" URLString:URLString parameters:parameters uploadProgress:uploadProgress downloadProgress:nil success:success failure:failure];
  180 +
  181 + [dataTask resume];
  182 +
  183 + return dataTask;
  184 +}
  185 +
  186 +- (NSURLSessionDataTask *)POST:(NSString *)URLString
  187 + parameters:(nullable id)parameters
  188 + constructingBodyWithBlock:(nullable void (^)(id<AFMultipartFormData> _Nonnull))block
  189 + success:(nullable void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))success
  190 + failure:(nullable void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure
  191 +{
  192 + return [self POST:URLString parameters:parameters constructingBodyWithBlock:block progress:nil success:success failure:failure];
  193 +}
  194 +
  195 +- (NSURLSessionDataTask *)POST:(NSString *)URLString
  196 + parameters:(id)parameters
  197 + constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
  198 + progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgress
  199 + success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
  200 + failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
  201 +{
  202 + NSError *serializationError = nil;
  203 + NSMutableURLRequest *request = [self.requestSerializer multipartFormRequestWithMethod:@"POST" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters constructingBodyWithBlock:block error:&serializationError];
  204 + if (serializationError) {
  205 + if (failure) {
  206 + dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{
  207 + failure(nil, serializationError);
  208 + });
  209 + }
  210 +
  211 + return nil;
  212 + }
  213 +
  214 + __block NSURLSessionDataTask *task = [self uploadTaskWithStreamedRequest:request progress:uploadProgress completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
  215 + if (error) {
  216 + if (failure) {
  217 + failure(task, error);
  218 + }
  219 + } else {
  220 + if (success) {
  221 + success(task, responseObject);
  222 + }
  223 + }
  224 + }];
  225 +
  226 + [task resume];
  227 +
  228 + return task;
  229 +}
  230 +
  231 +- (NSURLSessionDataTask *)PUT:(NSString *)URLString
  232 + parameters:(id)parameters
  233 + success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
  234 + failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
  235 +{
  236 + NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PUT" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];
  237 +
  238 + [dataTask resume];
  239 +
  240 + return dataTask;
  241 +}
  242 +
  243 +- (NSURLSessionDataTask *)PATCH:(NSString *)URLString
  244 + parameters:(id)parameters
  245 + success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
  246 + failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
  247 +{
  248 + NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PATCH" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];
  249 +
  250 + [dataTask resume];
  251 +
  252 + return dataTask;
  253 +}
  254 +
  255 +- (NSURLSessionDataTask *)DELETE:(NSString *)URLString
  256 + parameters:(id)parameters
  257 + success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
  258 + failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
  259 +{
  260 + NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"DELETE" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];
  261 +
  262 + [dataTask resume];
  263 +
  264 + return dataTask;
  265 +}
  266 +
  267 +- (NSURLSessionDataTask *)dataTaskWithHTTPMethod:(NSString *)method
  268 + URLString:(NSString *)URLString
  269 + parameters:(id)parameters
  270 + uploadProgress:(nullable void (^)(NSProgress *uploadProgress)) uploadProgress
  271 + downloadProgress:(nullable void (^)(NSProgress *downloadProgress)) downloadProgress
  272 + success:(void (^)(NSURLSessionDataTask *, id))success
  273 + failure:(void (^)(NSURLSessionDataTask *, NSError *))failure
  274 +{
  275 + NSError *serializationError = nil;
  276 + NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:method URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:&serializationError];
  277 + if (serializationError) {
  278 + if (failure) {
  279 + dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{
  280 + failure(nil, serializationError);
  281 + });
  282 + }
  283 +
  284 + return nil;
  285 + }
  286 +
  287 + __block NSURLSessionDataTask *dataTask = nil;
  288 + dataTask = [self dataTaskWithRequest:request
  289 + uploadProgress:uploadProgress
  290 + downloadProgress:downloadProgress
  291 + completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
  292 + if (error) {
  293 + if (failure) {
  294 + failure(dataTask, error);
  295 + }
  296 + } else {
  297 + if (success) {
  298 + success(dataTask, responseObject);
  299 + }
  300 + }
  301 + }];
  302 +
  303 + return dataTask;
  304 +}
  305 +
  306 +#pragma mark - NSObject
  307 +
  308 +- (NSString *)description {
  309 + return [NSString stringWithFormat:@"<%@: %p, baseURL: %@, session: %@, operationQueue: %@>", NSStringFromClass([self class]), self, [self.baseURL absoluteString], self.session, self.operationQueue];
  310 +}
  311 +
  312 +#pragma mark - NSSecureCoding
  313 +
  314 ++ (BOOL)supportsSecureCoding {
  315 + return YES;
  316 +}
  317 +
  318 +- (instancetype)initWithCoder:(NSCoder *)decoder {
  319 + NSURL *baseURL = [decoder decodeObjectOfClass:[NSURL class] forKey:NSStringFromSelector(@selector(baseURL))];
  320 + NSURLSessionConfiguration *configuration = [decoder decodeObjectOfClass:[NSURLSessionConfiguration class] forKey:@"sessionConfiguration"];
  321 + if (!configuration) {
  322 + NSString *configurationIdentifier = [decoder decodeObjectOfClass:[NSString class] forKey:@"identifier"];
  323 + if (configurationIdentifier) {
  324 +#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1100)
  325 + configuration = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:configurationIdentifier];
  326 +#else
  327 + configuration = [NSURLSessionConfiguration backgroundSessionConfiguration:configurationIdentifier];
  328 +#endif
  329 + }
  330 + }
  331 +
  332 + self = [self initWithBaseURL:baseURL sessionConfiguration:configuration];
  333 + if (!self) {
  334 + return nil;
  335 + }
  336 +
  337 + self.requestSerializer = [decoder decodeObjectOfClass:[AFHTTPRequestSerializer class] forKey:NSStringFromSelector(@selector(requestSerializer))];
  338 + self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
  339 + AFSecurityPolicy *decodedPolicy = [decoder decodeObjectOfClass:[AFSecurityPolicy class] forKey:NSStringFromSelector(@selector(securityPolicy))];
  340 + if (decodedPolicy) {
  341 + self.securityPolicy = decodedPolicy;
  342 + }
  343 +
  344 + return self;
  345 +}
  346 +
  347 +- (void)encodeWithCoder:(NSCoder *)coder {
  348 + [super encodeWithCoder:coder];
  349 +
  350 + [coder encodeObject:self.baseURL forKey:NSStringFromSelector(@selector(baseURL))];
  351 + if ([self.session.configuration conformsToProtocol:@protocol(NSCoding)]) {
  352 + [coder encodeObject:self.session.configuration forKey:@"sessionConfiguration"];
  353 + } else {
  354 + [coder encodeObject:self.session.configuration.identifier forKey:@"identifier"];
  355 + }
  356 + [coder encodeObject:self.requestSerializer forKey:NSStringFromSelector(@selector(requestSerializer))];
  357 + [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];
  358 + [coder encodeObject:self.securityPolicy forKey:NSStringFromSelector(@selector(securityPolicy))];
  359 +}
  360 +
  361 +#pragma mark - NSCopying
  362 +
  363 +- (instancetype)copyWithZone:(NSZone *)zone {
  364 + AFHTTPSessionManager *HTTPClient = [[[self class] allocWithZone:zone] initWithBaseURL:self.baseURL sessionConfiguration:self.session.configuration];
  365 +
  366 + HTTPClient.requestSerializer = [self.requestSerializer copyWithZone:zone];
  367 + HTTPClient.responseSerializer = [self.responseSerializer copyWithZone:zone];
  368 + HTTPClient.securityPolicy = [self.securityPolicy copyWithZone:zone];
  369 + return HTTPClient;
  370 +}
  371 +
  372 +@end
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFNetworkReachabilityManager.h 0 → 100755
  1 +// AFNetworkReachabilityManager.h
  2 +// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3 +//
  4 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  5 +// of this software and associated documentation files (the "Software"), to deal
  6 +// in the Software without restriction, including without limitation the rights
  7 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8 +// copies of the Software, and to permit persons to whom the Software is
  9 +// furnished to do so, subject to the following conditions:
  10 +//
  11 +// The above copyright notice and this permission notice shall be included in
  12 +// all copies or substantial portions of the Software.
  13 +//
  14 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +// THE SOFTWARE.
  21 +
  22 +#import <Foundation/Foundation.h>
  23 +
  24 +#if !TARGET_OS_WATCH
  25 +#import <SystemConfiguration/SystemConfiguration.h>
  26 +
  27 +typedef NS_ENUM(NSInteger, AFNetworkReachabilityStatus) {
  28 + AFNetworkReachabilityStatusUnknown = -1,
  29 + AFNetworkReachabilityStatusNotReachable = 0,
  30 + AFNetworkReachabilityStatusReachableViaWWAN = 1,
  31 + AFNetworkReachabilityStatusReachableViaWiFi = 2,
  32 +};
  33 +
  34 +NS_ASSUME_NONNULL_BEGIN
  35 +
  36 +/**
  37 + `AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.
  38 +
  39 + Reachability can be used to determine background information about why a network operation failed, or to trigger a network operation retrying when a connection is established. It should not be used to prevent a user from initiating a network request, as it's possible that an initial request may be required to establish reachability.
  40 +
  41 + See Apple's Reachability Sample Code ( https://developer.apple.com/library/ios/samplecode/reachability/ )
  42 +
  43 + @warning Instances of `AFNetworkReachabilityManager` must be started with `-startMonitoring` before reachability status can be determined.
  44 + */
  45 +@interface AFNetworkReachabilityManager : NSObject
  46 +
  47 +/**
  48 + The current network reachability status.
  49 + */
  50 +@property (readonly, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;
  51 +
  52 +/**
  53 + Whether or not the network is currently reachable.
  54 + */
  55 +@property (readonly, nonatomic, assign, getter = isReachable) BOOL reachable;
  56 +
  57 +/**
  58 + Whether or not the network is currently reachable via WWAN.
  59 + */
  60 +@property (readonly, nonatomic, assign, getter = isReachableViaWWAN) BOOL reachableViaWWAN;
  61 +
  62 +/**
  63 + Whether or not the network is currently reachable via WiFi.
  64 + */
  65 +@property (readonly, nonatomic, assign, getter = isReachableViaWiFi) BOOL reachableViaWiFi;
  66 +
  67 +///---------------------
  68 +/// @name Initialization
  69 +///---------------------
  70 +
  71 +/**
  72 + Returns the shared network reachability manager.
  73 + */
  74 ++ (instancetype)sharedManager;
  75 +
  76 +/**
  77 + Creates and returns a network reachability manager with the default socket address.
  78 +
  79 + @return An initialized network reachability manager, actively monitoring the default socket address.
  80 + */
  81 ++ (instancetype)manager;
  82 +
  83 +/**
  84 + Creates and returns a network reachability manager for the specified domain.
  85 +
  86 + @param domain The domain used to evaluate network reachability.
  87 +
  88 + @return An initialized network reachability manager, actively monitoring the specified domain.
  89 + */
  90 ++ (instancetype)managerForDomain:(NSString *)domain;
  91 +
  92 +/**
  93 + Creates and returns a network reachability manager for the socket address.
  94 +
  95 + @param address The socket address (`sockaddr_in6`) used to evaluate network reachability.
  96 +
  97 + @return An initialized network reachability manager, actively monitoring the specified socket address.
  98 + */
  99 ++ (instancetype)managerForAddress:(const void *)address;
  100 +
  101 +/**
  102 + Initializes an instance of a network reachability manager from the specified reachability object.
  103 +
  104 + @param reachability The reachability object to monitor.
  105 +
  106 + @return An initialized network reachability manager, actively monitoring the specified reachability.
  107 + */
  108 +- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability NS_DESIGNATED_INITIALIZER;
  109 +
  110 +/**
  111 + * Initializes an instance of a network reachability manager
  112 + *
  113 + * @return nil as this method is unavailable
  114 + */
  115 +- (nullable instancetype)init NS_UNAVAILABLE;
  116 +
  117 +///--------------------------------------------------
  118 +/// @name Starting & Stopping Reachability Monitoring
  119 +///--------------------------------------------------
  120 +
  121 +/**
  122 + Starts monitoring for changes in network reachability status.
  123 + */
  124 +- (void)startMonitoring;
  125 +
  126 +/**
  127 + Stops monitoring for changes in network reachability status.
  128 + */
  129 +- (void)stopMonitoring;
  130 +
  131 +///-------------------------------------------------
  132 +/// @name Getting Localized Reachability Description
  133 +///-------------------------------------------------
  134 +
  135 +/**
  136 + Returns a localized string representation of the current network reachability status.
  137 + */
  138 +- (NSString *)localizedNetworkReachabilityStatusString;
  139 +
  140 +///---------------------------------------------------
  141 +/// @name Setting Network Reachability Change Callback
  142 +///---------------------------------------------------
  143 +
  144 +/**
  145 + Sets a callback to be executed when the network availability of the `baseURL` host changes.
  146 +
  147 + @param block A block object to be executed when the network availability of the `baseURL` host changes.. This block has no return value and takes a single argument which represents the various reachability states from the device to the `baseURL`.
  148 + */
  149 +- (void)setReachabilityStatusChangeBlock:(nullable void (^)(AFNetworkReachabilityStatus status))block;
  150 +
  151 +@end
  152 +
  153 +///----------------
  154 +/// @name Constants
  155 +///----------------
  156 +
  157 +/**
  158 + ## Network Reachability
  159 +
  160 + The following constants are provided by `AFNetworkReachabilityManager` as possible network reachability statuses.
  161 +
  162 + enum {
  163 + AFNetworkReachabilityStatusUnknown,
  164 + AFNetworkReachabilityStatusNotReachable,
  165 + AFNetworkReachabilityStatusReachableViaWWAN,
  166 + AFNetworkReachabilityStatusReachableViaWiFi,
  167 + }
  168 +
  169 + `AFNetworkReachabilityStatusUnknown`
  170 + The `baseURL` host reachability is not known.
  171 +
  172 + `AFNetworkReachabilityStatusNotReachable`
  173 + The `baseURL` host cannot be reached.
  174 +
  175 + `AFNetworkReachabilityStatusReachableViaWWAN`
  176 + The `baseURL` host can be reached via a cellular connection, such as EDGE or GPRS.
  177 +
  178 + `AFNetworkReachabilityStatusReachableViaWiFi`
  179 + The `baseURL` host can be reached via a Wi-Fi connection.
  180 +
  181 + ### Keys for Notification UserInfo Dictionary
  182 +
  183 + Strings that are used as keys in a `userInfo` dictionary in a network reachability status change notification.
  184 +
  185 + `AFNetworkingReachabilityNotificationStatusItem`
  186 + A key in the userInfo dictionary in a `AFNetworkingReachabilityDidChangeNotification` notification.
  187 + The corresponding value is an `NSNumber` object representing the `AFNetworkReachabilityStatus` value for the current reachability status.
  188 + */
  189 +
  190 +///--------------------
  191 +/// @name Notifications
  192 +///--------------------
  193 +
  194 +/**
  195 + Posted when network reachability changes.
  196 + This notification assigns no notification object. The `userInfo` dictionary contains an `NSNumber` object under the `AFNetworkingReachabilityNotificationStatusItem` key, representing the `AFNetworkReachabilityStatus` value for the current network reachability.
  197 +
  198 + @warning In order for network reachability to be monitored, include the `SystemConfiguration` framework in the active target's "Link Binary With Library" build phase, and add `#import <SystemConfiguration/SystemConfiguration.h>` to the header prefix of the project (`Prefix.pch`).
  199 + */
  200 +FOUNDATION_EXPORT NSString * const AFNetworkingReachabilityDidChangeNotification;
  201 +FOUNDATION_EXPORT NSString * const AFNetworkingReachabilityNotificationStatusItem;
  202 +
  203 +///--------------------
  204 +/// @name Functions
  205 +///--------------------
  206 +
  207 +/**
  208 + Returns a localized string representation of an `AFNetworkReachabilityStatus` value.
  209 + */
  210 +FOUNDATION_EXPORT NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status);
  211 +
  212 +NS_ASSUME_NONNULL_END
  213 +#endif
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFNetworkReachabilityManager.m 0 → 100755
  1 +// AFNetworkReachabilityManager.m
  2 +// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3 +//
  4 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  5 +// of this software and associated documentation files (the "Software"), to deal
  6 +// in the Software without restriction, including without limitation the rights
  7 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8 +// copies of the Software, and to permit persons to whom the Software is
  9 +// furnished to do so, subject to the following conditions:
  10 +//
  11 +// The above copyright notice and this permission notice shall be included in
  12 +// all copies or substantial portions of the Software.
  13 +//
  14 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +// THE SOFTWARE.
  21 +
  22 +#import "AFNetworkReachabilityManager.h"
  23 +#if !TARGET_OS_WATCH
  24 +
  25 +#import <netinet/in.h>
  26 +#import <netinet6/in6.h>
  27 +#import <arpa/inet.h>
  28 +#import <ifaddrs.h>
  29 +#import <netdb.h>
  30 +
  31 +NSString * const AFNetworkingReachabilityDidChangeNotification = @"com.alamofire.networking.reachability.change";
  32 +NSString * const AFNetworkingReachabilityNotificationStatusItem = @"AFNetworkingReachabilityNotificationStatusItem";
  33 +
  34 +typedef void (^AFNetworkReachabilityStatusBlock)(AFNetworkReachabilityStatus status);
  35 +
  36 +NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status) {
  37 + switch (status) {
  38 + case AFNetworkReachabilityStatusNotReachable:
  39 + return NSLocalizedStringFromTable(@"Not Reachable", @"AFNetworking", nil);
  40 + case AFNetworkReachabilityStatusReachableViaWWAN:
  41 + return NSLocalizedStringFromTable(@"Reachable via WWAN", @"AFNetworking", nil);
  42 + case AFNetworkReachabilityStatusReachableViaWiFi:
  43 + return NSLocalizedStringFromTable(@"Reachable via WiFi", @"AFNetworking", nil);
  44 + case AFNetworkReachabilityStatusUnknown:
  45 + default:
  46 + return NSLocalizedStringFromTable(@"Unknown", @"AFNetworking", nil);
  47 + }
  48 +}
  49 +
  50 +static AFNetworkReachabilityStatus AFNetworkReachabilityStatusForFlags(SCNetworkReachabilityFlags flags) {
  51 + BOOL isReachable = ((flags & kSCNetworkReachabilityFlagsReachable) != 0);
  52 + BOOL needsConnection = ((flags & kSCNetworkReachabilityFlagsConnectionRequired) != 0);
  53 + BOOL canConnectionAutomatically = (((flags & kSCNetworkReachabilityFlagsConnectionOnDemand ) != 0) || ((flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) != 0));
  54 + BOOL canConnectWithoutUserInteraction = (canConnectionAutomatically && (flags & kSCNetworkReachabilityFlagsInterventionRequired) == 0);
  55 + BOOL isNetworkReachable = (isReachable && (!needsConnection || canConnectWithoutUserInteraction));
  56 +
  57 + AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusUnknown;
  58 + if (isNetworkReachable == NO) {
  59 + status = AFNetworkReachabilityStatusNotReachable;
  60 + }
  61 +#if TARGET_OS_IPHONE
  62 + else if ((flags & kSCNetworkReachabilityFlagsIsWWAN) != 0) {
  63 + status = AFNetworkReachabilityStatusReachableViaWWAN;
  64 + }
  65 +#endif
  66 + else {
  67 + status = AFNetworkReachabilityStatusReachableViaWiFi;
  68 + }
  69 +
  70 + return status;
  71 +}
  72 +
  73 +/**
  74 + * Queue a status change notification for the main thread.
  75 + *
  76 + * This is done to ensure that the notifications are received in the same order
  77 + * as they are sent. If notifications are sent directly, it is possible that
  78 + * a queued notification (for an earlier status condition) is processed after
  79 + * the later update, resulting in the listener being left in the wrong state.
  80 + */
  81 +static void AFPostReachabilityStatusChange(SCNetworkReachabilityFlags flags, AFNetworkReachabilityStatusBlock block) {
  82 + AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusForFlags(flags);
  83 + dispatch_async(dispatch_get_main_queue(), ^{
  84 + if (block) {
  85 + block(status);
  86 + }
  87 + NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
  88 + NSDictionary *userInfo = @{ AFNetworkingReachabilityNotificationStatusItem: @(status) };
  89 + [notificationCenter postNotificationName:AFNetworkingReachabilityDidChangeNotification object:nil userInfo:userInfo];
  90 + });
  91 +}
  92 +
  93 +static void AFNetworkReachabilityCallback(SCNetworkReachabilityRef __unused target, SCNetworkReachabilityFlags flags, void *info) {
  94 + AFPostReachabilityStatusChange(flags, (__bridge AFNetworkReachabilityStatusBlock)info);
  95 +}
  96 +
  97 +
  98 +static const void * AFNetworkReachabilityRetainCallback(const void *info) {
  99 + return Block_copy(info);
  100 +}
  101 +
  102 +static void AFNetworkReachabilityReleaseCallback(const void *info) {
  103 + if (info) {
  104 + Block_release(info);
  105 + }
  106 +}
  107 +
  108 +@interface AFNetworkReachabilityManager ()
  109 +@property (readonly, nonatomic, assign) SCNetworkReachabilityRef networkReachability;
  110 +@property (readwrite, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;
  111 +@property (readwrite, nonatomic, copy) AFNetworkReachabilityStatusBlock networkReachabilityStatusBlock;
  112 +@end
  113 +
  114 +@implementation AFNetworkReachabilityManager
  115 +
  116 ++ (instancetype)sharedManager {
  117 + static AFNetworkReachabilityManager *_sharedManager = nil;
  118 + static dispatch_once_t onceToken;
  119 + dispatch_once(&onceToken, ^{
  120 + _sharedManager = [self manager];
  121 + });
  122 +
  123 + return _sharedManager;
  124 +}
  125 +
  126 ++ (instancetype)managerForDomain:(NSString *)domain {
  127 + SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(kCFAllocatorDefault, [domain UTF8String]);
  128 +
  129 + AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];
  130 +
  131 + CFRelease(reachability);
  132 +
  133 + return manager;
  134 +}
  135 +
  136 ++ (instancetype)managerForAddress:(const void *)address {
  137 + SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr *)address);
  138 + AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];
  139 +
  140 + CFRelease(reachability);
  141 +
  142 + return manager;
  143 +}
  144 +
  145 ++ (instancetype)manager
  146 +{
  147 +#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)
  148 + struct sockaddr_in6 address;
  149 + bzero(&address, sizeof(address));
  150 + address.sin6_len = sizeof(address);
  151 + address.sin6_family = AF_INET6;
  152 +#else
  153 + struct sockaddr_in address;
  154 + bzero(&address, sizeof(address));
  155 + address.sin_len = sizeof(address);
  156 + address.sin_family = AF_INET;
  157 +#endif
  158 + return [self managerForAddress:&address];
  159 +}
  160 +
  161 +- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability {
  162 + self = [super init];
  163 + if (!self) {
  164 + return nil;
  165 + }
  166 +
  167 + _networkReachability = CFRetain(reachability);
  168 + self.networkReachabilityStatus = AFNetworkReachabilityStatusUnknown;
  169 +
  170 + return self;
  171 +}
  172 +
  173 +- (instancetype)init NS_UNAVAILABLE
  174 +{
  175 + return nil;
  176 +}
  177 +
  178 +- (void)dealloc {
  179 + [self stopMonitoring];
  180 +
  181 + if (_networkReachability != NULL) {
  182 + CFRelease(_networkReachability);
  183 + }
  184 +}
  185 +
  186 +#pragma mark -
  187 +
  188 +- (BOOL)isReachable {
  189 + return [self isReachableViaWWAN] || [self isReachableViaWiFi];
  190 +}
  191 +
  192 +- (BOOL)isReachableViaWWAN {
  193 + return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN;
  194 +}
  195 +
  196 +- (BOOL)isReachableViaWiFi {
  197 + return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWiFi;
  198 +}
  199 +
  200 +#pragma mark -
  201 +
  202 +- (void)startMonitoring {
  203 + [self stopMonitoring];
  204 +
  205 + if (!self.networkReachability) {
  206 + return;
  207 + }
  208 +
  209 + __weak __typeof(self)weakSelf = self;
  210 + AFNetworkReachabilityStatusBlock callback = ^(AFNetworkReachabilityStatus status) {
  211 + __strong __typeof(weakSelf)strongSelf = weakSelf;
  212 +
  213 + strongSelf.networkReachabilityStatus = status;
  214 + if (strongSelf.networkReachabilityStatusBlock) {
  215 + strongSelf.networkReachabilityStatusBlock(status);
  216 + }
  217 +
  218 + };
  219 +
  220 + SCNetworkReachabilityContext context = {0, (__bridge void *)callback, AFNetworkReachabilityRetainCallback, AFNetworkReachabilityReleaseCallback, NULL};
  221 + SCNetworkReachabilitySetCallback(self.networkReachability, AFNetworkReachabilityCallback, &context);
  222 + SCNetworkReachabilityScheduleWithRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);
  223 +
  224 + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0),^{
  225 + SCNetworkReachabilityFlags flags;
  226 + if (SCNetworkReachabilityGetFlags(self.networkReachability, &flags)) {
  227 + AFPostReachabilityStatusChange(flags, callback);
  228 + }
  229 + });
  230 +}
  231 +
  232 +- (void)stopMonitoring {
  233 + if (!self.networkReachability) {
  234 + return;
  235 + }
  236 +
  237 + SCNetworkReachabilityUnscheduleFromRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);
  238 +}
  239 +
  240 +#pragma mark -
  241 +
  242 +- (NSString *)localizedNetworkReachabilityStatusString {
  243 + return AFStringFromNetworkReachabilityStatus(self.networkReachabilityStatus);
  244 +}
  245 +
  246 +#pragma mark -
  247 +
  248 +- (void)setReachabilityStatusChangeBlock:(void (^)(AFNetworkReachabilityStatus status))block {
  249 + self.networkReachabilityStatusBlock = block;
  250 +}
  251 +
  252 +#pragma mark - NSKeyValueObserving
  253 +
  254 ++ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key {
  255 + if ([key isEqualToString:@"reachable"] || [key isEqualToString:@"reachableViaWWAN"] || [key isEqualToString:@"reachableViaWiFi"]) {
  256 + return [NSSet setWithObject:@"networkReachabilityStatus"];
  257 + }
  258 +
  259 + return [super keyPathsForValuesAffectingValueForKey:key];
  260 +}
  261 +
  262 +@end
  263 +#endif
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFNetworking.h 0 → 100755
  1 +// AFNetworking.h
  2 +//
  3 +// Copyright (c) 2013 AFNetworking (http://afnetworking.com/)
  4 +//
  5 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  6 +// of this software and associated documentation files (the "Software"), to deal
  7 +// in the Software without restriction, including without limitation the rights
  8 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9 +// copies of the Software, and to permit persons to whom the Software is
  10 +// furnished to do so, subject to the following conditions:
  11 +//
  12 +// The above copyright notice and this permission notice shall be included in
  13 +// all copies or substantial portions of the Software.
  14 +//
  15 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  18 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  20 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  21 +// THE SOFTWARE.
  22 +
  23 +#import <Foundation/Foundation.h>
  24 +#import <Availability.h>
  25 +#import <TargetConditionals.h>
  26 +
  27 +#ifndef _AFNETWORKING_
  28 + #define _AFNETWORKING_
  29 +
  30 + #import "AFURLRequestSerialization.h"
  31 + #import "AFURLResponseSerialization.h"
  32 + #import "AFSecurityPolicy.h"
  33 +
  34 +#if !TARGET_OS_WATCH
  35 + #import "AFNetworkReachabilityManager.h"
  36 +#endif
  37 +
  38 + #import "AFURLSessionManager.h"
  39 + #import "AFHTTPSessionManager.h"
  40 +
  41 +#endif /* _AFNETWORKING_ */
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFSecurityPolicy.h 0 → 100755
  1 +// AFSecurityPolicy.h
  2 +// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3 +//
  4 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  5 +// of this software and associated documentation files (the "Software"), to deal
  6 +// in the Software without restriction, including without limitation the rights
  7 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8 +// copies of the Software, and to permit persons to whom the Software is
  9 +// furnished to do so, subject to the following conditions:
  10 +//
  11 +// The above copyright notice and this permission notice shall be included in
  12 +// all copies or substantial portions of the Software.
  13 +//
  14 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +// THE SOFTWARE.
  21 +
  22 +#import <Foundation/Foundation.h>
  23 +#import <Security/Security.h>
  24 +
  25 +typedef NS_ENUM(NSUInteger, AFSSLPinningMode) {
  26 + AFSSLPinningModeNone,
  27 + AFSSLPinningModePublicKey,
  28 + AFSSLPinningModeCertificate,
  29 +};
  30 +
  31 +/**
  32 + `AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.
  33 +
  34 + Adding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.
  35 + */
  36 +
  37 +NS_ASSUME_NONNULL_BEGIN
  38 +
  39 +@interface AFSecurityPolicy : NSObject <NSSecureCoding, NSCopying>
  40 +
  41 +/**
  42 + The criteria by which server trust should be evaluated against the pinned SSL certificates. Defaults to `AFSSLPinningModeNone`.
  43 + */
  44 +@property (readonly, nonatomic, assign) AFSSLPinningMode SSLPinningMode;
  45 +
  46 +/**
  47 + The certificates used to evaluate server trust according to the SSL pinning mode.
  48 +
  49 + By default, this property is set to any (`.cer`) certificates included in the target compiling AFNetworking. Note that if you are using AFNetworking as embedded framework, no certificates will be pinned by default. Use `certificatesInBundle` to load certificates from your target, and then create a new policy by calling `policyWithPinningMode:withPinnedCertificates`.
  50 +
  51 + Note that if pinning is enabled, `evaluateServerTrust:forDomain:` will return true if any pinned certificate matches.
  52 + */
  53 +@property (nonatomic, strong, nullable) NSSet <NSData *> *pinnedCertificates;
  54 +
  55 +/**
  56 + Whether or not to trust servers with an invalid or expired SSL certificates. Defaults to `NO`.
  57 + */
  58 +@property (nonatomic, assign) BOOL allowInvalidCertificates;
  59 +
  60 +/**
  61 + Whether or not to validate the domain name in the certificate's CN field. Defaults to `YES`.
  62 + */
  63 +@property (nonatomic, assign) BOOL validatesDomainName;
  64 +
  65 +///-----------------------------------------
  66 +/// @name Getting Certificates from the Bundle
  67 +///-----------------------------------------
  68 +
  69 +/**
  70 + Returns any certificates included in the bundle. If you are using AFNetworking as an embedded framework, you must use this method to find the certificates you have included in your app bundle, and use them when creating your security policy by calling `policyWithPinningMode:withPinnedCertificates`.
  71 +
  72 + @return The certificates included in the given bundle.
  73 + */
  74 ++ (NSSet <NSData *> *)certificatesInBundle:(NSBundle *)bundle;
  75 +
  76 +///-----------------------------------------
  77 +/// @name Getting Specific Security Policies
  78 +///-----------------------------------------
  79 +
  80 +/**
  81 + Returns the shared default security policy, which does not allow invalid certificates, validates domain name, and does not validate against pinned certificates or public keys.
  82 +
  83 + @return The default security policy.
  84 + */
  85 ++ (instancetype)defaultPolicy;
  86 +
  87 +///---------------------
  88 +/// @name Initialization
  89 +///---------------------
  90 +
  91 +/**
  92 + Creates and returns a security policy with the specified pinning mode.
  93 +
  94 + @param pinningMode The SSL pinning mode.
  95 +
  96 + @return A new security policy.
  97 + */
  98 ++ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode;
  99 +
  100 +/**
  101 + Creates and returns a security policy with the specified pinning mode.
  102 +
  103 + @param pinningMode The SSL pinning mode.
  104 + @param pinnedCertificates The certificates to pin against.
  105 +
  106 + @return A new security policy.
  107 + */
  108 ++ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode withPinnedCertificates:(NSSet <NSData *> *)pinnedCertificates;
  109 +
  110 +///------------------------------
  111 +/// @name Evaluating Server Trust
  112 +///------------------------------
  113 +
  114 +/**
  115 + Whether or not the specified server trust should be accepted, based on the security policy.
  116 +
  117 + This method should be used when responding to an authentication challenge from a server.
  118 +
  119 + @param serverTrust The X.509 certificate trust of the server.
  120 + @param domain The domain of serverTrust. If `nil`, the domain will not be validated.
  121 +
  122 + @return Whether or not to trust the server.
  123 + */
  124 +- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust
  125 + forDomain:(nullable NSString *)domain;
  126 +
  127 +@end
  128 +
  129 +NS_ASSUME_NONNULL_END
  130 +
  131 +///----------------
  132 +/// @name Constants
  133 +///----------------
  134 +
  135 +/**
  136 + ## SSL Pinning Modes
  137 +
  138 + The following constants are provided by `AFSSLPinningMode` as possible SSL pinning modes.
  139 +
  140 + enum {
  141 + AFSSLPinningModeNone,
  142 + AFSSLPinningModePublicKey,
  143 + AFSSLPinningModeCertificate,
  144 + }
  145 +
  146 + `AFSSLPinningModeNone`
  147 + Do not used pinned certificates to validate servers.
  148 +
  149 + `AFSSLPinningModePublicKey`
  150 + Validate host certificates against public keys of pinned certificates.
  151 +
  152 + `AFSSLPinningModeCertificate`
  153 + Validate host certificates against pinned certificates.
  154 +*/
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFSecurityPolicy.m 0 → 100755
  1 +// AFSecurityPolicy.m
  2 +// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3 +//
  4 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  5 +// of this software and associated documentation files (the "Software"), to deal
  6 +// in the Software without restriction, including without limitation the rights
  7 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8 +// copies of the Software, and to permit persons to whom the Software is
  9 +// furnished to do so, subject to the following conditions:
  10 +//
  11 +// The above copyright notice and this permission notice shall be included in
  12 +// all copies or substantial portions of the Software.
  13 +//
  14 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +// THE SOFTWARE.
  21 +
  22 +#import "AFSecurityPolicy.h"
  23 +
  24 +#import <AssertMacros.h>
  25 +
  26 +#if !TARGET_OS_IOS && !TARGET_OS_WATCH && !TARGET_OS_TV
  27 +static NSData * AFSecKeyGetData(SecKeyRef key) {
  28 + CFDataRef data = NULL;
  29 +
  30 + __Require_noErr_Quiet(SecItemExport(key, kSecFormatUnknown, kSecItemPemArmour, NULL, &data), _out);
  31 +
  32 + return (__bridge_transfer NSData *)data;
  33 +
  34 +_out:
  35 + if (data) {
  36 + CFRelease(data);
  37 + }
  38 +
  39 + return nil;
  40 +}
  41 +#endif
  42 +
  43 +static BOOL AFSecKeyIsEqualToKey(SecKeyRef key1, SecKeyRef key2) {
  44 +#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV
  45 + return [(__bridge id)key1 isEqual:(__bridge id)key2];
  46 +#else
  47 + return [AFSecKeyGetData(key1) isEqual:AFSecKeyGetData(key2)];
  48 +#endif
  49 +}
  50 +
  51 +static id AFPublicKeyForCertificate(NSData *certificate) {
  52 + id allowedPublicKey = nil;
  53 + SecCertificateRef allowedCertificate;
  54 + SecPolicyRef policy = nil;
  55 + SecTrustRef allowedTrust = nil;
  56 + SecTrustResultType result;
  57 +
  58 + allowedCertificate = SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificate);
  59 + __Require_Quiet(allowedCertificate != NULL, _out);
  60 +
  61 + policy = SecPolicyCreateBasicX509();
  62 + __Require_noErr_Quiet(SecTrustCreateWithCertificates(allowedCertificate, policy, &allowedTrust), _out);
  63 + __Require_noErr_Quiet(SecTrustEvaluate(allowedTrust, &result), _out);
  64 +
  65 + allowedPublicKey = (__bridge_transfer id)SecTrustCopyPublicKey(allowedTrust);
  66 +
  67 +_out:
  68 + if (allowedTrust) {
  69 + CFRelease(allowedTrust);
  70 + }
  71 +
  72 + if (policy) {
  73 + CFRelease(policy);
  74 + }
  75 +
  76 + if (allowedCertificate) {
  77 + CFRelease(allowedCertificate);
  78 + }
  79 +
  80 + return allowedPublicKey;
  81 +}
  82 +
  83 +static BOOL AFServerTrustIsValid(SecTrustRef serverTrust) {
  84 + BOOL isValid = NO;
  85 + SecTrustResultType result;
  86 + __Require_noErr_Quiet(SecTrustEvaluate(serverTrust, &result), _out);
  87 +
  88 + isValid = (result == kSecTrustResultUnspecified || result == kSecTrustResultProceed);
  89 +
  90 +_out:
  91 + return isValid;
  92 +}
  93 +
  94 +static NSArray * AFCertificateTrustChainForServerTrust(SecTrustRef serverTrust) {
  95 + CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);
  96 + NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];
  97 +
  98 + for (CFIndex i = 0; i < certificateCount; i++) {
  99 + SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);
  100 + [trustChain addObject:(__bridge_transfer NSData *)SecCertificateCopyData(certificate)];
  101 + }
  102 +
  103 + return [NSArray arrayWithArray:trustChain];
  104 +}
  105 +
  106 +static NSArray * AFPublicKeyTrustChainForServerTrust(SecTrustRef serverTrust) {
  107 + SecPolicyRef policy = SecPolicyCreateBasicX509();
  108 + CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);
  109 + NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];
  110 + for (CFIndex i = 0; i < certificateCount; i++) {
  111 + SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);
  112 +
  113 + SecCertificateRef someCertificates[] = {certificate};
  114 + CFArrayRef certificates = CFArrayCreate(NULL, (const void **)someCertificates, 1, NULL);
  115 +
  116 + SecTrustRef trust;
  117 + __Require_noErr_Quiet(SecTrustCreateWithCertificates(certificates, policy, &trust), _out);
  118 +
  119 + SecTrustResultType result;
  120 + __Require_noErr_Quiet(SecTrustEvaluate(trust, &result), _out);
  121 +
  122 + [trustChain addObject:(__bridge_transfer id)SecTrustCopyPublicKey(trust)];
  123 +
  124 + _out:
  125 + if (trust) {
  126 + CFRelease(trust);
  127 + }
  128 +
  129 + if (certificates) {
  130 + CFRelease(certificates);
  131 + }
  132 +
  133 + continue;
  134 + }
  135 + CFRelease(policy);
  136 +
  137 + return [NSArray arrayWithArray:trustChain];
  138 +}
  139 +
  140 +#pragma mark -
  141 +
  142 +@interface AFSecurityPolicy()
  143 +@property (readwrite, nonatomic, assign) AFSSLPinningMode SSLPinningMode;
  144 +@property (readwrite, nonatomic, strong) NSSet *pinnedPublicKeys;
  145 +@end
  146 +
  147 +@implementation AFSecurityPolicy
  148 +
  149 ++ (NSSet *)certificatesInBundle:(NSBundle *)bundle {
  150 + NSArray *paths = [bundle pathsForResourcesOfType:@"cer" inDirectory:@"."];
  151 +
  152 + NSMutableSet *certificates = [NSMutableSet setWithCapacity:[paths count]];
  153 + for (NSString *path in paths) {
  154 + NSData *certificateData = [NSData dataWithContentsOfFile:path];
  155 + [certificates addObject:certificateData];
  156 + }
  157 +
  158 + return [NSSet setWithSet:certificates];
  159 +}
  160 +
  161 ++ (NSSet *)defaultPinnedCertificates {
  162 + static NSSet *_defaultPinnedCertificates = nil;
  163 + static dispatch_once_t onceToken;
  164 + dispatch_once(&onceToken, ^{
  165 + NSBundle *bundle = [NSBundle bundleForClass:[self class]];
  166 + _defaultPinnedCertificates = [self certificatesInBundle:bundle];
  167 + });
  168 +
  169 + return _defaultPinnedCertificates;
  170 +}
  171 +
  172 ++ (instancetype)defaultPolicy {
  173 + AFSecurityPolicy *securityPolicy = [[self alloc] init];
  174 + securityPolicy.SSLPinningMode = AFSSLPinningModeNone;
  175 +
  176 + return securityPolicy;
  177 +}
  178 +
  179 ++ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode {
  180 + return [self policyWithPinningMode:pinningMode withPinnedCertificates:[self defaultPinnedCertificates]];
  181 +}
  182 +
  183 ++ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode withPinnedCertificates:(NSSet *)pinnedCertificates {
  184 + AFSecurityPolicy *securityPolicy = [[self alloc] init];
  185 + securityPolicy.SSLPinningMode = pinningMode;
  186 +
  187 + [securityPolicy setPinnedCertificates:pinnedCertificates];
  188 +
  189 + return securityPolicy;
  190 +}
  191 +
  192 +- (instancetype)init {
  193 + self = [super init];
  194 + if (!self) {
  195 + return nil;
  196 + }
  197 +
  198 + self.validatesDomainName = YES;
  199 +
  200 + return self;
  201 +}
  202 +
  203 +- (void)setPinnedCertificates:(NSSet *)pinnedCertificates {
  204 + _pinnedCertificates = pinnedCertificates;
  205 +
  206 + if (self.pinnedCertificates) {
  207 + NSMutableSet *mutablePinnedPublicKeys = [NSMutableSet setWithCapacity:[self.pinnedCertificates count]];
  208 + for (NSData *certificate in self.pinnedCertificates) {
  209 + id publicKey = AFPublicKeyForCertificate(certificate);
  210 + if (!publicKey) {
  211 + continue;
  212 + }
  213 + [mutablePinnedPublicKeys addObject:publicKey];
  214 + }
  215 + self.pinnedPublicKeys = [NSSet setWithSet:mutablePinnedPublicKeys];
  216 + } else {
  217 + self.pinnedPublicKeys = nil;
  218 + }
  219 +}
  220 +
  221 +#pragma mark -
  222 +
  223 +- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust
  224 + forDomain:(NSString *)domain
  225 +{
  226 + if (domain && self.allowInvalidCertificates && self.validatesDomainName && (self.SSLPinningMode == AFSSLPinningModeNone || [self.pinnedCertificates count] == 0)) {
  227 + // https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/NetworkingTopics/Articles/OverridingSSLChainValidationCorrectly.html
  228 + // According to the docs, you should only trust your provided certs for evaluation.
  229 + // Pinned certificates are added to the trust. Without pinned certificates,
  230 + // there is nothing to evaluate against.
  231 + //
  232 + // From Apple Docs:
  233 + // "Do not implicitly trust self-signed certificates as anchors (kSecTrustOptionImplicitAnchors).
  234 + // Instead, add your own (self-signed) CA certificate to the list of trusted anchors."
  235 + NSLog(@"In order to validate a domain name for self signed certificates, you MUST use pinning.");
  236 + return NO;
  237 + }
  238 +
  239 + NSMutableArray *policies = [NSMutableArray array];
  240 + if (self.validatesDomainName) {
  241 + [policies addObject:(__bridge_transfer id)SecPolicyCreateSSL(true, (__bridge CFStringRef)domain)];
  242 + } else {
  243 + [policies addObject:(__bridge_transfer id)SecPolicyCreateBasicX509()];
  244 + }
  245 +
  246 + SecTrustSetPolicies(serverTrust, (__bridge CFArrayRef)policies);
  247 +
  248 + if (self.SSLPinningMode == AFSSLPinningModeNone) {
  249 + return self.allowInvalidCertificates || AFServerTrustIsValid(serverTrust);
  250 + } else if (!AFServerTrustIsValid(serverTrust) && !self.allowInvalidCertificates) {
  251 + return NO;
  252 + }
  253 +
  254 + switch (self.SSLPinningMode) {
  255 + case AFSSLPinningModeNone:
  256 + default:
  257 + return NO;
  258 + case AFSSLPinningModeCertificate: {
  259 + NSMutableArray *pinnedCertificates = [NSMutableArray array];
  260 + for (NSData *certificateData in self.pinnedCertificates) {
  261 + [pinnedCertificates addObject:(__bridge_transfer id)SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificateData)];
  262 + }
  263 + SecTrustSetAnchorCertificates(serverTrust, (__bridge CFArrayRef)pinnedCertificates);
  264 +
  265 + if (!AFServerTrustIsValid(serverTrust)) {
  266 + return NO;
  267 + }
  268 +
  269 + // obtain the chain after being validated, which *should* contain the pinned certificate in the last position (if it's the Root CA)
  270 + NSArray *serverCertificates = AFCertificateTrustChainForServerTrust(serverTrust);
  271 +
  272 + for (NSData *trustChainCertificate in [serverCertificates reverseObjectEnumerator]) {
  273 + if ([self.pinnedCertificates containsObject:trustChainCertificate]) {
  274 + return YES;
  275 + }
  276 + }
  277 +
  278 + return NO;
  279 + }
  280 + case AFSSLPinningModePublicKey: {
  281 + NSUInteger trustedPublicKeyCount = 0;
  282 + NSArray *publicKeys = AFPublicKeyTrustChainForServerTrust(serverTrust);
  283 +
  284 + for (id trustChainPublicKey in publicKeys) {
  285 + for (id pinnedPublicKey in self.pinnedPublicKeys) {
  286 + if (AFSecKeyIsEqualToKey((__bridge SecKeyRef)trustChainPublicKey, (__bridge SecKeyRef)pinnedPublicKey)) {
  287 + trustedPublicKeyCount += 1;
  288 + }
  289 + }
  290 + }
  291 + return trustedPublicKeyCount > 0;
  292 + }
  293 + }
  294 +
  295 + return NO;
  296 +}
  297 +
  298 +#pragma mark - NSKeyValueObserving
  299 +
  300 ++ (NSSet *)keyPathsForValuesAffectingPinnedPublicKeys {
  301 + return [NSSet setWithObject:@"pinnedCertificates"];
  302 +}
  303 +
  304 +#pragma mark - NSSecureCoding
  305 +
  306 ++ (BOOL)supportsSecureCoding {
  307 + return YES;
  308 +}
  309 +
  310 +- (instancetype)initWithCoder:(NSCoder *)decoder {
  311 +
  312 + self = [self init];
  313 + if (!self) {
  314 + return nil;
  315 + }
  316 +
  317 + self.SSLPinningMode = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(SSLPinningMode))] unsignedIntegerValue];
  318 + self.allowInvalidCertificates = [decoder decodeBoolForKey:NSStringFromSelector(@selector(allowInvalidCertificates))];
  319 + self.validatesDomainName = [decoder decodeBoolForKey:NSStringFromSelector(@selector(validatesDomainName))];
  320 + self.pinnedCertificates = [decoder decodeObjectOfClass:[NSArray class] forKey:NSStringFromSelector(@selector(pinnedCertificates))];
  321 +
  322 + return self;
  323 +}
  324 +
  325 +- (void)encodeWithCoder:(NSCoder *)coder {
  326 + [coder encodeObject:[NSNumber numberWithUnsignedInteger:self.SSLPinningMode] forKey:NSStringFromSelector(@selector(SSLPinningMode))];
  327 + [coder encodeBool:self.allowInvalidCertificates forKey:NSStringFromSelector(@selector(allowInvalidCertificates))];
  328 + [coder encodeBool:self.validatesDomainName forKey:NSStringFromSelector(@selector(validatesDomainName))];
  329 + [coder encodeObject:self.pinnedCertificates forKey:NSStringFromSelector(@selector(pinnedCertificates))];
  330 +}
  331 +
  332 +#pragma mark - NSCopying
  333 +
  334 +- (instancetype)copyWithZone:(NSZone *)zone {
  335 + AFSecurityPolicy *securityPolicy = [[[self class] allocWithZone:zone] init];
  336 + securityPolicy.SSLPinningMode = self.SSLPinningMode;
  337 + securityPolicy.allowInvalidCertificates = self.allowInvalidCertificates;
  338 + securityPolicy.validatesDomainName = self.validatesDomainName;
  339 + securityPolicy.pinnedCertificates = [self.pinnedCertificates copyWithZone:zone];
  340 +
  341 + return securityPolicy;
  342 +}
  343 +
  344 +@end
LiveVideoCloud/LiveVideoCloud/Classes/SDK/AFNetworking/AFURLRequestSerialization.h 0 → 100755
  1 +// AFURLRequestSerialization.h
  2 +// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3 +//
  4 +// Permission is hereby granted, free of charge, to any person obtaining a copy
  5 +// of this software and associated documentation files (the "Software"), to deal
  6 +// in the Software without restriction, including without limitation the rights
  7 +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8 +// copies of the Software, and to permit persons to whom the Software is
  9 +// furnished to do so, subject to the following conditions:
  10 +//
  11 +// The above copyright notice and this permission notice shall be included in
  12 +// all copies or substantial portions of the Software.
  13 +//
  14 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15 +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16 +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17 +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18 +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19 +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +// THE SOFTWARE.
  21 +
  22 +#import <Foundation/Foundation.h>
  23 +#import <TargetConditionals.h>
  24 +
  25 +#if TARGET_OS_IOS || TARGET_OS_TV
  26 +#import <UIKit/UIKit.h>
  27 +#elif TARGET_OS_WATCH
  28 +#import <WatchKit/WatchKit.h>
  29 +#endif
  30 +
  31 +NS_ASSUME_NONNULL_BEGIN
  32 +
  33 +/**
  34 + Returns a percent-escaped string following RFC 3986 for a query string key or value.
  35 + RFC 3986 states that the following characters are "reserved" characters.
  36 + - General Delimiters: ":", "#", "[", "]", "@", "?", "/"
  37 + - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="
  38 +
  39 + In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow
  40 + query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/"
  41 + should be percent-escaped in the query string.
  42 +
  43 + @param string The string to be percent-escaped.
  44 +
  45 + @return The percent-escaped string.
  46 + */
  47 +FOUNDATION_EXPORT NSString * AFPercentEscapedStringFromString(NSString *string);
  48 +
  49 +/**
  50 + A helper method to generate encoded url query parameters for appending to the end of a URL.
  51 +
  52 + @param parameters A dictionary of key/values to be encoded.
  53 +
  54 + @return A url encoded query string
  55 + */
  56 +FOUNDATION_EXPORT NSString * AFQueryStringFromParameters(NSDictionary *parameters);
  57 +
  58 +/**
  59 + The `AFURLRequestSerialization` protocol is adopted by an object that encodes parameters for a specified HTTP requests. Request serializers may encode parameters as query strings, HTTP bodies, setting the appropriate HTTP header fields as necessary.
  60 +
  61 + For example, a JSON request serializer may set the HTTP body of the request to a JSON representation, and set the `Content-Type` HTTP header field value to `application/json`.
  62 + */
  63 +@protocol AFURLRequestSerialization <NSObject, NSSecureCoding, NSCopying>
  64 +
  65 +/**
  66 + Returns a request with the specified parameters encoded into a copy of the original request.
  67 +
  68 + @param request The original request.
  69 + @param parameters The parameters to be encoded.
  70 + @param error The error that occurred while attempting to encode the request parameters.
  71 +
  72 + @return A serialized request.
  73 + */
  74 +- (nullable NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
  75 + withParameters:(nullable id)parameters
  76 + error:(NSError * _Nullable __autoreleasing *)error NS_SWIFT_NOTHROW;
  77 +
  78 +@end
  79 +
  80 +#pragma mark -
  81 +
  82 +/**
  83 +
  84 + */
  85 +typedef NS_ENUM(NSUInteger, AFHTTPRequestQueryStringSerializationStyle) {
  86 + AFHTTPRequestQueryStringDefaultStyle = 0,
  87 +};
  88 +
  89 +@protocol AFMultipartFormData;
  90 +
  91 +/**
  92 + `AFHTTPRequestSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.
  93 +
  94 + Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPRequestSerializer` in order to ensure consistent default behavior.
  95 + */
  96 +@interface AFHTTPRequestSerializer : NSObject <AFURLRequestSerialization>
  97 +
  98 +/**
  99 + The string encoding used to serialize parameters. `NSUTF8StringEncoding` by default.
  100 + */
  101 +@property (nonatomic, assign) NSStringEncoding stringEncoding;
  102 +
  103 +/**
  104 + Whether created requests can use the device’s cellular radio (if present). `YES` by default.
  105 +
  106 + @see NSMutableURLRequest -setAllowsCellularAccess:
  107 + */
  108 +@property (nonatomic, assign) BOOL allowsCellularAccess;
  109 +
  110 +/**
  111 + The cache policy of created requests. `NSURLRequestUseProtocolCachePolicy` by default.
  112 +
  113 + @see NSMutableURLRequest -setCachePolicy:
  114 + */
  115 +@property (nonatomic, assign) NSURLRequestCachePolicy cachePolicy;
  116 +
  117 +/**
  118 + Whether created requests should use the default cookie handling. `YES` by default.
  119 +
  120 + @see NSMutableURLRequest -setHTTPShouldHandleCookies:
  121 + */
  122 +@property (nonatomic, assign) BOOL HTTPShouldHandleCookies;
  123 +
  124 +/**
  125 + Whether created requests can continue transmitting data before receiving a response from an earlier transmission. `NO` by default
  126 +
  127 + @see NSMutableURLRequest -setHTTPShouldUsePipelining:
  128 + */
  129 +@property (nonatomic, assign) BOOL HTTPShouldUsePipelining;
  130 +
  131 +/**
  132 + The network service type for created requests. `NSURLNetworkServiceTypeDefault` by default.
  133 +
  134 + @see NSMutableURLRequest -setNetworkServiceType:
  135 + */
  136 +@property (nonatomic, assign) NSURLRequestNetworkServiceType networkServiceType;
  137 +
  138 +/**
  139 + The timeout interval, in seconds, for created requests. The default timeout interval is 60 seconds.
  140 +
  141 + @see NSMutableURLRequest -setTimeoutInterval:
  142 + */
  143 +@property (nonatomic, assign) NSTimeInterval timeoutInterval;
  144 +
  145 +///---------------------------------------
  146 +/// @name Configuring HTTP Request Headers
  147 +///---------------------------------------
  148 +
  149 +/**
  150 + Default HTTP header field values to be applied to serialized requests. By default, these include the following:
  151 +
  152 + - `Accept-Language` with the contents of `NSLocale +preferredLanguages`
  153 + - `User-Agent` with the contents of various bundle identifiers and OS designations
  154 +
  155 + @discussion To add or remove default request headers, use `setValue:forHTTPHeaderField:`.
  156 + */
  157 +@property (readonly, nonatomic, strong) NSDictionary <NSString *, NSString *> *HTTPRequestHeaders;
  158 +
  159 +/**
  160 + Creates and returns a serializer with default configuration.
  161 + */
  162 ++ (instancetype)serializer;
  163 +
  164 +/**
  165 + Sets the value for the HTTP headers set in request objects made by the HTTP client. If `nil`, removes the existing value for that header.
  166 +
  167 + @param field The HTTP header to set a default value for
  168 + @param value The value set as default for the specified header, or `nil`
  169 + */
  170 +- (void)setValue:(nullable NSString *)value
  171 +forHTTPHeaderField:(NSString *)field;
  172 +
  173 +/**
  174 + Returns the value for the HTTP headers set in the request serializer.
  175 +
  176 + @param field The HTTP header to retrieve the default value for
  177 +
  178 + @return The value set as default for the specified header, or `nil`
  179 + */
  180 +- (nullable NSString *)valueForHTTPHeaderField:(NSString *)field;
  181 +
  182 +/**
  183 + Sets the "Authorization" HTTP header set in request objects made by the HTTP client to a basic authentication value with Base64-encoded username and password. This overwrites any existing value for this header.
  184 +
  185 + @param username The HTTP basic auth username
  186 + @param password The HTTP basic auth password
  187 + */
  188 +- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username
  189 + password:(NSString *)password;
  190 +
  191 +/**
  192 + Clears any existing value for the "Authorization" HTTP header.
  193 + */
  194 +- (void)clearAuthorizationHeader;
  195 +
  196 +///-------------------------------------------------------
  197 +/// @name Configuring Query String Parameter Serialization
  198 +///-------------------------------------------------------
  199 +
  200 +/**
  201 + HTTP methods for which serialized requests will encode parameters as a query string. `GET`, `HEAD`, and `DELETE` by default.
  202 + */
  203 +@property (nonatomic, strong) NSSet <NSString *> *HTTPMethodsEncodingParametersInURI;
  204 +
  205 +/**
  206 + Set the method of query string serialization according to one of the pre-defined styles.
  207 +
  208 + @param style The serialization style.
  209 +
  210 + @see AFHTTPRequestQueryStringSerializationStyle
  211 + */
  212 +- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style;
  213 +
  214 +/**
  215 + Set the a custom method of query string serialization according to the specified block.
  216 +
  217 + @param block A block that defines a process of encoding parameters into a query string. This block returns the query string and takes three arguments: the request, the parameters to encode, and the error that occurred when attempting to encode parameters for the given request.
  218 + */
  219 +- (void)setQueryStringSerializationWithBlock:(nullable NSString * (^)(NSURLRequest *request, id parameters, NSError * __autoreleasing *error))block;
  220 +
  221 +///-------------------------------
  222 +/// @name Creating Request Objects
  223 +///-------------------------------
  224 +
  225 +/**
  226 + Creates an `NSMutableURLRequest` object with the specified HTTP method and URL string.
  227 +
  228 + If the HTTP method is `GET`, `HEAD`, or `DELETE`, the parameters will be used to construct a url-encoded query string that is appended to the request's URL. Otherwise, the parameters will be encoded according to the value of the `parameterEncoding` property, and set as the request body.
  229 +
  230 + @param method The HTTP method for the request, such as `GET`, `POST`, `PUT`, or `DELETE`. This parameter must not be `nil`.
  231 + @param URLString The URL string used to create the request URL.
  232 + @param parameters The parameters to be either set as a query string for `GET` requests, or the request HTTP body.
  233 + @param error The error that occurred while constructing the request.
  234 +
  235 + @return An `NSMutableURLRequest` object.
  236 + */
  237 +- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
  238 + URLString:(NSString *)URLString
  239 + parameters:(nullable id)parameters
  240 + error:(NSError * _Nullable __autoreleasing *)error;
  241 +
  242 +/**
  243 + Creates an `NSMutableURLRequest` object with the specified HTTP method and URLString, and constructs a `multipart/form-data` HTTP body, using the specified parameters and multipart form data block. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2
  244 +
  245 + Multipart form requests are automatically streamed, reading files directly from disk along with in-memory data in a single HTTP body. The resulting `NSMutableURLRequest` object has an `HTTPBodyStream` property, so refrain from setting `HTTPBodyStream` or `HTTPBody` on this request object, as it will clear out the multipart form body stream.
  246 +
  247 + @param method The HTTP method for the request. This parameter must not be `GET` or `HEAD`, or `nil`.
  248 + @param URLString The URL string used to create the request URL.
  249 + @param parameters The parameters to be encoded and set in the request HTTP body.
  250 + @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
  251 + @param error The error that occurred while constructing the request.
  252 +
  253 + @return An `NSMutableURLRequest` object
  254 + */
  255 +- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
  256 + URLString:(NSString *)URLString
  257 + parameters:(nullable NSDictionary <NSString *, id> *)parameters
  258 + constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block
  259 + error:(NSError * _Nullable __autoreleasing *)error;
  260 +
  261 +/**
  262 + Creates an `NSMutableURLRequest` by removing the `HTTPBodyStream` from a request, and asynchronously writing its contents into the specified file, invoking the completion handler when finished.
  263 +
  264 + @param request The multipart form request. The `HTTPBodyStream` property of `request` must not be `nil`.
  265 + @param fileURL The file URL to write multipart form contents to.
  266 + @param handler A handler block to execute.
  267 +
  268 + @discussion There is a bug in `NSURLSessionTask` that causes requests to not send a `Content-Length` header when streaming contents from an HTTP body, which is notably problematic when interacting with the Amazon S3 webservice. As a workaround, this method takes a request constructed with `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error:`, or any other request with an `HTTPBodyStream`, writes the contents to the specified file and returns a copy of the original request with the `HTTPBodyStream` property set to `nil`. From here, the file can either be passed to `AFURLSessionManager -uploadTaskWithRequest:fromFile:progress:completionHandler:`, or have its contents read into an `NSData` that's assigned to the `HTTPBody` property of the request.
  269 +
  270 + @see https://github.com/AFNetworking/AFNetworking/issues/1398
  271 + */
  272 +- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request
  273 + writingStreamContentsToFile:(NSURL *)fileURL
  274 + completionHandler:(nullable void (^)(NSError * _Nullable error))handler;
  275 +
  276 +@end
  277 +
  278 +#pragma mark -
  279 +
  280 +/**
  281 + The `AFMultipartFormData` protocol defines the methods supported by the parameter in the block argument of `AFHTTPRequestSerializer -multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:`.
  282 + */
  283 +@protocol AFMultipartFormData
  284 +
  285 +/**
  286 + Appends the HTTP header `Content-Disposition: file; filename=#{generated filename}; name=#{name}"` and `Content-Type: #{generated mimeType}`, followed by the encoded file data and the multipart form boundary.
  287 +
  288 + The filename and MIME type for this data in the form will be automatically generated, using the last path component of the `fileURL` and system associated MIME type for the `fileURL` extension, respectively.
  289 +
  290 + @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
  291 + @param name The name to be associated with the specified data. This parameter must not be `nil`.
  292 + @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
  293 +
  294 + @return `YES` if the file data was successfully appended, otherwise `NO`.
  295 + */
  296 +- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
  297 + name:(NSString *)name
  298 + error:(NSError * _Nullable __autoreleasing *)error;
  299 +
  300 +/**
  301 + Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
  302 +
  303 + @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
  304 + @param name The name to be associated with the specified data. This parameter must not be `nil`.
  305 + @param fileName The file name to be used in the `Content-Disposition` header. This parameter must not be `nil`.
  306 + @param mimeType The declared MIME type of the file data. This parameter must not be `nil`.
  307 + @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
  308 +
  309 + @return `YES` if the file data was successfully appended otherwise `NO`.
  310 + */
  311 +- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
  312 + name:(NSString *)name
  313 + fileName:(NSString *)fileName
  314 + mimeType:(NSString *)mimeType
  315 + error:(NSError * _Nullable __autoreleasing *)error;
  316 +
  317 +/**
  318 + Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the data from the input stream and the multipart form boundary.
  319 +
  320 + @param inputStream The input stream to be appended to the form data
  321 + @param name The name to be associated with the specified input stream. This parameter must not be `nil`.
  322 + @param fileName The filename to be associated with the specified input stream. This parameter must not be `nil`.
  323 + @param length The length of the specified input stream in bytes.
  324 + @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
  325 + */
  326 +- (void)appendPartWithInputStream:(nullable NSInputStream *)inputStream
  327 + name:(NSString *)name
  328 + fileName:(NSString *)fileName
  329 + length:(int64_t)length
  330 + mimeType:(NSString *)mimeType;
  331 +
  332 +/**
  333 + Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
  334 +
  335 + @param data The data to be encoded and appended to the form data.
  336 + @param name The name to be associated with the specified data. This parameter must not be `nil`.
  337 + @param fileName The filename to be associated with the specified data. This parameter must not be `nil`.
  338 + @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
  339 + */
  340 +- (void)appendPartWithFileData:(NSData *)data
  341 + name:(NSString *)name
  342 + fileName:(NSString *)fileName
  343 + mimeType:(NSString *)mimeType;
  344 +
  345 +/**
  346 + Appends the HTTP headers `Content-Disposition: form-data; name=#{name}"`, followed by the encoded data and the multipart form boundary.
  347 +
  348 + @param data The data to be encoded and appended to the form data.
  349 + @param name The name to be associated with the specified data. This parameter must not be `nil`.
  350 + */
  351 +
  352 +- (void)appendPartWithFormData:(NSData *)data
  353 + name:(NSString *)name;
  354 +
  355 +
  356 +/**
  357 + Appends HTTP headers, followed by the encoded data and the multipart form boundary.
  358 +
  359 + @param headers The HTTP headers to be appended to the form data.
  360 + @param body The data to be encoded and appended to the form data. This parameter must not be `nil`.
  361 + */
  362 +- (void)appendPartWithHeaders:(nullable NSDictionary <NSString *, NSString *> *)headers
  363 + body:(NSData *)body;
  364 +
  365 +/**
  366 + Throttles request bandwidth by limiting the packet size and adding a delay for each chunk read from the upload stream.
  367 +
  368 + When uploading over a 3G or EDGE connection, requests may fail with "request body stream exhausted". Setting a maximum packet size and delay according to the recommended values (`kAFUploadStream3GSuggestedPacketSize` and `kAFUploadStream3GSuggestedDelay`) lowers the risk of the input stream exceeding its allocated bandwidth. Unfortunately, there is no definite way to distinguish between a 3G, EDGE, or LTE connection over `NSURLConnection`. As such, it is not recommended that you throttle bandwidth based solely on network reachability. Instead, you should consider checking for the "request body stream exhausted" in a failure block, and then retrying the request with throttled bandwidth.
  369 +
  370 + @param numberOfBytes Maximum packet size, in number of bytes. The default packet size for an input stream is 16kb.
  371 + @param delay Duration of delay each time a packet is read. By default, no delay is set.
  372 + */
  373 +- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes
  374 + delay:(NSTimeInterval)delay;
  375 +
  376 +@end
  377 +
  378 +#pragma mark -
  379 +
  380 +/**
  381 + `AFJSONRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSJSONSerialization`, setting the `Content-Type` of the encoded request to `application/json`.
  382 + */
  383 +@interface AFJSONRequestSerializer : AFHTTPRequestSerializer
  384 +
  385 +/**
  386 + Options for writing the request JSON data from Foundation objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONWritingOptions". `0` by default.
  387 + */
  388 +@property (nonatomic, assign) NSJSONWritingOptions writingOptions;
  389 +
  390 +/**
  391 + Creates and returns a JSON serializer with specified reading and writing options.
  392 +
  393 + @param writingOptions The specified JSON writing options.
  394 + */
  395 ++ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions;
  396 +
  397 +@end
  398 +
  399 +#pragma mark -
  400 +
  401 +/**
  402 + `AFPropertyListRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSPropertyListSerializer`, setting the `Content-Type` of the encoded request to `application/x-plist`.
  403 + */
  404 +@interface AFPropertyListRequestSerializer : AFHTTPRequestSerializer
  405 +
  406 +/**
  407 + The property list format. Possible values are described in "NSPropertyListFormat".
  408 + */
  409 +@property (nonatomic, assign) NSPropertyListFormat format;
  410 +
  411 +/**
  412 + @warning The `writeOptions` property is currently unused.
  413 + */
  414 +@property (nonatomic, assign) NSPropertyListWriteOptions writeOptions;
  415 +
  416 +/**
  417 + Creates and returns a property list serializer with a specified format, read options, and write options.
  418 +
  419 + @param format The property list format.
  420 + @param writeOptions The property list write options.
  421 +
  422 + @warning The `writeOptions` property is currently unused.
  423 + */
  424 ++ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
  425 + writeOptions:(NSPropertyListWriteOptions)writeOptions;
  426 +
  427 +@end
  428 +
  429 +#pragma mark -
  430 +
  431 +///----------------
  432 +/// @name Constants
  433 +///----------------
  434 +
  435 +/**
  436 + ## Error Domains
  437 +
  438 + The following error domain is predefined.
  439 +
  440 + - `NSString * const AFURLRequestSerializationErrorDomain`
  441 +
  442 + ### Constants
  443 +
  444 + `AFURLRequestSerializationErrorDomain`
  445 + AFURLRequestSerializer errors. Error codes for `AFURLRequestSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.
  446 + */
  447 +FOUNDATION_EXPORT NSString * const AFURLRequestSerializationErrorDomain;
  448 +
  449 +/**
  450 + ## User info dictionary keys
  451 +
  452 + These keys may exist in the user info dictionary, in addition to those defined for NSError.
  453 +
  454 + - `NSString * const AFNetworkingOperationFailingURLRequestErrorKey`
  455 +
  456 + ### Constants
  457 +
  458 + `AFNetworkingOperationFailingURLRequestErrorKey`
  459 + The corresponding value is an `NSURLRequest` containing the request of the operation associated with an error. This key is only present in the `AFURLRequestSerializationErrorDomain`.
  460 + */
  461 +FOUNDATION_EXPORT NSString * const AFNetworkingOperationFailingURLRequestErrorKey;
  462 +
  463 +/**
  464 + ## Throttling Bandwidth for HTTP Request Input Streams
  465 +
  466 + @see -throttleBandwidthWithPacketSize:delay:
  467 +
  468 + ### Constants
  469 +
  470 + `kAFUploadStream3GSuggestedPacketSize`
  471 + Maximum packet size, in number of bytes. Equal to 16kb.
  472 +
  473 + `kAFUploadStream3GSuggestedDelay`
  474 + Duration of delay each time a packet is read. Equal to 0.2 seconds.
  475 + */
  476 +FOUNDATION_EXPORT NSUInteger const kAFUploadStream3GSuggestedPacketSize;
  477 +FOUNDATION_EXPORT NSTimeInterval const kAFUploadStream3GSuggestedDelay;
  478 +
  479 +NS_ASSUME_NONNULL_END