Просмотр исходного кода

1.编译报错 清空后在上传

huangxiaodong 1 год назад
Родитель
Сommit
7eafcf253c
100 измененных файлов с 0 добавлено и 2083 удалено
  1. 0 33
      Podfile
  2. 0 64
      Podfile.lock
  3. 0 19
      Pods/AFNetworking/LICENSE
  4. 0 298
      Pods/AFNetworking/README.md
  5. 0 59
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowser.h
  6. 0 391
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowser.m
  7. 0 32
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowserCell.h
  8. 0 186
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowserCell.m
  9. 0 15
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImage.h
  10. 0 18
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloadOperation.h
  11. 0 144
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloadOperation.m
  12. 0 42
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloader.h
  13. 0 264
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloader.m
  14. 0 15
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImage+HUExtension.h
  15. 0 97
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImage+HUExtension.m
  16. 0 17
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImageView+HUWebImage.h
  17. 0 102
      Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImageView+HUWebImage.m
  18. 0 19
      Pods/HUPhotoBrowser/HUPhotoBrowser/UIView+frame.h
  19. 0 74
      Pods/HUPhotoBrowser/HUPhotoBrowser/UIView+frame.m
  20. 0 27
      Pods/HUPhotoBrowser/HUPhotoBrowser/hu_const.h
  21. 0 21
      Pods/HUPhotoBrowser/LICENSE
  22. 0 69
      Pods/HUPhotoBrowser/README.md
  23. 0 1
      Pods/Headers/Private/HUPhotoBrowser/HUPhotoBrowser.h
  24. 0 1
      Pods/Headers/Private/HUPhotoBrowser/HUPhotoBrowserCell.h
  25. 0 1
      Pods/Headers/Private/HUPhotoBrowser/HUWebImage.h
  26. 0 1
      Pods/Headers/Private/HUPhotoBrowser/HUWebImageDownloadOperation.h
  27. 0 1
      Pods/Headers/Private/HUPhotoBrowser/HUWebImageDownloader.h
  28. 0 1
      Pods/Headers/Private/HUPhotoBrowser/UIImage+HUExtension.h
  29. 0 1
      Pods/Headers/Private/HUPhotoBrowser/UIImageView+HUWebImage.h
  30. 0 1
      Pods/Headers/Private/HUPhotoBrowser/UIView+frame.h
  31. 0 1
      Pods/Headers/Private/HUPhotoBrowser/hu_const.h
  32. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQBarButtonItem.h
  33. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQKeyboardManager.h
  34. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQKeyboardManagerConstants.h
  35. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQKeyboardManagerConstantsInternal.h
  36. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQKeyboardReturnKeyHandler.h
  37. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQNSArray+Sort.h
  38. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQPreviousNextView.h
  39. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQTextView.h
  40. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQTitleBarButtonItem.h
  41. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQToolbar.h
  42. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQUIScrollView+Additions.h
  43. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQUITextFieldView+Additions.h
  44. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQUIView+Hierarchy.h
  45. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQUIView+IQKeyboardToolbar.h
  46. 0 1
      Pods/Headers/Private/IQKeyboardManager/IQUIViewController+Additions.h
  47. 0 1
      Pods/Headers/Private/JQImagePicker/JQImageCropperViewController.h
  48. 0 1
      Pods/Headers/Private/JQImagePicker/JQImagePicker.h
  49. 0 1
      Pods/Headers/Private/MJExtension/MJExtension.h
  50. 0 1
      Pods/Headers/Private/MJExtension/MJExtensionConst.h
  51. 0 1
      Pods/Headers/Private/MJExtension/MJFoundation.h
  52. 0 1
      Pods/Headers/Private/MJExtension/MJProperty.h
  53. 0 1
      Pods/Headers/Private/MJExtension/MJPropertyKey.h
  54. 0 1
      Pods/Headers/Private/MJExtension/MJPropertyType.h
  55. 0 1
      Pods/Headers/Private/MJExtension/NSObject+MJClass.h
  56. 0 1
      Pods/Headers/Private/MJExtension/NSObject+MJCoding.h
  57. 0 1
      Pods/Headers/Private/MJExtension/NSObject+MJKeyValue.h
  58. 0 1
      Pods/Headers/Private/MJExtension/NSObject+MJProperty.h
  59. 0 1
      Pods/Headers/Private/MJExtension/NSString+MJExtension.h
  60. 0 1
      Pods/Headers/Private/Masonry/MASCompositeConstraint.h
  61. 0 1
      Pods/Headers/Private/Masonry/MASConstraint+Private.h
  62. 0 1
      Pods/Headers/Private/Masonry/MASConstraint.h
  63. 0 1
      Pods/Headers/Private/Masonry/MASConstraintMaker.h
  64. 0 1
      Pods/Headers/Private/Masonry/MASLayoutConstraint.h
  65. 0 1
      Pods/Headers/Private/Masonry/MASUtilities.h
  66. 0 1
      Pods/Headers/Private/Masonry/MASViewAttribute.h
  67. 0 1
      Pods/Headers/Private/Masonry/MASViewConstraint.h
  68. 0 1
      Pods/Headers/Private/Masonry/Masonry.h
  69. 0 1
      Pods/Headers/Private/Masonry/NSArray+MASAdditions.h
  70. 0 1
      Pods/Headers/Private/Masonry/NSArray+MASShorthandAdditions.h
  71. 0 1
      Pods/Headers/Private/Masonry/NSLayoutConstraint+MASDebugAdditions.h
  72. 0 1
      Pods/Headers/Private/Masonry/View+MASAdditions.h
  73. 0 1
      Pods/Headers/Private/Masonry/View+MASShorthandAdditions.h
  74. 0 1
      Pods/Headers/Private/Masonry/ViewController+MASAdditions.h
  75. 0 1
      Pods/Headers/Private/SDWebImage/NSBezierPath+SDRoundedCorners.h
  76. 0 1
      Pods/Headers/Private/SDWebImage/NSButton+WebCache.h
  77. 0 1
      Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h
  78. 0 1
      Pods/Headers/Private/SDWebImage/NSImage+Compatibility.h
  79. 0 1
      Pods/Headers/Private/SDWebImage/SDAnimatedImage.h
  80. 0 1
      Pods/Headers/Private/SDWebImage/SDAnimatedImagePlayer.h
  81. 0 1
      Pods/Headers/Private/SDWebImage/SDAnimatedImageRep.h
  82. 0 1
      Pods/Headers/Private/SDWebImage/SDAnimatedImageView+WebCache.h
  83. 0 1
      Pods/Headers/Private/SDWebImage/SDAnimatedImageView.h
  84. 0 1
      Pods/Headers/Private/SDWebImage/SDAssociatedObject.h
  85. 0 1
      Pods/Headers/Private/SDWebImage/SDAsyncBlockOperation.h
  86. 0 1
      Pods/Headers/Private/SDWebImage/SDDeviceHelper.h
  87. 0 1
      Pods/Headers/Private/SDWebImage/SDDiskCache.h
  88. 0 1
      Pods/Headers/Private/SDWebImage/SDDisplayLink.h
  89. 0 1
      Pods/Headers/Private/SDWebImage/SDFileAttributeHelper.h
  90. 0 1
      Pods/Headers/Private/SDWebImage/SDGraphicsImageRenderer.h
  91. 0 1
      Pods/Headers/Private/SDWebImage/SDImageAPNGCoder.h
  92. 0 1
      Pods/Headers/Private/SDWebImage/SDImageAWebPCoder.h
  93. 0 1
      Pods/Headers/Private/SDWebImage/SDImageAssetManager.h
  94. 0 1
      Pods/Headers/Private/SDWebImage/SDImageCache.h
  95. 0 1
      Pods/Headers/Private/SDWebImage/SDImageCacheConfig.h
  96. 0 1
      Pods/Headers/Private/SDWebImage/SDImageCacheDefine.h
  97. 0 1
      Pods/Headers/Private/SDWebImage/SDImageCachesManager.h
  98. 0 1
      Pods/Headers/Private/SDWebImage/SDImageCachesManagerOperation.h
  99. 0 1
      Pods/Headers/Private/SDWebImage/SDImageCoder.h
  100. 0 0
      Pods/Headers/Private/SDWebImage/SDImageCoderHelper.h

+ 0 - 33
Podfile

@@ -1,33 +0,0 @@
-# Uncomment the next line to define a global platform for your project
-platform :ios, '12.0'
-
-target '双子星云手机' do
-
-  pod 'Masonry'
-  pod 'AFNetworking'
-  #pod 'RealReachability'
-  pod 'MJExtension'
-  pod 'MJRefresh'
-  
-  pod 'HUPhotoBrowser'
-  #pod 'MBProgressHUD'
-  pod 'TZImagePickerController'
-  pod 'IQKeyboardManager'
-  pod 'SDWebImage'
-  pod 'JQImagePicker'
-    
-  #pod 'ZFPlayer', '~> 4.0'
-  #pod 'ZFPlayer/ControlView', '~> 4.0'
-  #pod 'ZFPlayer/AVPlayer', '~> 4.0'
-  
-
-  target '双子星云手机Tests' do
-    inherit! :search_paths
-    # Pods for testing
-  end
-
-  target '双子星云手机UITests' do
-    # Pods for testing
-  end
-
-end

+ 0 - 64
Podfile.lock

@@ -1,64 +0,0 @@
-PODS:
-  - AFNetworking (4.0.1):
-    - AFNetworking/NSURLSession (= 4.0.1)
-    - AFNetworking/Reachability (= 4.0.1)
-    - AFNetworking/Security (= 4.0.1)
-    - AFNetworking/Serialization (= 4.0.1)
-    - AFNetworking/UIKit (= 4.0.1)
-  - AFNetworking/NSURLSession (4.0.1):
-    - AFNetworking/Reachability
-    - AFNetworking/Security
-    - AFNetworking/Serialization
-  - AFNetworking/Reachability (4.0.1)
-  - AFNetworking/Security (4.0.1)
-  - AFNetworking/Serialization (4.0.1)
-  - AFNetworking/UIKit (4.0.1):
-    - AFNetworking/NSURLSession
-  - HUPhotoBrowser (1.4.5):
-    - SVProgressHUD
-  - IQKeyboardManager (6.5.9)
-  - JQImagePicker (1.0.1)
-  - Masonry (1.1.0)
-  - MJExtension (3.4.1)
-  - SDWebImage (5.12.1):
-    - SDWebImage/Core (= 5.12.1)
-  - SDWebImage/Core (5.12.1)
-  - SVProgressHUD (2.2.5)
-  - TZImagePickerController (3.6.7)
-
-DEPENDENCIES:
-  - AFNetworking
-  - HUPhotoBrowser
-  - IQKeyboardManager
-  - JQImagePicker
-  - Masonry
-  - MJExtension
-  - SDWebImage
-  - TZImagePickerController
-
-SPEC REPOS:
-  trunk:
-    - AFNetworking
-    - HUPhotoBrowser
-    - IQKeyboardManager
-    - JQImagePicker
-    - Masonry
-    - MJExtension
-    - SDWebImage
-    - SVProgressHUD
-    - TZImagePickerController
-
-SPEC CHECKSUMS:
-  AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
-  HUPhotoBrowser: 87a8333c111a4e71ebf5400bf66d0eeb522c0098
-  IQKeyboardManager: 241cc94ccabc9deb8f8bd7d12f00d73288d13ecc
-  JQImagePicker: d2db45f8e91b8a29e62ff5ab3e4eb65f0f99cf23
-  Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
-  MJExtension: 21c5f6f8c4d5d8844b7ae8fbae08fed0b501f961
-  SDWebImage: 4dc3e42d9ec0c1028b960a33ac6b637bb432207b
-  SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
-  TZImagePickerController: 679ae9fa11e189a9a81291ae96f0a4463be8edc1
-
-PODFILE CHECKSUM: 57836b166b3e8255f819980c374ed6592384ec8a
-
-COCOAPODS: 1.11.2

