feat(*): update binary

xiaoyi 2021-05-14 19:40:33 +08:00
parent 8c9e4675fd
commit 62c0dd92a2
28 changed files with 189 additions and 7 deletions

View File

@ -0,0 +1,8 @@
{
"zh_hans":{
"network_error_click_retry":"网络异常,点击重试"
},
"en":{
"network_error_click_retry":"Network error, click to retry"
}
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 8f3484d319afb443fac9a83716322c20
guid: 79e4f9ebbd71047bb9ab9a85daeb9193
DefaultImporter:
externalObjects: {}
userData:

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 19fc6b14a3c6245fb80d172e19bc459f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6b195edcbdd694b0bb422b2f2c4423b9
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6e4c19f7cee284504ba294c04ddc21ff
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 440bced484e8f4ab28accda051d448f0
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
//
// ComponentMessageDelegate.h
// TapCommonSDK
//
// Created by Bottle K on 2021/5/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol ComponentMessageDelegate <NSObject>
- (void)onMessageWithCode:(NSInteger)code extras:(NSDictionary *)extras;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9af68ef3917fb467483451283cd49b10
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -16,4 +16,7 @@
- (NSString *)tds_stringFromData;
- (NSData *)tds_aes256Encrypt:(NSString *)key;
- (NSData *)tds_aes256Decrypt:(NSString *)key;
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0a978e0a05c99408484e34c2ccb3464d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -12,6 +12,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface NSDictionary (JSON)
- (NSString *)tds_jsonString;
- (NSString *)tds_jsonStringWithoutOptions:(NSJSONWritingOptions)opt;
@end
NS_ASSUME_NONNULL_END

View File

@ -15,16 +15,19 @@
- (NSString *)tds_reverse;
// MD5 hash of the file on the filesystem specified by path
+ (NSString *)tds_stringWithMD5OfFile:(NSString *) path;
+ (NSString *)tds_stringWithMD5OfFile:(NSString *)path;
// The string's MD5 hash
- (NSString *)tds_MD5Hash;
// base64
- (NSString *)tds_base64Encode;
- (NSString *)tds_base64Dencode;
- (NSString *)tds_base64Decode;
// aes256
- (NSString *)tds_aes256Encrypt:(NSString *)key;
- (NSString *)tds_aes256Decrypt:(NSString *)key;
/// 是否是空字符串
- (BOOL)tds_isEmpty;
+ (BOOL)tds_isEmpty:(NSString *)string;
- (NSDictionary *)tds_toDictionary;

View File

@ -0,0 +1,19 @@
//
// TDSAccountNotification.h
// TapBootstrapSDK
//
// Created by Bottle K on 2021/4/26.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern NSString *const TAP_LOGIN_SUCCESS_NOTIFICATION;
extern NSString *const TAP_LOGIN_FAIL_NOTIFICATION;
@interface TDSAccountNotification : NSObject
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9c731fb54d7184c71b6f325247174f5c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -5,6 +5,7 @@
// Created by Bottle K on 2021/3/30.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TDSAccount.h>
NS_ASSUME_NONNULL_BEGIN
@ -12,6 +13,10 @@ NS_ASSUME_NONNULL_BEGIN
@protocol TDSAccountProvider <NSObject>
- (nullable TDSAccount *)getAccount;
- (nullable NSDictionary *)getLocalUserInfo;
- (void)getAccountUser:(void (^)(NSDictionary *_Nullable userInfo, NSError *_Nullable error))handler;
@end
NS_ASSUME_NONNULL_END

View File

@ -9,8 +9,8 @@
#import <TapCommonSDK/TDSAccount.h>
#define TapCommonSDK @"TapCommon"
#define TapCommonSDK_VERSION_NUMBER @"20101001"
#define TapCommonSDK_VERSION @"2.1.1"
#define TapCommonSDK_VERSION_NUMBER @"20102001"
#define TapCommonSDK_VERSION @"2.1.2"
NS_ASSUME_NONNULL_BEGIN
typedef NSString *TDSLanguage NS_STRING_ENUM;

View File

@ -0,0 +1,21 @@
//
// TDSButton.h
// TapCommonSDK
//
// Created by Bottle K on 2021/4/27.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSButton : UIButton
@property (nonatomic, assign) NSInteger mode;
- (void)confirmMode;
- (void)cancelMode;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 769fb48823d5547a5b3c32c501ac2a98
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,31 @@
//
// TDSCommonDialogView.h
// TapCommonSDK
//
// Created by Bottle K on 2021/4/29.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@protocol TDSCommonDialogProtocol <NSObject>
- (void)onReloadData;
- (void)onClose;
@end
@interface TDSCommonDialogView : UIView
@property (nonatomic, weak) id<TDSCommonDialogProtocol> delegate;
@property (nonatomic, strong) UIView *dialogView;
//loading
@property (nonatomic, strong) UIView *loadingView;
//reload
@property (nonatomic, strong) UIView *reloadView;
- (void)closeDialog;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: cd5ce22d819ec42a19e385c3c23a98df
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -18,6 +18,9 @@ NS_ASSUME_NONNULL_BEGIN
/// 从bundle获取image
+ (UIImage *)getImageFromBundle:(NSString *)bundleName withImage:(NSString *)imageName;
/// 从bundle获取翻译后的文案
+ (NSString *)getTranslatedStringFromCommonWithKey:(NSString *)key;
/// rgb转color
+ (UIColor *)rgbToColorWithRed:(CGFloat)red
green:(CGFloat)green
@ -58,6 +61,10 @@ NS_ASSUME_NONNULL_BEGIN
/// 安全区域(上左下右)
+ (UIEdgeInsets)safeAreaInsets;
+ (UIViewController *)findTopViewController;
+ (UIViewController *)findUIViewController:(UIViewController *)controller;
@end
NS_ASSUME_NONNULL_END

View File

@ -20,12 +20,17 @@ FOUNDATION_EXPORT const unsigned char TapCommonSDKVersionString[];
#import <TapCommonSDK/TDSAccount.h>
#import <TapCommonSDK/TDSAccountProvider.h>
#import <TapCommonSDK/TDSAccountNotification.h>
#import <TapCommonSDK/ComponentMessageDelegate.h>
#import <TapCommonSDK/TDSDomainManager.h>
#import <TapCommonSDK/TDSGameUtil.h>
#import <TapCommonSDK/TDSAutoLayout.h>
#import <TapCommonSDK/TDSButton.h>
#import <TapCommonSDK/TDSCommonDialogView.h>
#import <TapCommonSDK/TDSCommonEnvironment.h>
#import <TapCommonSDK/EngineBridgeError.h>
@ -39,7 +44,7 @@ FOUNDATION_EXPORT const unsigned char TapCommonSDKVersionString[];
#import <TapCommonSDK/TDSResult.h>
#import <TapCommonSDK/NSArray+Safe.h>
#import <TapCommonSDK/NSBundle+Tools.h>
#import <TapCommonSDK/NSData+JSON.h>
#import <TapCommonSDK/NSData+Tools.h>
#import <TapCommonSDK/NSDictionary+JSON.h>
#import <TapCommonSDK/NSDictionary+TDSSafe.h>
#import <TapCommonSDK/NSMutableArray+Safe.h>