From 5d73887b7d6d2acc5e02a9d66854e36c923929aa Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Wed, 06 Sep 2017 10:57:19 +0800 Subject: [PATCH] 升级AFNetworking到3.1.0 --- frameworks/AFNetworking.framework/Headers/UIImage+AFNetworking.h | 24 ++++++++++-------------- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/frameworks/AFNetworking.framework/Headers/UIKit+AFNetworking.h b/frameworks/AFNetworking.framework/Headers/UIImage+AFNetworking.h similarity index 67% rename from frameworks/AFNetworking.framework/Headers/UIKit+AFNetworking.h rename to frameworks/AFNetworking.framework/Headers/UIImage+AFNetworking.h index 49850ed..14744cd 100755 --- a/frameworks/AFNetworking.framework/Headers/UIKit+AFNetworking.h +++ b/frameworks/AFNetworking.framework/Headers/UIImage+AFNetworking.h @@ -1,6 +1,8 @@ -// UIKit+AFNetworking.h // -// Copyright (c) 2013 AFNetworking (http://afnetworking.com/) +// UIImage+AFNetworking.h +// +// +// Created by Paulo Ferreira on 08/07/15. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -20,20 +22,14 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -#if TARGET_OS_IOS +#if TARGET_OS_IOS || TARGET_OS_TV + #import <UIKit/UIKit.h> -#ifndef _UIKIT_AFNETWORKING_ - #define _UIKIT_AFNETWORKING_ +@interface UIImage (AFNetworking) - #import "AFNetworkActivityIndicatorManager.h" ++ (UIImage*) safeImageWithData:(NSData*)data; - #import "UIActivityIndicatorView+AFNetworking.h" - #import "UIAlertView+AFNetworking.h" - #import "UIButton+AFNetworking.h" - #import "UIImageView+AFNetworking.h" - #import "UIProgressView+AFNetworking.h" - #import "UIRefreshControl+AFNetworking.h" - #import "UIWebView+AFNetworking.h" -#endif /* _UIKIT_AFNETWORKING_ */ +@end + #endif -- Gitblit v1.8.0