Skip to content

Commit

Permalink
import改为新方式
Browse files Browse the repository at this point in the history
  • Loading branch information
songwentong committed Sep 23, 2015
1 parent 771f3ce commit c09d954
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions UIKit+WTRequestCenter/WTDataSaver.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
Mike
*/
#import <Foundation/Foundation.h>

@import UIKit;
@import <#module#>
@import Foundation;
@interface WTDataSaver : NSObject

#pragma mark - 存数据 Save Data
Expand Down
2 changes: 1 addition & 1 deletion UIKit+WTRequestCenter/WTNetworkActivityIndicatorManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2014年 song. All rights reserved.


#import <Foundation/Foundation.h>
@import Foundation;
@import UIKit;


Expand Down
2 changes: 1 addition & 1 deletion WTNetWork/WTNetworkReachabilityManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#import <Foundation/Foundation.h>
@import Foundation;
#import <SystemConfiguration/SystemConfiguration.h>

#ifndef NS_DESIGNATED_INITIALIZER
Expand Down
2 changes: 1 addition & 1 deletion WTNetWork/WTRequestCenter.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Mike
*/
#import <Foundation/Foundation.h>
@import Foundation;

@class WTURLRequestSerialization;
@protocol WTMultipartFormData;
Expand Down
3 changes: 2 additions & 1 deletion WTNetWork/WTURLRequestOperation.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
Mike
*/
#import <Foundation/Foundation.h>
@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);
Expand Down
2 changes: 1 addition & 1 deletion WTNetWork/WTURLRequestSerialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Mike
*/
#import <Foundation/Foundation.h>
@import Foundation;
@protocol WTMultipartFormData;
extern NSTimeInterval const WTURLRequestSerializationTimeoutTimeInterval;

Expand Down
2 changes: 1 addition & 1 deletion WTNetWork/WTURLSessionManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 song. All rights reserved.
//

#import <Foundation/Foundation.h>
@import Foundation;

@interface WTURLSessionManager : NSObject
@property (readonly, nonatomic, strong) NSURLSession *session;
Expand Down
2 changes: 1 addition & 1 deletion WTRequestCenter/WTRequestCenter-Prefix.pch
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@

#ifdef __OBJC__
// @import UIKit;
// #import <Foundation/Foundation.h>
// @import Foundation;
#endif

0 comments on commit c09d954

Please sign in to comment.