Skip to content
This repository has been archived by the owner on Nov 14, 2017. It is now read-only.

Commit

Permalink
Use <global> imports for AFNetworking classes
Browse files Browse the repository at this point in the history
So pod can be build as module
  • Loading branch information
glyuck committed Jun 3, 2015
1 parent 108d9bd commit 5388acd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions RACAFNetworking.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,10 @@
);
FRAMEWORK_VERSION = A;
GCC_PREFIX_HEADER = "RACAFNetworking/RACAFNetworking-Prefix.pch";
HEADER_SEARCH_PATHS = (
"$(inherited)",
External/AFNetworking,
);
INFOPLIST_FILE = RACAFNetworking/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
Expand All @@ -1212,6 +1216,10 @@
);
FRAMEWORK_VERSION = A;
GCC_PREFIX_HEADER = "RACAFNetworking/RACAFNetworking-Prefix.pch";
HEADER_SEARCH_PATHS = (
"$(inherited)",
External/AFNetworking,
);
INFOPLIST_FILE = RACAFNetworking/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
Expand Down
2 changes: 1 addition & 1 deletion RACAFNetworking/AFHTTPRequestOperationManager+RACSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 CodaFi. All rights reserved.
//

#import "AFHTTPRequestOperationManager.h"
#import <AFNetworking/AFHTTPRequestOperationManager.h>
#import <ReactiveCocoa/ReactiveCocoa.h>

/// User info key for accessing the AFHTTPRequestOperation on which the error occured.
Expand Down
2 changes: 1 addition & 1 deletion RACAFNetworking/AFHTTPSessionManager+RACSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2014 CodaFi. All rights reserved.
//

#import "AFHTTPSessionManager.h"
#import <AFNetworking/AFHTTPSessionManager.h>
#import <ReactiveCocoa/ReactiveCocoa.h>

#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
Expand Down
2 changes: 1 addition & 1 deletion RACAFNetworking/AFURLConnectionOperation+RACSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 CodaFi. All rights reserved.
//

#import "AFHTTPRequestOperation.h"
#import <AFNetworking/AFHTTPRequestOperation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>

@interface AFHTTPRequestOperation (RACSupport)
Expand Down

0 comments on commit 5388acd

Please sign in to comment.