+ 0 - 19
Pods/AFNetworking/LICENSE

@@ -1,19 +0,0 @@
-Copyright (c) 2011-2020 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.

+ 0 - 298
Pods/AFNetworking/README.md

@@ -1,298 +0,0 @@
-<p align="center" >
-  <img src="https://raw.github.com/AFNetworking/AFNetworking/assets/afnetworking-logo.png" alt="AFNetworking" title="AFNetworking">
-</p>
-
-[![Build Status](https://github.com/AFNetworking/AFNetworking/workflows/AFNetworking%20CI/badge.svg?branch=master)](https://github.com/AFNetworking/AFNetworking/actions)
-[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/AFNetworking.svg)](https://img.shields.io/cocoapods/v/AFNetworking.svg)
-[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-[![Platform](https://img.shields.io/cocoapods/p/AFNetworking.svg?style=flat)](http://cocoadocs.org/docsets/AFNetworking)
-[![Twitter](https://img.shields.io/badge/twitter-@AFNetworking-blue.svg?style=flat)](http://twitter.com/AFNetworking)
-
-AFNetworking is a delightful networking library for iOS, macOS, watchOS, and tvOS. It's built on top of the [Foundation URL Loading System](https://developer.apple.com/documentation/foundation/url_loading_system), extending the powerful high-level networking abstractions built into Cocoa. It has a modular architecture with well-designed, feature-rich APIs that are a joy to use.
-
-Perhaps the most important feature of all, however, is the amazing community of developers who use and contribute to AFNetworking every day. AFNetworking powers some of the most popular and critically-acclaimed apps on the iPhone, iPad, and Mac.
-
-## How To Get Started
-
-- [Download AFNetworking](https://github.com/AFNetworking/AFNetworking/archive/master.zip) and try out the included Mac and iPhone example apps
-- Read the ["Getting Started" guide](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking), [FAQ](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-FAQ), or [other articles on the Wiki](https://github.com/AFNetworking/AFNetworking/wiki)
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking). (Tag 'afnetworking')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking).
-- If you **found a bug**, _and can provide steps to reliably reproduce it_, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-## Installation
-AFNetworking supports multiple methods for installing the library in a project.
-
-## Installation with CocoaPods
-
-To integrate AFNetworking into your Xcode project using CocoaPods, specify it in your `Podfile`:
-
-```ruby
-pod 'AFNetworking', '~> 4.0'
-```
-
-### Installation with Swift Package Manager
-
-Once you have your Swift package set up, adding AFNetworking as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
-
-```swift
-dependencies: [
-    .package(url: "https://github.com/AFNetworking/AFNetworking.git", .upToNextMajor(from: "4.0.0"))
-]
-```
-
-> Note: AFNetworking's Swift package does not include it's UIKit extensions.
-
-### Installation with Carthage
-
-[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate AFNetworking, add the following to your `Cartfile`.
-
-```ogdl
-github "AFNetworking/AFNetworking" ~> 4.0
-```
-
-## Requirements
-
-| AFNetworking Version | Minimum iOS Target  | Minimum macOS Target  | Minimum watchOS Target  | Minimum tvOS Target  |                                   Notes                                   |
-|:--------------------:|:---------------------------:|:----------------------------:|:----------------------------:|:----------------------------:|:-------------------------------------------------------------------------:|
-| 4.x | iOS 9 | macOS 10.10 | watchOS 2.0 | tvOS 9.0 | Xcode 11+ is required. |
-| 3.x | iOS 7 | OS X 10.9 | watchOS 2.0 | tvOS 9.0 | Xcode 7+ is required. `NSURLConnectionOperation` support has been removed. |
-| 2.6 -> 2.6.3 | iOS 7 | OS X 10.9 | watchOS 2.0 | n/a | Xcode 7+ is required. |
-| 2.0 -> 2.5.4 | iOS 6 | OS X 10.8 | n/a | n/a | Xcode 5+ is required. `NSURLSession` subspec requires iOS 7 or OS X 10.9. |
-| 1.x | iOS 5 | Mac OS X 10.7 | n/a | n/a |
-| 0.10.x | iOS 4 | Mac OS X 10.6 | n/a | n/a |
-
-(macOS projects must support [64-bit with modern Cocoa runtime](https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtVersionsPlatforms.html)).
-
-> Programming in Swift? Try [Alamofire](https://github.com/Alamofire/Alamofire) for a more conventional set of APIs.
-
-## Architecture
-
-### NSURLSession
-
-- `AFURLSessionManager`
-- `AFHTTPSessionManager`
-
-### Serialization
-
-* `<AFURLRequestSerialization>`
-  - `AFHTTPRequestSerializer`
-  - `AFJSONRequestSerializer`
-  - `AFPropertyListRequestSerializer`
-* `<AFURLResponseSerialization>`
-  - `AFHTTPResponseSerializer`
-  - `AFJSONResponseSerializer`
-  - `AFXMLParserResponseSerializer`
-  - `AFXMLDocumentResponseSerializer` _(macOS)_
-  - `AFPropertyListResponseSerializer`
-  - `AFImageResponseSerializer`
-  - `AFCompoundResponseSerializer`
-
-### Additional Functionality
-
-- `AFSecurityPolicy`
-- `AFNetworkReachabilityManager`
-
-## Usage
-
-### AFURLSessionManager
-
-`AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.
-
-#### Creating a Download Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/download.zip"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURLSessionDownloadTask *downloadTask = [manager downloadTaskWithRequest:request progress:nil destination:^NSURL *(NSURL *targetPath, NSURLResponse *response) {
-    NSURL *documentsDirectoryURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:NO error:nil];
-    return [documentsDirectoryURL URLByAppendingPathComponent:[response suggestedFilename]];
-} completionHandler:^(NSURLResponse *response, NSURL *filePath, NSError *error) {
-    NSLog(@"File downloaded to: %@", filePath);
-}];
-[downloadTask resume];
-```
-
-#### Creating an Upload Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/upload"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURL *filePath = [NSURL fileURLWithPath:@"file://path/to/image.png"];
-NSURLSessionUploadTask *uploadTask = [manager uploadTaskWithRequest:request fromFile:filePath progress:nil completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
-    if (error) {
-        NSLog(@"Error: %@", error);
-    } else {
-        NSLog(@"Success: %@ %@", response, responseObject);
-    }
-}];
-[uploadTask resume];
-```
-
-#### Creating an Upload Task for a Multi-Part Request, with Progress
-
-```objective-c
-NSMutableURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@"POST" URLString:@"http://example.com/upload" parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
-        [formData appendPartWithFileURL:[NSURL fileURLWithPath:@"file://path/to/image.jpg"] name:@"file" fileName:@"filename.jpg" mimeType:@"image/jpeg" error:nil];
-    } error:nil];
-
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
-
-NSURLSessionUploadTask *uploadTask;
-uploadTask = [manager
-              uploadTaskWithStreamedRequest:request
-              progress:^(NSProgress * _Nonnull uploadProgress) {
-                  // This is not called back on the main queue.
-                  // You are responsible for dispatching to the main queue for UI updates
-                  dispatch_async(dispatch_get_main_queue(), ^{
-                      //Update the progress view
-                      [progressView setProgress:uploadProgress.fractionCompleted];
-                  });
-              }
-              completionHandler:^(NSURLResponse * _Nonnull response, id  _Nullable responseObject, NSError * _Nullable error) {
-                  if (error) {
-                      NSLog(@"Error: %@", error);
-                  } else {
-                      NSLog(@"%@ %@", response, responseObject);
-                  }
-              }];
-
-[uploadTask resume];
-```
-
-#### Creating a Data Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://httpbin.org/get"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURLSessionDataTask *dataTask = [manager dataTaskWithRequest:request completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
-    if (error) {
-        NSLog(@"Error: %@", error);
-    } else {
-        NSLog(@"%@ %@", response, responseObject);
-    }
-}];
-[dataTask resume];
-```
-
----
-
-### Request Serialization
-
-Request serializers create requests from URL strings, encoding parameters as either a query string or HTTP body.
-
-```objective-c
-NSString *URLString = @"http://example.com";
-NSDictionary *parameters = @{@"foo": @"bar", @"baz": @[@1, @2, @3]};
-```
-
-#### Query String Parameter Encoding
-
-```objective-c
-[[AFHTTPRequestSerializer serializer] requestWithMethod:@"GET" URLString:URLString parameters:parameters error:nil];
-```
-
-    GET http://example.com?foo=bar&baz[]=1&baz[]=2&baz[]=3
-
-#### URL Form Parameter Encoding
-
-```objective-c
-[[AFHTTPRequestSerializer serializer] requestWithMethod:@"POST" URLString:URLString parameters:parameters error:nil];
-```
-
-    POST http://example.com/
-    Content-Type: application/x-www-form-urlencoded
-
-    foo=bar&baz[]=1&baz[]=2&baz[]=3
-
-#### JSON Parameter Encoding
-
-```objective-c
-[[AFJSONRequestSerializer serializer] requestWithMethod:@"POST" URLString:URLString parameters:parameters error:nil];
-```
-
-    POST http://example.com/
-    Content-Type: application/json
-
-    {"foo": "bar", "baz": [1,2,3]}
-
----
-
-### Network Reachability Manager
-
-`AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.
-
-* Do not use Reachability to determine if the original request should be sent.
-	* You should try to send it.
-* You can use Reachability to determine when a request should be automatically retried.
-	* Although it may still fail, a Reachability notification that the connectivity is available is a good time to retry something.
-* Network reachability is a useful tool for determining why a request might have failed.
-	* After a network request has failed, telling the user they're offline is better than giving them a more technical but accurate error, such as "request timed out."
-
-See also [WWDC 2012 session 706, "Networking Best Practices."](https://developer.apple.com/videos/play/wwdc2012-706/).
-
-#### Shared Network Reachability
-
-```objective-c
-[[AFNetworkReachabilityManager sharedManager] setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
-    NSLog(@"Reachability: %@", AFStringFromNetworkReachabilityStatus(status));
-}];
-
-[[AFNetworkReachabilityManager sharedManager] startMonitoring];
-```
-
----
-
-### Security Policy
-
-`AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.
-
-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.
-
-#### Allowing Invalid SSL Certificates
-
-```objective-c
-AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
-manager.securityPolicy.allowInvalidCertificates = YES; // not recommended for production
-```
-
----
-
-## Unit Tests
-
-AFNetworking includes a suite of unit tests within the Tests subdirectory. These tests can be run simply be executed the test action on the platform framework you would like to test.
-
-## Credits
-
-AFNetworking is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org).
-
-AFNetworking was originally created by [Scott Raymond](https://github.com/sco/) and [Mattt Thompson](https://github.com/mattt/) in the development of [Gowalla for iPhone](http://en.wikipedia.org/wiki/Gowalla).
-
-AFNetworking's logo was designed by [Alan Defibaugh](http://www.alandefibaugh.com/).
-
-And most of all, thanks to AFNetworking's [growing list of contributors](https://github.com/AFNetworking/AFNetworking/contributors).
-
-### Security Disclosure
-
-If you believe you have identified a security vulnerability with AFNetworking, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker.
-
-## License
-
-AFNetworking is released under the MIT license. See [LICENSE](https://github.com/AFNetworking/AFNetworking/blob/master/LICENSE) for details.

+ 0 - 59
Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowser.h

@@ -1,59 +0,0 @@
-
-//
-//  HUPhotoBrowser.h
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/24.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-typedef void(^ __nullable DismissBlock)(UIImage * __nullable image, NSInteger index);
-
-@interface HUPhotoBrowser : UIView
-
-@property (nonatomic, strong, readonly) UIButton *saveButton;
-
-/*
- * 是否隐藏工具栏,默认不隐藏
- */
-@property (nonatomic) BOOL didHideToolBar;
-
-/*
- * @param imageView    点击的imageView
- * @param URLStrings   加载的网络图片的urlString
- * @param index        点击的图片在所有要展示图片中的位置
- */
-
-+ (nonnull instancetype)showFromImageView:(nullable UIImageView *)imageView withURLStrings:(nullable NSArray *)URLStrings atIndex:(NSInteger)index;
-
-/*
- * @param imageView    点击的imageView
- * @param withImages   加载的本地图片
- * @param index        点击的图片在所有要展示图片中的位置
- */
-
-+ (nonnull instancetype)showFromImageView:(nullable UIImageView *)imageView withImages:(nullable NSArray *)images atIndex:(NSInteger)index;
-
-/*
- * @param imageView    点击的imageView
- * @param URLStrings   加载的网络图片的urlString
- * @param image        占位图片
- * @param index        点击的图片在所有要展示图片中的位置
- * @param dismiss      photoBrowser消失的回调
- */
-+ (nonnull instancetype)showFromImageView:(nullable UIImageView *)imageView withURLStrings:(nullable NSArray *)URLStrings placeholderImage:(nullable UIImage *)image atIndex:(NSInteger)index dismiss:(DismissBlock)block;
-
-/*
- * @param imageView    点击的imageView
- * @param withImages   加载的本地图片
- * @param image        占位图片
- * @param index        点击的图片在所有要展示图片中的位置
- * @param dismiss      photoBrowser消失的回调
- */
-+ (nonnull instancetype)showFromImageView:(nullable UIImageView *)imageView withImages:(nullable NSArray *)images atIndex:(NSInteger)index dismiss:(DismissBlock)block;
-
-@property (nonatomic, strong, nullable) UIImage *placeholderImage;
-
-@end

+ 0 - 391
Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowser.m

@@ -1,391 +0,0 @@
-//
-//  HUPhotoBrowser.m
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/24.
-//  Copyright (c) 2016年 jinhuadiqigan. All rights reserved.
-//
-
-#import "HUPhotoBrowser.h"
-#import "HUPhotoBrowserCell.h"
-#import "hu_const.h"
-#import "HUWebImage.h"
-#import <SVProgressHUD/SVProgressHUD.h>
-
-@interface HUPhotoBrowser () <UICollectionViewDataSource, UICollectionViewDelegate,UICollectionViewDelegateFlowLayout> {
-    CGRect _endTempFrame;
-    NSInteger _currentPage;
-    NSIndexPath *_zoomingIndexPath;
-    BOOL _imageDidLoaded;
-    BOOL _animationCompleted;
-}
-
-@property (nonatomic, strong) UIImageView *imageView;
-@property (nonatomic, strong) UIImageView *tmpImageView;
-@property (nonatomic, strong) UICollectionView *collectionView;
-@property (nonatomic, strong) UIView *toolBar;
-@property (nonatomic, weak) UILabel *countLab;
-@property (nonatomic, strong) NSArray *URLStrings;
-@property (nonatomic) NSInteger index;
-@property (nonatomic) NSInteger imagesCount;
-@property (nonatomic, copy) DismissBlock dismissDlock;
-@property (nonatomic, strong) NSArray *images;
-
-@end
-
-@implementation HUPhotoBrowser
-
-- (void)dealloc {
-    self.collectionView.delegate = nil; 
-    [[NSNotificationCenter defaultCenter] removeObserver:self];
-}
-
-+ (instancetype)showFromImageView:(UIImageView *)imageView withURLStrings:(NSArray *)URLStrings placeholderImage:(UIImage *)image atIndex:(NSInteger)index dismiss:(DismissBlock)block {
-    HUPhotoBrowser *browser = [[HUPhotoBrowser alloc] initWithFrame:kScreenRect];
-    browser.imageView = imageView;
-    browser.URLStrings = URLStrings;
-    browser.imagesCount = URLStrings.count;
-    [browser resetCountLabWithIndex:index+1];
-    [browser configureBrowser];
-    [browser animateImageViewAtIndex:index];
-    browser.placeholderImage = image;
-    browser.dismissDlock = block;
-    
-    return browser;
-}
-
-
-+ (instancetype)showFromImageView:(UIImageView *)imageView withImages:(NSArray *)images atIndex:(NSInteger)index dismiss:(DismissBlock)block {
-    HUPhotoBrowser *browser = [[HUPhotoBrowser alloc] initWithFrame:kScreenRect];
-    browser.imageView = imageView;
-    browser.images = images;
-    browser.imagesCount = images.count;
-    [browser resetCountLabWithIndex:index+1];
-    [browser configureBrowser];
-    [browser animateImageViewAtIndex:index];
-    browser.dismissDlock = block;
-    
-    return browser;
-}
-
-+ (instancetype)showFromImageView:(UIImageView *)imageView withURLStrings:(NSArray *)URLStrings atIndex:(NSInteger)index {
-
-    return [self showFromImageView:imageView withURLStrings:URLStrings placeholderImage:nil atIndex:index dismiss:nil];
-}
-
-+ (instancetype)showFromImageView:(UIImageView *)imageView withImages:(NSArray *)images atIndex:(NSInteger)index {
-    return [self showFromImageView:imageView withImages:images atIndex:index dismiss:nil];
-}
-
-- (instancetype)initWithFrame:(CGRect)frame {
-    self = [super initWithFrame:frame];
-    if (self) {
-        self.backgroundColor = [UIColor blackColor];
-        
-        [self addSubview:self.collectionView];
-        
-        [self setupToolBar];
-        
-        [[NSNotificationCenter defaultCenter] removeObserver:self];
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadForScreenRotate) name:UIDeviceOrientationDidChangeNotification object:nil];
-         [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(photoCellDidZooming:) name:kPhotoCellDidZommingNotification object:nil];
-        
-    }
-    return self;
-}
-
-
-#pragma mark - UICollectionViewDataSource
-
-- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
-    NSInteger count = 0;
-    if (self.URLStrings) {
-        count = _URLStrings.count;
-    }else if (self.images) {
-        count = _images.count;
-    }
-    return count;
-}
-
-- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
-    HUPhotoBrowserCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:kPhotoBrowserCellID forIndexPath:indexPath];
-    cell.indexPath = indexPath;
-    [cell resetZoomingScale];
-    __weak __typeof(self) wself = self;
-    cell.tapActionBlock = ^(UITapGestureRecognizer *sender) {
-        [wself dismiss];
-    };
-    if (self.URLStrings) {
-        [cell startAnimating];
-        __weak __typeof(cell) weakCell = cell;
-        NSURL *url = [NSURL URLWithString:self.URLStrings[indexPath.row]];
-        if (indexPath.row != _index) {
-            if (_placeholderImage) {
-                [cell stopAnimating];
-                [cell.imageView hu_setImageWithURL:url placeholderImage:_placeholderImage completed:^(UIImage * _Nullable image, NSError * _Nullable error, NSURL * _Nullable imageUrl) {
-                    __strong __typeof(weakCell) strongCell = weakCell;
-                    [strongCell resizeImageView];
-                }];
-            } else {
-                [cell.imageView hu_setImageWithURL:url placeholderImage:nil completed:^(UIImage * _Nullable image, NSError * _Nullable error, NSURL * _Nullable imageUrl) {
-                    if (image) {
-                        __strong __typeof(weakCell) strongCell = weakCell;
-                        [strongCell resizeImageView];
-                        [strongCell stopAnimating];
-                    }
-                }];
-            }
-        } else {
-            UIImage *placeHolder = _tmpImageView.image;
-            [cell.imageView hu_setImageWithURL:url placeholderImage:placeHolder completed:^(UIImage *image, NSError *error, NSURL *imageUrl) {
-                __strong __typeof(wself) strongSelf = wself;
-                __strong __typeof(weakCell) strongCell = weakCell;
-                [strongCell stopAnimating];
-                [strongCell resizeImageView];
-                if (!strongSelf->_imageDidLoaded) {
-                     strongSelf->_imageDidLoaded = YES;
-                    if (strongSelf->_animationCompleted) {
-                        strongSelf.collectionView.hidden = NO;
-                        [strongSelf->_tmpImageView removeFromSuperview];
-                        strongSelf->_animationCompleted = NO;
-                    }
-                   
-                }
-            }];
-        }
-    }
-    else if (self.images) {
-        [cell stopAnimating];
-        cell.imageView.image = self.images[indexPath.row];
-        [cell resizeImageView];
-    }
-
-    return cell;
-}
-
-- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
-    return kScreenRect.size;
-}
-
-- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
-    _currentPage = scrollView.contentOffset.x/kScreenWidth + 0.5;
-    _countLab.text = [NSString stringWithFormat:@"%zd/%zd",_currentPage+1,_imagesCount];
-    
-    if (_zoomingIndexPath) {
-       [self.collectionView reloadItemsAtIndexPaths:@[_zoomingIndexPath]];
-        _zoomingIndexPath = nil;
-    }
-    
-}
-
-#pragma mark - notification handler
-
-- (void)reloadForScreenRotate {
-     _collectionView.frame = kScreenRect;
-   
-    [self.collectionView reloadData];
-    self.collectionView.contentOffset = CGPointMake(kScreenWidth * _currentPage,0);
-}
-
-- (void)photoCellDidZooming:(NSNotification *)nofit {
-    NSIndexPath *indexPath = nofit.object;
-    _zoomingIndexPath = indexPath;
-}
-
-#pragma mark - getter & setter
-
-- (void)setDidHideToolBar:(BOOL)didHideToolBar {
-    _didHideToolBar = didHideToolBar;
-    _toolBar.hidden = didHideToolBar;
-}
-
-- (UICollectionView *)collectionView {
-    if (!_collectionView) {
-        UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
-        layout.scrollDirection = UICollectionViewScrollDirectionHorizontal;
-        layout.minimumInteritemSpacing = 0;
-        layout.minimumLineSpacing = 0;
-        
-        _collectionView = [[UICollectionView alloc]initWithFrame:self.bounds collectionViewLayout:layout];
-        _collectionView.hidden = YES;
-        _collectionView.pagingEnabled = YES;
-        _collectionView.showsHorizontalScrollIndicator = NO;
-        
-    }
-    return _collectionView;
-}
-
-#pragma mark - private 
-
-- (void)configureBrowser {
-    
-    self.collectionView.delegate = self;
-    self.collectionView.dataSource = self;
-    [self.collectionView registerClass:[HUPhotoBrowserCell class] forCellWithReuseIdentifier:kPhotoBrowserCellID];
-    
-    [[UIApplication sharedApplication].keyWindow addSubview:self];
-}
-
-- (void)setupToolBar {
-    _toolBar = [[UIView alloc] initWithFrame:CGRectMake(0, self.frame.size.height-38, self.frame.size.width, 30)];
-    _toolBar.backgroundColor = [UIColor clearColor];
-    [self addSubview:_toolBar];
-    
-    UILabel *countLab = [[UILabel alloc] init];
-    countLab.textColor = [UIColor whiteColor];
-    countLab.layer.cornerRadius = 2;
-    countLab.layer.masksToBounds = YES;
-    countLab.backgroundColor = [[UIColor blackColor]colorWithAlphaComponent:0.4];
-    countLab.font = [UIFont systemFontOfSize:13];
-    countLab.textAlignment = NSTextAlignmentCenter;
-    [_toolBar addSubview:countLab];
-    _countLab = countLab;
-    
-    UIButton *saveBtn = [UIButton buttonWithType:UIButtonTypeCustom];
-    saveBtn.frame = CGRectMake(_toolBar.frame.size.width-58, 1, 50, 28);
-    saveBtn.layer.cornerRadius = 2;
-    [saveBtn setBackgroundColor:[[UIColor blackColor]colorWithAlphaComponent:0.4]];
-    [saveBtn setTitle:@"保存" forState:UIControlStateNormal];
-    [saveBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
-    saveBtn.titleLabel.font = [UIFont systemFontOfSize:13];
-    [saveBtn addTarget:self action:@selector(saveImae) forControlEvents:UIControlEventTouchUpInside];
-    [_toolBar addSubview:saveBtn];
-    _saveButton = saveBtn;
-    
-}
-
-- (void)animateImageViewAtIndex:(NSInteger)index {
-    _index = index;
-    CGRect startFrame = [self.imageView.superview convertRect:self.imageView.frame toView:[UIApplication sharedApplication].keyWindow];
-    CGRect endFrame = kScreenRect;
-    
-    if (self.imageView.image) {
-        UIImage *image = self.imageView.image;
-        CGFloat ratio = image.size.width / image.size.height;
-        
-        if (ratio > kScreenRatio) {
-            
-            endFrame.size.width = kScreenWidth;
-            endFrame.size.height = kScreenWidth / ratio;
-            
-        } else {
-            endFrame.size.height = kScreenHeight;
-            endFrame.size.width = kScreenHeight * ratio;
-            
-        }
-        endFrame.origin.x = (kScreenWidth - endFrame.size.width) / 2;
-        endFrame.origin.y = (kScreenHeight - endFrame.size.height) / 2;
-        
-    }
-    
-    _endTempFrame = endFrame;
-    
-#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_9_0
-    
-    [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
-#endif
-    
-    UIImageView *tempImageView = [[UIImageView alloc] initWithFrame:startFrame];
-    tempImageView.image = self.imageView.image;
-    tempImageView.contentMode = UIViewContentModeScaleAspectFit;
-    [[UIApplication sharedApplication].keyWindow addSubview:tempImageView];
-    _tmpImageView = tempImageView;
-    
-    if (self.URLStrings && !self.images) {
-        NSString *key = [HUWebImageDownloader cacheKeyForURL:[NSURL URLWithString:self.URLStrings[_index]]];
-        UIImage *image = [HUWebImageDownloader imageFromDiskCacheForKey:key];
-        _imageDidLoaded = image != nil;
-    }
-    [self.collectionView setContentOffset:CGPointMake(kScreenWidth * index,0) animated:NO];
-    
-    [UIView animateWithDuration:0.3 delay:0 options:UIViewAnimationOptionCurveEaseIn animations:^{
-        tempImageView.frame = endFrame;
-        
-    } completion:^(BOOL finished) {
-        _currentPage = index;
-        _animationCompleted = YES;
-        if (self.images || _imageDidLoaded || (self.URLStrings && !_imageDidLoaded)) {
-            self.collectionView.hidden = NO;
-            [tempImageView removeFromSuperview];
-            _animationCompleted = NO;
-        }
-        
-    }];
-    
-    
-}
-
-- (void)dismiss {
-#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_9_0
-    [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationFade];
-#endif
-    
-    if (self.dismissDlock) {
-        HUPhotoBrowserCell *cell = (HUPhotoBrowserCell *)[self.collectionView cellForItemAtIndexPath:[NSIndexPath indexPathForRow:_currentPage inSection:0]];
-        self.dismissDlock(cell.imageView.image, _currentPage);
-    }
-    
-    if (_currentPage != _index) {
-        [UIView animateWithDuration:0.3 delay:0 options:UIViewAnimationOptionCurveEaseIn animations:^{
-            self.alpha = 0;
-        } completion:^(BOOL finished) {
-            
-            [self removeFromSuperview];
-        }];
-        return;
-    }
-    
-    CGRect endFrame = [self.imageView.superview convertRect:self.imageView.frame toView:[UIApplication sharedApplication].keyWindow];
-    
-    UIImageView *tempImageView = [[UIImageView alloc] initWithFrame:_endTempFrame];
-    tempImageView.image = self.imageView.image;
-    tempImageView.contentMode = UIViewContentModeScaleAspectFit;
-    self.collectionView.hidden = YES;
-    
-    [[UIApplication sharedApplication].keyWindow addSubview:tempImageView];
-    
-    
-    [UIView animateWithDuration:0.3 delay:0 options:UIViewAnimationOptionCurveEaseIn animations:^{
-        tempImageView.frame = endFrame;
-        self.alpha = 0;
-    } completion:^(BOOL finished) {
-        
-        [self removeFromSuperview];
-        [tempImageView removeFromSuperview];
-        
-    }];
-    
-}
-
-- (void)resetCountLabWithIndex:(NSInteger)index {
-    
-    NSString *text = [NSString stringWithFormat:@"%zd%zd",_imagesCount,_imagesCount];
-    CGFloat width = [text sizeWithAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:13]}].width+8;
-    _countLab.frame = CGRectMake(8, 1, MAX(50, width), 28);
-    _countLab.text = [NSString stringWithFormat:@"%zd/%zd",index,_imagesCount];
-}
-
-- (void)saveImae {
-    HUPhotoBrowserCell *cell = (HUPhotoBrowserCell *)[self.collectionView cellForItemAtIndexPath:[NSIndexPath indexPathForRow:_currentPage inSection:0]];
-    UIImage *seavedImage = cell.imageView.image;
-    if (seavedImage) {
-         UIImageWriteToSavedPhotosAlbum(seavedImage, self, @selector(imageSavedToPhotosAlbum:didFinishSavingWithError:contextInfo:), nil);
-    }
-   
-}
-
-- (void)imageSavedToPhotosAlbum:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo {
-  
-    NSString *msg = nil ;
-    if(error != nil){
-        msg = @"保存图片失败";
-        [SVProgressHUD showInfoWithStatus:msg];
-    }
-    else{
-        msg = @"保存图片成功";
-        [SVProgressHUD showSuccessWithStatus:msg];
-    }
-    
-}
-
-@end

