Ta android + ios

This commit is contained in:
LYP
2024-08-07 20:22:28 +08:00
parent 69fee08c61
commit 76458664d8
722 changed files with 41709 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
//
// TDCommonUtil.m
// ThinkingSDK
//
// Created by wwango on 2022/1/11.
//
#import "TDCommonUtil.h"
@implementation TDCommonUtil
+ (NSString *)string:(NSString *)string {
if ([string isKindOfClass:[NSString class]] && string.length) {
return string;
} else {
return @"";
}
}
+ (NSDictionary *)dictionary:(NSDictionary *)dic {
if (dic && [dic isKindOfClass:[NSDictionary class]] && dic.allKeys.count) {
return dic;
} else {
return @{};
}
}
@end