feat: update tdsuser properties

xiaoyi 2021-07-20 19:11:00 +08:00
parent 8895323ba9
commit e8d133f96f
11 changed files with 2 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View File

@ -13,20 +13,9 @@
#define TapCommonSDK_VERSION @"3.0.0"
NS_ASSUME_NONNULL_BEGIN
typedef NSString *TDSLanguage NS_STRING_ENUM;
FOUNDATION_EXPORT TDSLanguage const TDSLanguageCN;
FOUNDATION_EXPORT TDSLanguage const TDSLanguageEN;
@interface TDSBaseManager : NSObject
+ (instancetype)new NS_UNAVAILABLE;
+ (instancetype)shareInstance;
- (void)setLanguage:(NSString *)language;
- (NSString *)getLanguage;
@end
NS_ASSUME_NONNULL_END

View File

@ -13,14 +13,14 @@ NS_ASSUME_NONNULL_BEGIN
+ (void)setXUA:(NSString*)json;
+ (void)language:(NSString *)language;
+ (void)getRegionCode:(void (^)(NSString *result))callback;
+ (void)isTapTapInstalled:(void (^)(NSString *result))callback;
+ (void)isTapGlobalInstalled:(void (^)(NSString *result))callback;
+ (void)preferredLanguage:(NSNumber *)language;
@end
NS_ASSUME_NONNULL_END

View File

Binary file not shown.

Binary file not shown.