+ 0 - 32
Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowserCell.h

@@ -1,32 +0,0 @@
-//
-//  HUPhotoBrowserCell.h
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/24.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-#define kPhotoBrowserCellID @"HUPhotoBrowserCell"
-static NSString * const kPhotoCellDidZommingNotification = @"kPhotoCellDidZommingNotification";
-static NSString * const kPhotoCellDidImageLoadedNotification = @"kPhotoCellDidImageLoadedNotification";
-
-@interface HUPhotoBrowserCell : UICollectionViewCell
-
-@property (nonatomic, strong, readonly) UIActivityIndicatorView *indicatorView;
-@property (nonatomic, strong, readonly) UIImageView *imageView;
-
-@property (nonatomic, strong) NSIndexPath *indexPath;
-
-- (void)resetZoomingScale;
-
-- (void)resizeImageView;
-
-- (void)startAnimating;
-
-- (void)stopAnimating;
-
-@property (nonatomic, copy) void(^tapActionBlock)(UITapGestureRecognizer *tapGesture);
-
-@end

+ 0 - 186
Pods/HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowserCell.m

@@ -1,186 +0,0 @@
-//
-//  HUPhotoBrowserCell.m
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/24.
-//  Copyright (c) 2016年 jinhuadiqigan. All rights reserved.
-//
-
-#import "HUPhotoBrowserCell.h"
-#import "hu_const.h"
-#import "UIImageView+HUWebImage.h"
-
-@interface HUPhotoBrowserCell () <UIScrollViewDelegate>
-
-@property (nonatomic, strong, readwrite) UIActivityIndicatorView *indicatorView;
-@property (nonatomic, strong, readwrite) UIImageView *imageView;
-@property (nonatomic, strong) UIScrollView *scrollView;
-@property (nonatomic,strong) UITapGestureRecognizer *doubleTap;
-@property (nonatomic,strong) UITapGestureRecognizer *singleTap;
-
-@end
-
-@implementation HUPhotoBrowserCell
-
-- (instancetype)initWithFrame:(CGRect)frame {
-    self = [super initWithFrame:frame];
-    if (self) {
-        self.backgroundColor = [UIColor blackColor];
-        [self setupView];
-        [self addGestureRecognizer:self.singleTap];
-        [self addGestureRecognizer:self.doubleTap];
-    }
-    return self;
-}
-
-- (void)setupView {
-    [self.scrollView addSubview:self.imageView];
-    [self addSubview:self.scrollView];
-    [self addSubview:self.indicatorView];
-}
-
-- (void)resetZoomingScale {
-    
-    if (self.scrollView.zoomScale !=1) {
-         self.scrollView.zoomScale = 1;
-    }
-}
-
-- (void)resizeImageView {
-    CGSize size = self.imageView.image.size;
-    CGFloat scale = size.height / size.width;
-    BOOL flag = scale > kScreenHeight / kScreenWidth;
-    if (size.height > kScreenHeight * 2 && flag) {
-        CGFloat height = kScreenWidth * size.height / size.width;
-        self.imageView.frame = CGRectMake(0, 0, kScreenWidth, height);
-    } else {
-        self.imageView.frame = self.scrollView.bounds;
-    }
-}
-
-- (void)startAnimating {
-    [self.indicatorView startAnimating];
-}
-
-- (void)stopAnimating {
-    [self.indicatorView stopAnimating];
-}
-
-- (void)layoutSubviews {
-    [super layoutSubviews];
-    
-    self.scrollView.frame = self.bounds;
-    self.imageView.frame = self.scrollView.bounds;
-    self.indicatorView.center = CGPointMake(self.bounds.size.width/2, self.bounds.size.height/2);
-}
-
-- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView {
-    return self.imageView;
-}
-
-#pragma mark UIScrollViewDelegate
-
-- (void)scrollViewDidZoom:(UIScrollView *)scrollView {
-    self.imageView.center = [self centerOfScrollViewContent:scrollView];
-}
-
-- (void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale:(CGFloat)scale {
-    [[NSNotificationCenter defaultCenter] postNotificationName:kPhotoCellDidZommingNotification object:_indexPath];
-}
-
-#pragma mark - gesture handler
-
-- (void)doubleTapGestrueHandle:(UITapGestureRecognizer *)sender {
-    CGPoint p = [sender locationInView:self];
-    if (self.scrollView.zoomScale <=1.0) {
-        //CGFloat scaleX = p.x + self.scrollView.contentOffset.x;
-        //CGFloat scaley = p.y + self.scrollView.contentOffset.y;
-        CGRect rect = [self zoomRectForScale:self.scrollView.zoomScale*3 withCenter:p];
-        [self.scrollView zoomToRect:rect animated:YES];
-    }
-    else {
-        [self.scrollView setZoomScale:1.0 animated:YES];
-    }
-}
-
-- (void)singleTapGestrueHandle:(UITapGestureRecognizer *)sender {
-    if (self.tapActionBlock) {
-        self.tapActionBlock(sender);
-    }
-    
-}
-
-#pragma mark - private
-
-- (CGRect)zoomRectForScale:(float)scale withCenter:(CGPoint)center {
-    CGRect zoomRect;
-    zoomRect.size.height = self.scrollView.frame.size.height/scale;
-    zoomRect.size.width = self.scrollView.frame.size.width/scale;
-    zoomRect.origin.x = center.x - (zoomRect.size.width/2.0);
-    zoomRect.origin.y = center.y - (zoomRect.size.height/2.0);
-    
-    return zoomRect;
-    
-}
-
-- (CGPoint)centerOfScrollViewContent:(UIScrollView *)scrollView {
-    CGFloat offsetX = (scrollView.bounds.size.width > scrollView.contentSize.width)?
-    (scrollView.bounds.size.width - scrollView.contentSize.width) * 0.5 : 0.0;
-    CGFloat offsetY = (scrollView.bounds.size.height > scrollView.contentSize.height)?
-    (scrollView.bounds.size.height - scrollView.contentSize.height) * 0.5 : 0.0;
-    CGPoint actualCenter = CGPointMake(scrollView.contentSize.width * 0.5 + offsetX,
-                                       scrollView.contentSize.height * 0.5 + offsetY);
-    return actualCenter;
-}
-
-#pragma mark - getter
-
-- (UIScrollView *)scrollView {
-    if (_scrollView == nil) {
-        _scrollView = [[UIScrollView alloc] init];
-        _scrollView.backgroundColor = [UIColor blackColor];
-        _scrollView.showsHorizontalScrollIndicator = NO;
-        _scrollView.showsVerticalScrollIndicator = NO;
-        _scrollView.maximumZoomScale = 4;
-        _scrollView.minimumZoomScale = 0.5;
-        _scrollView.delegate = self;
-    }
-    return _scrollView;
-}
-
-- (UIImageView *)imageView {
-    if (_imageView == nil) {
-        _imageView = [[UIImageView alloc] init];
-        _imageView.contentMode = UIViewContentModeScaleAspectFit;
-    }
-    return _imageView;
-}
-
-- (UIActivityIndicatorView *)indicatorView {
-    if (_indicatorView == nil) {
-        _indicatorView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
-        _indicatorView.hidesWhenStopped = YES;
-    }
-    return _indicatorView;
-}
-
-- (UITapGestureRecognizer *)doubleTap {
-    if (!_doubleTap) {
-        _doubleTap  =[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(doubleTapGestrueHandle:)];
-        _doubleTap.numberOfTapsRequired = 2;
-        _doubleTap.numberOfTouchesRequired = 1;
-    }
-    return _doubleTap;
-}
-
-- (UITapGestureRecognizer *)singleTap {
-    if (!_singleTap) {
-        _singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleTapGestrueHandle:)];
-        _singleTap.numberOfTapsRequired = 1;
-        _singleTap.numberOfTouchesRequired = 1;
-        [_singleTap requireGestureRecognizerToFail:self.doubleTap];
-    }
-    return _singleTap;
-}
-
-@end

