From c09d954e94f39e4c30d57a5c842817c748bac23d Mon Sep 17 00:00:00 2001 From: songwentong Date: Wed, 23 Sep 2015 14:20:44 +0800 Subject: [PATCH] =?UTF-8?q?import=E6=94=B9=E4=B8=BA=E6=96=B0=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UIKit+WTRequestCenter/WTDataSaver.h | 4 ++-- UIKit+WTRequestCenter/WTNetworkActivityIndicatorManager.h | 2 +- WTNetWork/WTNetworkReachabilityManager.h | 2 +- WTNetWork/WTRequestCenter.h | 2 +- WTNetWork/WTURLRequestOperation.h | 3 ++- WTNetWork/WTURLRequestSerialization.h | 2 +- WTNetWork/WTURLSessionManager.h | 2 +- WTRequestCenter/WTRequestCenter-Prefix.pch | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) diff --git a/UIKit+WTRequestCenter/WTDataSaver.h b/UIKit+WTRequestCenter/WTDataSaver.h index 08bb8d8..81ffbfb 100644 --- a/UIKit+WTRequestCenter/WTDataSaver.h +++ b/UIKit+WTRequestCenter/WTDataSaver.h @@ -14,9 +14,9 @@ Mike */ -#import + @import UIKit; -@import <#module#> +@import Foundation; @interface WTDataSaver : NSObject #pragma mark - 存数据 Save Data diff --git a/UIKit+WTRequestCenter/WTNetworkActivityIndicatorManager.h b/UIKit+WTRequestCenter/WTNetworkActivityIndicatorManager.h index 72bc89d..6bfae68 100644 --- a/UIKit+WTRequestCenter/WTNetworkActivityIndicatorManager.h +++ b/UIKit+WTRequestCenter/WTNetworkActivityIndicatorManager.h @@ -6,7 +6,7 @@ // Copyright (c) 2014年 song. All rights reserved. -#import +@import Foundation; @import UIKit; diff --git a/WTNetWork/WTNetworkReachabilityManager.h b/WTNetWork/WTNetworkReachabilityManager.h index aff8c08..84a84d6 100644 --- a/WTNetWork/WTNetworkReachabilityManager.h +++ b/WTNetWork/WTNetworkReachabilityManager.h @@ -19,7 +19,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -#import +@import Foundation; #import #ifndef NS_DESIGNATED_INITIALIZER diff --git a/WTNetWork/WTRequestCenter.h b/WTNetWork/WTRequestCenter.h index 9155d7e..55e8134 100644 --- a/WTNetWork/WTRequestCenter.h +++ b/WTNetWork/WTRequestCenter.h @@ -19,7 +19,7 @@ Mike */ -#import +@import Foundation; @class WTURLRequestSerialization; @protocol WTMultipartFormData; diff --git a/WTNetWork/WTURLRequestOperation.h b/WTNetWork/WTURLRequestOperation.h index 127372d..e108715 100644 --- a/WTNetWork/WTURLRequestOperation.h +++ b/WTNetWork/WTURLRequestOperation.h @@ -19,7 +19,8 @@ Mike */ -#import +@import Foundation; + #import "WTRequestCenter.h" typedef void (^WTRequestComplectionBlock)(NSURLResponse *response,NSData *data,NSError *error); typedef void(^WTDownLoadProgressBlock)(NSUInteger bytesRead,long long totalBytesRead,long long totalBytesExpectedToRead); diff --git a/WTNetWork/WTURLRequestSerialization.h b/WTNetWork/WTURLRequestSerialization.h index 84b0794..53ee641 100644 --- a/WTNetWork/WTURLRequestSerialization.h +++ b/WTNetWork/WTURLRequestSerialization.h @@ -19,7 +19,7 @@ Mike */ -#import +@import Foundation; @protocol WTMultipartFormData; extern NSTimeInterval const WTURLRequestSerializationTimeoutTimeInterval; diff --git a/WTNetWork/WTURLSessionManager.h b/WTNetWork/WTURLSessionManager.h index a67eae8..884ce32 100644 --- a/WTNetWork/WTURLSessionManager.h +++ b/WTNetWork/WTURLSessionManager.h @@ -6,7 +6,7 @@ // Copyright (c) 2015 song. All rights reserved. // -#import +@import Foundation; @interface WTURLSessionManager : NSObject @property (readonly, nonatomic, strong) NSURLSession *session; diff --git a/WTRequestCenter/WTRequestCenter-Prefix.pch b/WTRequestCenter/WTRequestCenter-Prefix.pch index c1fa0d9..e11e2ae 100644 --- a/WTRequestCenter/WTRequestCenter-Prefix.pch +++ b/WTRequestCenter/WTRequestCenter-Prefix.pch @@ -12,5 +12,5 @@ #ifdef __OBJC__ // @import UIKit; -// #import +// @import Foundation; #endif