From 7be7ad711909f384c4a9bc0a7f2991a50ae69049 Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Thu, 30 Aug 2018 09:26:23 +0800 Subject: [PATCH] 添加V3.7.0 --- frameworks/TwitterCore.framework/PrivateHeaders/TwitterNetworking.h | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frameworks/TwitterCore.framework/PrivateHeaders/TWTRNetworking.h b/frameworks/TwitterCore.framework/PrivateHeaders/TwitterNetworking.h similarity index 71% rename from frameworks/TwitterCore.framework/PrivateHeaders/TWTRNetworking.h rename to frameworks/TwitterCore.framework/PrivateHeaders/TwitterNetworking.h index f19d4cf..1e1ef49 100644 --- a/frameworks/TwitterCore.framework/PrivateHeaders/TWTRNetworking.h +++ b/frameworks/TwitterCore.framework/PrivateHeaders/TwitterNetworking.h @@ -26,18 +26,18 @@ */ typedef void (^TWTRTwitterNetworkCompletion)(NSURLResponse *response, NSData *data, NSError *connectionError); -@interface TWTRNetworking : NSObject +@interface TwitterNetworking : NSObject @property (nonatomic, readonly) TWTRAuthConfig *authConfig; -- (instancetype)init NS_UNAVAILABLE; +- (instancetype)init __unavailable; - (instancetype)initWithAuthConfig:(TWTRAuthConfig *)authConfig; -- (NSURLRequest *)URLRequestForGETMethodWithURLString:(NSString *)URLString parameters:(NSDictionary *)params; -- (NSURLRequest *)URLRequestForPOSTMethodWithURLString:(NSString *)URLString parameters:(NSDictionary *)params; -- (NSURLRequest *)URLRequestForDELETEMethodWithURLString:(NSString *)URLString parameters:(NSDictionary *)params; +- (NSURLRequest *)GET:(NSString *)URLString parameters:(NSDictionary *)parameters; +- (NSURLRequest *)POST:(NSString *)URLString parameters:(NSDictionary *)parameters; +- (NSURLRequest *)DELETE:(NSString *)URLString parameters:(NSDictionary *)parameters; -- (NSURLRequest *)URLRequestWithMethod:(NSString *)method URLString:(NSString *)URLString parameters:(NSDictionary *)parameters; +- (NSURLRequest *)URLRequestWithMethod:(NSString *)method URL:(NSString *)URLString parameters:(NSDictionary *)parameters; - (void)sendAsynchronousRequest:(NSURLRequest *)request completion:(TWTRTwitterNetworkCompletion)completion; -- Gitblit v1.8.0