+ 0 - 15
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImage.h

@@ -1,15 +0,0 @@
-//
-//  HUWebImage.h
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/25.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#ifndef HUPhotoBrowser_HUWebImage_h
-#define HUPhotoBrowser_HUWebImage_h
-
-#import "UIImageView+HUWebImage.h"
-#import "HUWebImageDownloader.h"
-
-#endif

+ 0 - 18
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloadOperation.h

@@ -1,18 +0,0 @@
-//
-//  HUWebImageDownloadOperation.h
-//  Pods
-//
-//  Created by mac on 16/4/19.
-//
-//
-
-#import <UIKit/UIKit.h>
-
-typedef void (^HUWebImageDownloadCompltedBlock) (UIImage * __nullable image, NSData * __nullable data, NSError * __nullable error);
-
-@interface HUWebImageDownloadOperation : NSOperation
-
-- (nonnull instancetype)initWithURL:(nonnull NSURL *)url completed:(nullable HUWebImageDownloadCompltedBlock)completedBlock;
-- (void)resume;
-
-@end

+ 0 - 144
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloadOperation.m

@@ -1,144 +0,0 @@
-//
-//  HUWebImageDownloadOperation.m
-//  Pods
-//
-//  Created by mac on 16/4/19.
-//
-//
-
-#import "HUWebImageDownloadOperation.h"
-#import "UIImage+HUExtension.h"
-
-@interface HUWebImageDownloadOperation () {
-    NSLock *_lock;
-}
-
-@property (nonatomic, copy) HUWebImageDownloadCompltedBlock completedBlock;
-@property (nonatomic, strong) NSURL *url;
-@property (nonatomic, strong) NSURLSession *session;
-@property (nonatomic, strong) NSURLSessionDownloadTask *downloadTask;
-@property (nonatomic, assign) BOOL myFinished;
-@property (nonatomic, assign) BOOL myExecuting;
-
-@end
-
-@implementation HUWebImageDownloadOperation
-
-- (instancetype)initWithURL:(NSURL *)url completed:(HUWebImageDownloadCompltedBlock)completedBlock {
-    if (self = [super init]) {
-        _url = url;
-        _completedBlock = completedBlock;
-        _lock = [NSLock new];
-    }
-    return self;
-}
-
-- (void)resume {
-    if (self.isCancelled && !self.isFinished) {
-        [_lock lock];
-        self.myExecuting = YES;
-        [_lock unlock];
-        [_downloadTask resume];
-    }
-}
-
-- (void)start {
-    if (self.isCancelled) {
-        [self reset];
-        return;
-    }
-    [_lock lock];
-    self.myExecuting = YES;
-    [_lock unlock];
-    [self beginTask];
-}
-
-- (BOOL)isConcurrent {
-    return YES;
-}
-
-- (BOOL)isFinished {
-    return _myFinished;
-}
-
-- (BOOL)isExecuting {
-    return _myExecuting;
-}
-
-- (void)setMyExecuting:(BOOL)myExecuting {
-    [self willChangeValueForKey:@"isExecuting"];
-    _myExecuting = myExecuting;
-    [self didChangeValueForKey:@"isExecuting"];
-}
-
-- (void)setMyFinished:(BOOL)myFinished {
-    [self willChangeValueForKey:@"isFinished"];
-    _myFinished = myFinished;
-    [self didChangeValueForKey:@"isFinished"];
-}
-
-- (void)beginTask {
-    
-    NSURLRequest *request = [NSURLRequest requestWithURL:_url];
-    __weak __typeof(self) wself = self;
-    
-    self.downloadTask = [self.session downloadTaskWithRequest:request completionHandler:^(NSURL * _Nullable location, NSURLResponse * _Nullable response, NSError * _Nullable error) {
-        __strong __typeof(self) sself = wself;
-        
-        [sself end];
-        
-        if (!sself.completedBlock) {
-            sself.myFinished = YES;
-            return ;
-        }
-        
-        
-        NSString *caches = [NSSearchPathForDirectoriesInDomains (NSCachesDirectory, NSUserDomainMask, YES) lastObject];
-        NSString *file = [caches stringByAppendingPathComponent:response.suggestedFilename];
-        if (location.path) {
-            [NSFileManager.defaultManager moveItemAtPath:location.path toPath:file error:nil];
-        }
-        
-        NSData *data = [NSData dataWithContentsOfFile:file];
-        
-        [NSFileManager.defaultManager removeItemAtPath:file error:nil];
-        
-        if (data == nil || sself.isCancelled) {
-            sself.completedBlock(nil, nil, error);
-            sself.myFinished = YES;
-            return ;
-        }
-        
-        UIImage *image = [UIImage hu_imageFromData:data];
-        [[NSOperationQueue mainQueue] addOperationWithBlock:^{
-            sself.completedBlock(image, data, nil);
-            sself.myFinished = YES;
-        }];
-        
-    }];
-    
-    [_downloadTask resume];
-}
-
-- (void)reset {
-    [self end];
-    self.completedBlock = nil;
-    [[self.session dataTaskWithURL:_url] cancel];
-}
-
-- (void)end {
-    self.myExecuting = NO;
-    self.myFinished = YES;
-}
-
-- (NSURLSession *)session {
-    if (_session == nil) {
-        NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-        _session = [NSURLSession sessionWithConfiguration:configuration];
-    }
-    return _session;
-}
-
-
-@end
-

