Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unnecessary #imports in UIImageView & UIWebView+AFNetworking h…

…eaders.
  • Loading branch information...
commit cf01b18d928949a24a3a1a30c4c874be8ad08651 1 parent f82489d
Jesse Collis jessedc authored
4 UIKit+AFNetworking/UIImageView+AFNetworking.h
View
@@ -28,9 +28,9 @@
#import <UIKit/UIKit.h>
-#import "AFURLResponseSerialization.h"
+@protocol AFURLResponseSerialization, AFImageCache;
-@protocol AFImageCache;
+@class AFImageResponseSerializer;
/**
This category adds methods to the UIKit framework's `UIImageView` class. The methods in this category provide support for loading remote images asynchronously from a URL.
4 UIKit+AFNetworking/UIWebView+AFNetworking.h
View
@@ -28,8 +28,8 @@
#import <UIKit/UIKit.h>
-#import "AFURLRequestSerialization.h"
-#import "AFURLResponseSerialization.h"
+@class AFHTTPRequestSerializer, AFHTTPResponseSerializer;
+@protocol AFURLRequestSerialization, AFURLResponseSerialization;
/**
This category adds methods to the UIKit framework's `UIWebView` class. The methods in this category provide increased control over the request cycle, including progress monitoring and success / failure handling.
2  UIKit+AFNetworking/UIWebView+AFNetworking.m
View
@@ -27,6 +27,8 @@
#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
#import "AFHTTPRequestOperation.h"
+#import "AFURLResponseSerialization.h"
+#import "AFURLRequestSerialization.h"
@interface UIWebView (_AFNetworking)
@property (readwrite, nonatomic, strong, setter = af_setHTTPRequestOperation:) AFHTTPRequestOperation *af_HTTPRequestOperation;
Please sign in to comment.
Something went wrong with that request. Please try again.