From ab662912a378edb0878538b40a531434dbbe6792 Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Tue, 22 Jan 2019 11:14:18 +0800 Subject: [PATCH] [Update] WATwitterImpl (3.8.0) --- frameworks/TwitterKit.framework/Headers/TWTRAPIClient.h | 29 +++++++++++++++++++++-------- 1 files changed, 21 insertions(+), 8 deletions(-) diff --git a/frameworks/TwitterKit.framework/Headers/TWTRAPIClient.h b/frameworks/TwitterKit.framework/Headers/TWTRAPIClient.h index a6dd4e1..c2f6f0a 100644 --- a/frameworks/TwitterKit.framework/Headers/TWTRAPIClient.h +++ b/frameworks/TwitterKit.framework/Headers/TWTRAPIClient.h @@ -1,8 +1,21 @@ -// -// TWTRAPIClient.h -// -// Copyright (c) 2015 Twitter. All rights reserved. -// +/* + * Copyright (C) 2017 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#import <UIKit/UIKit.h> @class TWTRUser; @class TWTRTweet; @@ -13,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN -FOUNDATION_EXPORT NSString *const TWTRTweetsNotLoadedKey; +FOUNDATION_EXTERN NSString *const TWTRTweetsNotLoadedKey; /** * @name Completion Block Types @@ -140,7 +153,7 @@ * * @note If the request is not sent with the -[TWTRAPIClient sendTwitterRequest:completion:] method it is the developers responsibility to ensure that there is a valid guest session before this method is called. */ -- (NSURLRequest *)URLRequestWithMethod:(NSString *)method URL:(NSString *)URLString parameters:(nullable NSDictionary *)parameters error:(NSError **)error; +- (NSURLRequest *)URLRequestWithMethod:(NSString *)method URLString:(NSString *)URLString parameters:(nullable NSDictionary *)parameters error:(NSError **)error; /** * Sends a Twitter request. @@ -234,7 +247,7 @@ * is unverified or you do not have the correct permissions to request the email address. * * @note Requesting a user’s email address requires your application to be whitelisted by Twitter. - * To request access, please visit https://support.twitter.com/forms/platform + * To request access, please visit the "Permissions" section for your app at https://apps.twitter.com/ */ - (void)requestEmailForCurrentUser:(TWTRRequestEmailCompletion)completion; -- Gitblit v1.8.0