+ 0 - 42
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloader.h

@@ -1,42 +0,0 @@
-//
-//  HUWebImageDownloader.h
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/25.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-typedef NS_ENUM(NSInteger, HUWebImageOption) {
-    HUWebImageOptionNone,
-    HUWebImageOptionMemoryOnely,
-    HUWebImageOptionMemoryAndDisk,
-};
-
-typedef void(^HUDownloadCompletionBlock)( UIImage * __nullable image, NSError * __nullable error, NSURL * __nullable imageUrl);
-
-@class HUWebImageDownloadOperation;
-@interface HUWebImageDownloader : NSObject
-
-+ (nonnull instancetype)sharedInstance;
-+ (nonnull NSString *)cacheKeyForURL:(nonnull NSURL *)url;
-+ (nullable UIImage *)imageFromDiskCacheForKey:(nonnull NSString *)key;
-+ (nullable UIImage *)imageFromMemoryCacheForKey:(nonnull NSString *)key;
-+ (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url completed:(nullable HUDownloadCompletionBlock)completeBlock;
-+ (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url option:(HUWebImageOption)option completed:(nullable HUDownloadCompletionBlock)completeBlock;
-
-- (nonnull NSString *)cacheKeyForURL:(nonnull NSURL *)url;
-- (nullable UIImage *)imageFromDiskCacheForKey:(nonnull NSString *)key;
-- (nullable UIImage *)imageFromMemoryCacheForKey:(nonnull NSString *)key;
-- (void)saveImage:(nullable UIImage *)image forKey:(nonnull NSString *)key toDisk:(BOOL)toDisk;
-
-
-- (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url completed:(nullable HUDownloadCompletionBlock)completeBlock;
-
-
-- (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url option:(HUWebImageOption)option completed:(nullable HUDownloadCompletionBlock)completeBlock;
-
-@property (nonatomic) BOOL shouldCacheImagesInMemory;
-
-@end

+ 0 - 264
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloader.m

@@ -1,264 +0,0 @@
-//
-//  HUWebImageDownloader.m
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/25.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import "HUWebImageDownloader.h"
-#import <CommonCrypto/CommonDigest.h>
-#import "HUWebImageDownloadOperation.h"
-#import "hu_const.h"
-
-static NSString *const kDefaultDiskCachePath = @"com.huwebimagedownloader";
-
-
-FOUNDATION_STATIC_INLINE NSUInteger HUCacheCostForImage(UIImage *image) {
-    return image.size.width * image.size.height *image.scale * image.scale;
-}
-
-@interface HUWebImageDownloader () {
-    int count;
-}
-
-@property (nonatomic, strong) NSCache *webImageCache;
-@property (nonatomic) dispatch_queue_t ioQueue;
-@property (nonatomic, strong) NSOperationQueue *operationQueue;
-@property (nonatomic, strong) NSMutableDictionary *downloadOperations;
-
-@end
-
-@implementation HUWebImageDownloader
-
-+ (nonnull instancetype)sharedInstance {
-    static HUWebImageDownloader *downloader = nil;
-    static dispatch_once_t onceToken;
-    dispatch_once(&onceToken, ^{
-        downloader = [self new];
-    });
-    return downloader;
-}
-
-- (instancetype)init {
-    self = [super init];
-    if (self) {
-        _webImageCache = [[NSCache alloc] init];
-        _shouldCacheImagesInMemory = YES;
-        [self createDefaultCachePath];
-        _ioQueue = dispatch_queue_create("com.huwebimagedownloader.io", DISPATCH_QUEUE_SERIAL);
-        _downloadOperations = [NSMutableDictionary dictionary];
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(clearMemory) name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
-    }
-    return self;
-}
-
-- (void)dealloc {
-    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
-}
-
-+ (nonnull NSString *)cacheKeyForURL:(nonnull NSURL *)url {
-    return [[HUWebImageDownloader sharedInstance] cacheKeyForURL:url];
-}
-
-+ (nullable UIImage *)imageFromDiskCacheForKey:(nonnull NSString *)key {
-    return [[HUWebImageDownloader sharedInstance] imageFromDiskCacheForKey:key];
-}
-
-+ (nullable UIImage *)imageFromMemoryCacheForKey:(nonnull NSString *)key {
-    return [[HUWebImageDownloader sharedInstance] imageFromMemoryCacheForKey:key];
-}
-
-+ (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url completed:(nullable HUDownloadCompletionBlock)completeBlock {
-    return[self downloadImageWithURL:url option:HUWebImageOptionMemoryAndDisk completed:completeBlock];
-}
-
-+ (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url option:(HUWebImageOption)option completed:(nullable HUDownloadCompletionBlock)completeBlock {
-    return[[HUWebImageDownloader sharedInstance] downloadImageWithURL:url option:option completed:completeBlock];
-}
-
-#pragma mark - save image
-
-- (void)saveImage:(nullable UIImage *)image forKey:(nonnull NSString *)key toDisk:(BOOL)toDisk {
-    if (image == nil) {
-        return;
-    }
-    if (toDisk) {
-        NSData *imageData = UIImagePNGRepresentation(image);
-        [self saveImage:imageData toDiskForKey:key];
-    }
-    
-    [self saveImage:image toMemoryForKey:key];
-}
-
-#pragma mark - cache key for url
-
-- (nonnull NSString *)cacheKeyForURL:(nonnull NSURL *)url {
-    return [url absoluteString];
-}
-
-#pragma mark - the image from disk for key
-
-- (nullable UIImage *)imageFromDiskCacheForKey:(nonnull NSString *)key {
-    
-    UIImage *image = [self imageFromMemoryCacheForKey:key]; //first from memory
-    if (image) {
-        //NSLog(@"image from memory");
-        return image;
-    }
-    UIImage *diskImage = [self diskImageForKey:key];
-    if (diskImage && self.shouldCacheImagesInMemory) {
-        ///NSLog(@"image from disk");
-        NSUInteger cost = HUCacheCostForImage(diskImage);
-        [self.webImageCache setObject:diskImage forKey:key cost:cost];
-    }
-    
-    return diskImage;
-}
-
-#pragma mark - the image from memory for key
-
-- (nullable UIImage *)imageFromMemoryCacheForKey:(nonnull NSString *)key {
-    return [self.webImageCache objectForKey:key];
-}
-
-#pragma mark - download image for url whit option
-
-- (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url option:(HUWebImageOption)option completed:(nullable HUDownloadCompletionBlock)completeBlock {
-    UIImage *image = [self imageFromDiskCacheForKey:[self cacheKeyForURL:url]];
-    if (image) {
-        if (completeBlock) {
-            completeBlock(image, nil, url);
-        }
-        return nil;
-    }
-    HUWebImageDownloadOperation *operation = self.downloadOperations[[self cacheKeyForURL:url]];
-    __weak __typeof(self) wself = self;
-    if (operation == nil) {
-        operation = [[HUWebImageDownloadOperation alloc] initWithURL:url completed:^(UIImage *image, NSData *data, NSError *error) {
-            __strong __typeof(self) sself = wself;
-            
-            if (completeBlock) {
-                dispatch_async_main({
-                    completeBlock(image, nil, url);
-                })
-            }
-            
-            if (image == nil)  return ;
-
-            [sself.downloadOperations removeObjectForKey:[self cacheKeyForURL:url]];
-            
-            if (option == HUWebImageOptionMemoryAndDisk) {
-                [sself saveImage:data toDiskForKey:[sself cacheKeyForURL:url]];
-                [sself saveImage:image toMemoryForKey:[sself cacheKeyForURL:url]];
-            }
-            else if (option == HUWebImageOptionMemoryOnely) {
-                [sself saveImage:image toMemoryForKey:[sself cacheKeyForURL:url]];
-            }
-           
-        }];
-        
-        [self.operationQueue addOperation:operation];
-        [self.downloadOperations setValue:operation forKey:[self cacheKeyForURL:url]];
-    } else if (operation.isCancelled) {
-        [operation resume];
-    }
-    return operation;
-}
-
-#pragma mark - download image for url and store to disk
-
-- (nonnull HUWebImageDownloadOperation *)downloadImageWithURL:(nonnull NSURL *)url completed:(nullable HUDownloadCompletionBlock)completeBlock {
-   return [self downloadImageWithURL:url option:HUWebImageOptionMemoryAndDisk completed:completeBlock];
-}
-
-#pragma mark - parvate
-
-- (void)saveImage:(UIImage *)image toMemoryForKey:(NSString *)key {
-    UIImage *memoryImage = [self imageFromMemoryCacheForKey:key]; //first from memory
-    if (memoryImage == nil && image) {
-        NSUInteger cost = HUCacheCostForImage(image);
-        [self.webImageCache setObject:image forKey:key cost:cost];
-        //NSLog(@"save image to memory");
-    }
-}
-
-#pragma mark - save image to disk
-
-- (void)saveImage:(NSData *)imageData toDiskForKey:(NSString *)key {
-    if (imageData == nil) {
-        return;
-    }
-    UIImage *image = [self imageFromDiskCacheForKey:key];
-    if (image) {
-        return;
-    }
-    NSString *file = [self cacheFileForKey:key];
-    dispatch_sync(_ioQueue, ^{
-       // NSLog(@"save data to disk %@", file);
-        [imageData writeToFile:file atomically:YES];
-    });
-}
-
-- (UIImage *)diskImageForKey:(NSString *)key {
-    NSString *fileName = [self cacheFileForKey:key];
-    UIImage *img = [UIImage imageWithContentsOfFile:fileName];
-    return img;
-}
-
-- (nonnull NSString *)cacheFileForKey:(nonnull NSString *)key {
-    const char *cStr = [key UTF8String];
-    if (cStr == NULL) {
-        return @"";
-    }
-    unsigned char result[16];
-    
-    CC_MD5(cStr, (CC_LONG)strlen(cStr), result);
-    NSString *md5Key = [NSString stringWithFormat:@"%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X",
-            result[0], result[1], result[2], result[3],
-            result[4], result[5], result[6], result[7],
-            result[8], result[9], result[10], result[11],
-            result[12], result[13], result[14], result[15]
-            ];
-    
-    NSString *cachePath = [self defaultCahePath];
-    return [cachePath stringByAppendingPathComponent:md5Key];
-}
-
-- (BOOL)createDefaultCachePath {
-    
-    NSString *cachePath = [self defaultCahePath];
-    
-    NSFileManager *fileManager = [NSFileManager defaultManager];
-    BOOL isDir = FALSE;
-    BOOL isDirExit = [fileManager fileExistsAtPath:cachePath isDirectory:&isDir];
-    if (!(isDir && isDirExit)) {
-        if ([fileManager createDirectoryAtPath:cachePath withIntermediateDirectories:YES attributes:nil error:nil]) {
-            return NO;
-        }
-    }
-    
-    return isDirExit;
-}
-
-- (NSString *)defaultCahePath {
-    
-    NSString *cacheDir = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) lastObject];
-    return [cacheDir stringByAppendingPathComponent:kDefaultDiskCachePath];
-}
-
-- (void)clearMemory {
-    [self.webImageCache removeAllObjects];
-    [self.downloadOperations removeAllObjects];
-}
-
-- (NSOperationQueue *)operationQueue {
-    if (!_operationQueue) {
-        _operationQueue = [[NSOperationQueue alloc] init];
-        _operationQueue.maxConcurrentOperationCount = 5;
-    }
-    return _operationQueue;
-}
-
-
-@end

+ 0 - 15
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImage+HUExtension.h

@@ -1,15 +0,0 @@
-//
-//  UIImage+HUExtension.h
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/25.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface UIImage (HUExtension)
-
-+ (UIImage *)hu_imageFromData:(NSData *)data;
-
-@end

+ 0 - 97
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImage+HUExtension.m

@@ -1,97 +0,0 @@
-//
-//  UIImage+HUExtension.m
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/25.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import "UIImage+HUExtension.h"
-
-@implementation UIImage (HUExtension)
-
-+ (UIImage *)hu_imageFromData:(NSData *)data {
-    UIImage *image = [UIImage imageWithData:data];
-    return [image fixOrientation];
-}
-
-- (UIImage *)fixOrientation {
-    
-    // No-op if the orientation is already correct
-    if (self.imageOrientation == UIImageOrientationUp)
-        return self;
-    
-    // We need to calculate the proper transformation to make the image upright.
-    // We do it in 2 steps: Rotate if Left/Right/Down, and then flip if Mirrored.
-    CGAffineTransform transform = CGAffineTransformIdentity;
-    
-    switch (self.imageOrientation) {
-        case UIImageOrientationDown:
-        case UIImageOrientationDownMirrored:
-            transform = CGAffineTransformTranslate(transform, self.size.width, self.size.height);
-            transform = CGAffineTransformRotate(transform, M_PI);
-            break;
-            
-        case UIImageOrientationLeft:
-        case UIImageOrientationLeftMirrored:
-            transform = CGAffineTransformTranslate(transform, self.size.width, 0);
-            transform = CGAffineTransformRotate(transform, M_PI_2);
-            break;
-            
-        case UIImageOrientationRight:
-        case UIImageOrientationRightMirrored:
-            transform = CGAffineTransformTranslate(transform, 0, self.size.height);
-            transform = CGAffineTransformRotate(transform, -M_PI_2);
-            break;
-        default:
-            break;
-    }
-    
-    switch (self.imageOrientation) {
-        case UIImageOrientationUpMirrored:
-        case UIImageOrientationDownMirrored:
-            transform = CGAffineTransformTranslate(transform, self.size.width, 0);
-            transform = CGAffineTransformScale(transform, -1, 1);
-            break;
-            
-        case UIImageOrientationLeftMirrored:
-        case UIImageOrientationRightMirrored:
-            transform = CGAffineTransformTranslate(transform, self.size.height, 0);
-            transform = CGAffineTransformScale(transform, -1, 1);
-            break;
-        default:
-            break;
-    }
-    
-    // Now we draw the underlying CGImage into a new context, applying the transform
-    // calculated above.
-    CGContextRef ctx = CGBitmapContextCreate(NULL, self.size.width, self.size.height,
-                                             CGImageGetBitsPerComponent(self.CGImage), 0,
-                                             CGImageGetColorSpace(self.CGImage),
-                                             CGImageGetBitmapInfo(self.CGImage));
-    CGContextConcatCTM(ctx, transform);
-    switch (self.imageOrientation) {
-        case UIImageOrientationLeft:
-        case UIImageOrientationLeftMirrored:
-        case UIImageOrientationRight:
-        case UIImageOrientationRightMirrored:
-            // Grr...
-            CGContextDrawImage(ctx, CGRectMake(0,0,self.size.height,self.size.width), self.CGImage);
-            break;
-            
-        default:
-            CGContextDrawImage(ctx, CGRectMake(0,0,self.size.width,self.size.height), self.CGImage);
-            break;
-    }
-    
-    // And now we just create a new UIImage from the drawing context
-    CGImageRef cgimg = CGBitmapContextCreateImage(ctx);
-    UIImage *img = [UIImage imageWithCGImage:cgimg];
-    CGContextRelease(ctx);
-    CGImageRelease(cgimg);
-    return img;
-}
-
-
-
-@end

+ 0 - 17
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImageView+HUWebImage.h

@@ -1,17 +0,0 @@
-//
-//  UIImageView+HUWebImage.h
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/25.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface UIImageView (HUWebImage)
-
-- (void)hu_setImageWithURL:(nullable NSURL *)url;
-- (void)hu_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder;
-- (void)hu_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable void(^)(UIImage * __nullable image, NSError * __nullable error, NSURL * __nullable imageUrl))completed;
-
-@end

+ 0 - 102
Pods/HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImageView+HUWebImage.m

@@ -1,102 +0,0 @@
-//
-//  UIImageView+HUWebImage.m
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/25.
-//  Copyright (c) 2016年 hujewelz. All rights reserved.
-//
-
-#import "UIImageView+HUWebImage.h"
-#import "HUWebImageDownloadOperation.h"
-#import "HUWebImageDownloader.h"
-#import <objc/runtime.h>
-#import "hu_const.h"
-
-
-static char *loadOperationKey = "loadOperationKey";
-static char imageURLKey;
-
-@implementation UIImageView (HUWebImage)
-
-- (void)hu_setImageWithURL:(nullable NSURL *)url {
-    [self hu_setImageWithURL:url placeholderImage:nil];
-}
-
-- (void)hu_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder {
-    [self hu_setImageWithURL:url placeholderImage:placeholder completed:nil];
-}
-
-- (void)hu_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable void (^)(UIImage *, NSError *, NSURL *))completed {
-    if (url == nil) {
-      return;
-    }
-    self.image = nil;
-    self.image = placeholder;
-    [self hu_cancelImageDownloadOperationForKey:@"downloadimage"];
-    objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-    __weak __typeof(self) wself = self;
-    HUWebImageDownloadOperation *operation = [HUWebImageDownloader downloadImageWithURL:url completed:^(UIImage *image, NSError *error, NSURL *imageUrl) {
-        __strong __typeof (wself) sself = wself;
-        if (!sself) {
-          return ;
-        }
-        if (![[sself hu_imageURL].absoluteString isEqualToString:url.absoluteString]) {
-            return;
-        }
-        
-        dispatch_async_main({
-            if (image) {
-                sself.image = image;
-                [sself setNeedsLayout];
-            }
-            else {
-                sself.image = placeholder;
-                [sself setNeedsLayout];
-            }
-            if (completed) {
-                completed(image, error, imageUrl);
-            }
-        })
-    }];
-    if (operation) {
-        [self hu_setImageDownloadOperation:operation forKey:@"downloadimage"];
-    }
-
-}
-
-
-
-- (void)hu_setImageDownloadOperation:(id)operation forKey:(NSString *)key {
-    if (key == nil) {
-      return ;
-    }
-    [self hu_cancelImageDownloadOperationForKey:key];
-    NSMutableDictionary *operations = [self operationDict];
-    [operations setObject:operation forKey:key];
-}
-
-- (void)hu_cancelImageDownloadOperationForKey:(NSString *)key {
-    NSMutableDictionary *operations = [self operationDict];
-    
-    id operation = operations[key];
-    if ([operation isKindOfClass:[HUWebImageDownloadOperation class]]) {
-        [operation cancel];
-    }
-    [operations removeObjectForKey:key];
-}
-
-- (NSMutableDictionary *)operationDict {
-    NSMutableDictionary *operations = objc_getAssociatedObject(self, loadOperationKey);
-    if (operations) {
-        return operations;
-    }
-    operations = [NSMutableDictionary dictionary];
-    objc_setAssociatedObject(self, loadOperationKey, operations, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-    return operations;
-}
-
-- (NSURL *)hu_imageURL {
-  return objc_getAssociatedObject(self, &imageURLKey);
-}
-
-@end

+ 0 - 19
Pods/HUPhotoBrowser/HUPhotoBrowser/UIView+frame.h

@@ -1,19 +0,0 @@
-//
-//  UIView+Extension.h
-//  微博
-//
-//  Created by jewelz on 15/4/23.
-//  Copyright (c) 2015年 yangtzeu. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface UIView (frame)
-@property (assign, nonatomic) CGFloat x;
-@property (assign, nonatomic) CGFloat y;
-@property (assign, nonatomic) CGFloat width;
-@property (assign, nonatomic) CGFloat height;
-@property (assign, nonatomic) CGSize  size;
-@property (assign, nonatomic) CGPoint origion;
-
-@end

+ 0 - 74
Pods/HUPhotoBrowser/HUPhotoBrowser/UIView+frame.m

@@ -1,74 +0,0 @@
-//
-//  UIView+Extension.m
-//  微博
-//
-//  Created by jewelz on 15/4/23.
-//  Copyright (c) 2015年 yangtzeu. All rights reserved.
-//
-
-#import "UIView+frame.h"
-
-@implementation UIView (frame)
-
-- (void)setX:(CGFloat)x {
-    CGRect frame = self.frame;
-    frame.origin.x = x;
-    self.frame = frame;
-}
-
-- (CGFloat)x {
-    return self.frame.origin.x;
-}
-
-- (void)setY:(CGFloat)y {
-    CGRect frame = self.frame;
-    frame.origin.y = y;
-    self.frame = frame;
-}
-
-- (CGFloat)y {
-    return self.frame.origin.y;
-}
-
-- (void)setWidth:(CGFloat)width {
-    CGRect frame = self.frame;
-    frame.size.width = width;
-    self.frame = frame;
-}
-
-- (CGFloat)width {
-    return self.frame.size.width;
-}
-
-- (void)setHeight:(CGFloat)height {
-    CGRect frame = self.frame;
-    frame.size.height = height;
-    self.frame = frame;
-}
-
-- (CGFloat)height {
-    return self.frame.size.height;
-}
-
-- (void)setSize:(CGSize)size {
-    CGRect frame = self.frame;
-    frame.size = size;
-    self.frame = frame;
-}
-
-- (CGSize)size {
-    return self.frame.size;
-}
-
-- (void)setOrigion:(CGPoint)origion {
-    CGRect frame = self.frame;
-    frame.origin = origion;
-    self.frame = frame;
-}
-
-- (CGPoint)origion {
-    return self.frame.origin;
-}
-
-
-@end

+ 0 - 27
Pods/HUPhotoBrowser/HUPhotoBrowser/hu_const.h

@@ -1,27 +0,0 @@
-//
-//  const.h
-//  HUPhotoBrowser
-//
-//  Created by mac on 16/2/24.
-//  Copyright (c) 2016年 jinhuadiqigan. All rights reserved.
-//
-
-#ifndef HUPhotoBrowser_const_h
-#define HUPhotoBrowser_const_h
-
-#define kScreenRect [UIScreen mainScreen].bounds
-#define kScreenWidth [UIScreen mainScreen].bounds.size.width
-#define kScreenHeight [UIScreen mainScreen].bounds.size.height
-#define kScreenRatio kScreenWidth / kScreenHeight
-#define kScreenMidX CGRectGetMaxX(kScreenRect)
-#define kScreenMidY CGRectGetMaxY(kScreenRect)
-
-#define dispatch_async_main(block) if ([NSThread isMainThread]) { \
-    block;\
-} else { \
-    dispatch_async(dispatch_get_main_queue(), ^{ \
-        block; \
-    }); \
-} \
-
-#endif

+ 0 - 21
Pods/HUPhotoBrowser/LICENSE

@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016 Jewelz Hu
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

+ 0 - 69
Pods/HUPhotoBrowser/README.md

@@ -1,69 +0,0 @@
-# HUPhotoBrowser
-[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/hujewelz/HUPhotoBrowser/master/LICENSE)
-[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/HUPhotoBrowser.svg)](https://img.shields.io/cocoapods/v/HUPhotoBrowser.svg)
-
-⚠️最新的版本不再集成[HUPhotoPicker](https://github.com/hujewelz/HUPhotoPicker)了,需要使用的同学可以指定版本为 `1.2.5`,推荐单独使用[HUPhotoPicker](https://github.com/hujewelz/HUPhotoPicker)
-
-**HUPhotoBrowser** ios图片浏览器,支持浏览本地图片及网络图片,暂不支持浏览视频及gif,使用起来非常简单,只需要一行代码。
-**HUImagePickerViewController** 图片选择器,你可以像使用`UIImagePickerController`一样的使用它,支持图片多选。
-
-![image](https://github.com/hujewelz/HUPhotoBrowser/blob/master/screenshot/2016-04-3008_57_13.gif)
-
-## PhotoBrowser的使用
-
-在需要用到的地方 `#import <HUPhotoBrowser.h>`
-
-HUPhotoBrowser支持本地图片浏览
-
-	[HUPhotoBrowser showFromImageView:cell.imageView withImages:self.images atIndex:indexPath.row];
-
-HUPhotoBrowser同时支持网络图片浏览
-
-	[HUPhotoBrowser showFromImageView:cell.imageView withURLStrings:_URLStrings placeholderImage:[UIImage imageNamed:@"placeholder"] atIndex:indexPath.row dismiss:nil];
-
-在需要浏览的图片的点击事件中调用即可:
-
-```Objective-C
-- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
-    
-    PhotoCell *cell = (PhotoCell *)[collectionView cellForItemAtIndexPath:indexPath];
-    if (_localImage) {
-        [HUPhotoBrowser showFromImageView:cell.imageView withImages:self.originalImages atIndex:indexPath.row];
-    }
-    else {
-        [HUPhotoBrowser showFromImageView:cell.imageView withURLStrings:_URLStrings placeholderImage:[UIImage imageNamed:@"placeholder"] atIndex:indexPath.row dismiss:nil];
-    }
-
-}
-```
-
-你还可以获取到当前浏览到的图片
-
-```Objective-C
-[HUPhotoBrowser showFromImageView:cell.imageView withImages:self.images placeholderImage:nil atIndex:indexPath.row dismiss:^(UIImage *image, NSInteger index) {
-        
-    }];
-```
-
-## 安装
-
-1. [CocoaPods](https://cocoapods.org/)安装:
-```
-pod 'HUPhotoBrowser' 
-```
-2. 下载ZIP包,将`HUPhotoBrowser`资源文件拖到工程中。
-3. 将`HUPhotoBrowser.xcodeproj`工程文件和`HUPhotoBrowser`源文件一同拖入工程目录下,在工程中右键选择 "Add Files to ...",选择`HUPhotoBrowser.xcodeproj`。
-
-	![](http://image18-c.poco.cn/mypoco/myphoto/20170320/12/18436043320170320121521061.jpg?542x710_120)
-	
-	然后在 "Build Settings -> Header Search Paths" 中添加源文件路径。
-
-
-## 其他
-
-为了不影响您项目中导入的其他第三方库,本库没有导入任何其他的第三方内容,可以放心使用。在使用前,您可以查看[示例程序](https://github.com/hujewelz/HUPhotoBrowser/tree/master/Example)
-* 如果在使用过程中遇到BUG,希望你能Issues我,谢谢(或者尝试下载最新的框架代码看看BUG修复没有)
-* 如果您有什么建议可以Issues我,谢谢
-* 后续我会持续更新,为它添加更多的功能,欢迎star :)
-
-

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/HUPhotoBrowser.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowser.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/HUPhotoBrowserCell.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/HUPhotoBrowserCell.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/HUWebImage.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImage.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/HUWebImageDownloadOperation.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloadOperation.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/HUWebImageDownloader.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/HUWebImageDownloader.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/UIImage+HUExtension.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImage+HUExtension.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/UIImageView+HUWebImage.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/HUWebImageDownloader/UIImageView+HUWebImage.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/UIView+frame.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/UIView+frame.h

+ 0 - 1
Pods/Headers/Private/HUPhotoBrowser/hu_const.h

@@ -1 +0,0 @@
-../../../HUPhotoBrowser/HUPhotoBrowser/hu_const.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQBarButtonItem.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQToolbar/IQBarButtonItem.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQKeyboardManager.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQKeyboardManager.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQKeyboardManagerConstants.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/Constants/IQKeyboardManagerConstants.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQKeyboardManagerConstantsInternal.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/Constants/IQKeyboardManagerConstantsInternal.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQKeyboardReturnKeyHandler.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQKeyboardReturnKeyHandler.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQNSArray+Sort.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/Categories/IQNSArray+Sort.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQPreviousNextView.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQToolbar/IQPreviousNextView.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQTextView.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQTextView/IQTextView.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQTitleBarButtonItem.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQToolbar/IQTitleBarButtonItem.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQToolbar.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQToolbar/IQToolbar.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQUIScrollView+Additions.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/Categories/IQUIScrollView+Additions.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQUITextFieldView+Additions.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/Categories/IQUITextFieldView+Additions.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQUIView+Hierarchy.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/Categories/IQUIView+Hierarchy.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQUIView+IQKeyboardToolbar.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/IQToolbar/IQUIView+IQKeyboardToolbar.h

+ 0 - 1
Pods/Headers/Private/IQKeyboardManager/IQUIViewController+Additions.h

@@ -1 +0,0 @@
-../../../IQKeyboardManager/IQKeyboardManager/Categories/IQUIViewController+Additions.h

+ 0 - 1
Pods/Headers/Private/JQImagePicker/JQImageCropperViewController.h

@@ -1 +0,0 @@
-../../../JQImagePicker/JQImagePicker/JQImageCropperViewController.h

+ 0 - 1
Pods/Headers/Private/JQImagePicker/JQImagePicker.h

@@ -1 +0,0 @@
-../../../JQImagePicker/JQImagePicker/JQImagePicker.h

+ 0 - 1
Pods/Headers/Private/MJExtension/MJExtension.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/MJExtension.h

+ 0 - 1
Pods/Headers/Private/MJExtension/MJExtensionConst.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/MJExtensionConst.h

+ 0 - 1
Pods/Headers/Private/MJExtension/MJFoundation.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/MJFoundation.h

+ 0 - 1
Pods/Headers/Private/MJExtension/MJProperty.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/MJProperty.h

+ 0 - 1
Pods/Headers/Private/MJExtension/MJPropertyKey.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/MJPropertyKey.h

+ 0 - 1
Pods/Headers/Private/MJExtension/MJPropertyType.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/MJPropertyType.h

+ 0 - 1
Pods/Headers/Private/MJExtension/NSObject+MJClass.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/NSObject+MJClass.h

+ 0 - 1
Pods/Headers/Private/MJExtension/NSObject+MJCoding.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/NSObject+MJCoding.h

+ 0 - 1
Pods/Headers/Private/MJExtension/NSObject+MJKeyValue.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/NSObject+MJKeyValue.h

+ 0 - 1
Pods/Headers/Private/MJExtension/NSObject+MJProperty.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/NSObject+MJProperty.h

+ 0 - 1
Pods/Headers/Private/MJExtension/NSString+MJExtension.h

@@ -1 +0,0 @@
-../../../MJExtension/MJExtension/NSString+MJExtension.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASCompositeConstraint.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASCompositeConstraint.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASConstraint+Private.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASConstraint+Private.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASConstraint.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASConstraint.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASConstraintMaker.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASConstraintMaker.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASLayoutConstraint.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASLayoutConstraint.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASUtilities.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASUtilities.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASViewAttribute.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASViewAttribute.h

+ 0 - 1
Pods/Headers/Private/Masonry/MASViewConstraint.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/MASViewConstraint.h

+ 0 - 1
Pods/Headers/Private/Masonry/Masonry.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/Masonry.h

+ 0 - 1
Pods/Headers/Private/Masonry/NSArray+MASAdditions.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/NSArray+MASAdditions.h

+ 0 - 1
Pods/Headers/Private/Masonry/NSArray+MASShorthandAdditions.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h

+ 0 - 1
Pods/Headers/Private/Masonry/NSLayoutConstraint+MASDebugAdditions.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h

+ 0 - 1
Pods/Headers/Private/Masonry/View+MASAdditions.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/View+MASAdditions.h

+ 0 - 1
Pods/Headers/Private/Masonry/View+MASShorthandAdditions.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/View+MASShorthandAdditions.h

+ 0 - 1
Pods/Headers/Private/Masonry/ViewController+MASAdditions.h

@@ -1 +0,0 @@
-../../../Masonry/Masonry/ViewController+MASAdditions.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/NSBezierPath+SDRoundedCorners.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/NSBezierPath+SDRoundedCorners.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/NSButton+WebCache.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/NSButton+WebCache.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/NSData+ImageContentType.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/NSImage+Compatibility.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/NSImage+Compatibility.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDAnimatedImage.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDAnimatedImage.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDAnimatedImagePlayer.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDAnimatedImagePlayer.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDAnimatedImageRep.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDAnimatedImageRep.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDAnimatedImageView+WebCache.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDAnimatedImageView+WebCache.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDAnimatedImageView.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDAnimatedImageView.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDAssociatedObject.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/SDAssociatedObject.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDAsyncBlockOperation.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/SDAsyncBlockOperation.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDDeviceHelper.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/SDDeviceHelper.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDDiskCache.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDDiskCache.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDDisplayLink.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/SDDisplayLink.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDFileAttributeHelper.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/SDFileAttributeHelper.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDGraphicsImageRenderer.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDGraphicsImageRenderer.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageAPNGCoder.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDImageAPNGCoder.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageAWebPCoder.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDImageAWebPCoder.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageAssetManager.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/SDImageAssetManager.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageCache.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDImageCache.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageCacheConfig.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDImageCacheConfig.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageCacheDefine.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDImageCacheDefine.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageCachesManager.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDImageCachesManager.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageCachesManagerOperation.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.h

+ 0 - 1
Pods/Headers/Private/SDWebImage/SDImageCoder.h

@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/Core/SDImageCoder.h

+ 0 - 0
Pods/Headers/Private/SDWebImage/SDImageCoderHelper.h


Некоторые файлы не были показаны из-за большого количества измененных файлов