From 4ae86a682de87b00d87eb2783b51b2d0f844a798 Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 02 Feb 2021 09:23:42 +0800
Subject: [PATCH] 2.2.0

---
 frameworks/AFNetworking.framework/Headers/UIProgressView+AFNetworking.h |   35 ++++-------------------------------
 1 files changed, 4 insertions(+), 31 deletions(-)

diff --git a/frameworks/AFNetworking.framework/Headers/UIProgressView+AFNetworking.h b/frameworks/AFNetworking.framework/Headers/UIProgressView+AFNetworking.h
old mode 100755
new mode 100644
index 5c00d6d..8ea0a73
--- a/frameworks/AFNetworking.framework/Headers/UIProgressView+AFNetworking.h
+++ b/frameworks/AFNetworking.framework/Headers/UIProgressView+AFNetworking.h
@@ -1,5 +1,5 @@
 // UIProgressView+AFNetworking.h
-// Copyright (c) 2011–2015 Alamofire Software Foundation (http://alamofire.org/)
+// Copyright (c) 2011–2016 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
@@ -21,18 +21,17 @@
 
 #import <Foundation/Foundation.h>
 
-#import <Availability.h>
+#import <TargetConditionals.h>
 
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
+#if TARGET_OS_IOS || TARGET_OS_TV
 
 #import <UIKit/UIKit.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
-@class AFURLConnectionOperation;
 
 /**
- This category adds methods to the UIKit framework's `UIProgressView` class. The methods in this category provide support for binding the progress to the upload and download progress of a session task or request operation.
+ This category adds methods to the UIKit framework's `UIProgressView` class. The methods in this category provide support for binding the progress to the upload and download progress of a session task.
  */
 @interface UIProgressView (AFNetworking)
 
@@ -46,10 +45,8 @@
  @param task The session task.
  @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
  */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
 - (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task
                                    animated:(BOOL)animated;
-#endif
 
 /**
  Binds the progress to the download progress of the specified session task.
@@ -57,32 +54,8 @@
  @param task The session task.
  @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
  */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
 - (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task
                                      animated:(BOOL)animated;
-#endif
-
-///------------------------------------
-/// @name Setting Session Task Progress
-///------------------------------------
-
-/**
- Binds the progress to the upload progress of the specified request operation.
-
- @param operation The request operation.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithUploadProgressOfOperation:(AFURLConnectionOperation *)operation
-                                        animated:(BOOL)animated;
-
-/**
- Binds the progress to the download progress of the specified request operation.
-
- @param operation The request operation.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithDownloadProgressOfOperation:(AFURLConnectionOperation *)operation
-                                          animated:(BOOL)animated;
 
 @end
 

--
Gitblit v1.8.0