新版本

This commit is contained in:
roy
2019-03-12 09:26:46 +08:00
parent cbbfcb098a
commit c08d198e11
431 changed files with 19432 additions and 9136 deletions
+1
View File
@@ -19,6 +19,7 @@
+(NSString*)tpIntStringToFourHex:(int)intString;
+(NSString*)hexStringToDateString:(NSString*)hexString;
+(NSString *)translation:(NSString *)arebic;
+(NSString*)leftAddZero:(NSInteger)totle andStr:(NSString*)str;
//随机生成32位字符
+(NSString *)get10LengthString;
+12
View File
@@ -63,6 +63,18 @@
return hexStr;
}
+(NSString*)leftAddZero:(NSInteger)totle andStr:(NSString*)str{
NSMutableString*str1=[NSMutableString string];
NSInteger strLenth=str.length;
while (strLenth<totle) {
[str1 appendString:@"0"];
strLenth++;
}
[str1 appendString:str];
return str1;
}
// 十 转十六
+(NSString *)ToHex:(long long int)tmpid
{