摘要:
//获得当前时间距1970的秒数 - (NSString *)setCurrTimeLenght { NSTimeInterval time = [[NSDate date] timeIntervalSince1970]; NSString *timeLenght = [NSString strin 阅读全文
摘要:
#pragma mark -- 判断字符串是否是纯数字 + (BOOL)isPureInt:(NSString *)string{ NSScanner* scan = [NSScanner scannerWithString:string]; int val; return [scan scanIn 阅读全文
摘要:
#pragma mark -- 判断字符串是否只存在只有空格 + (BOOL)isBlankString:(NSString *)string{ if (string == nil) { return YES; } if (string == NULL) { return YES; } if ([s 阅读全文
摘要:
//json + (NSArray *)setLists:(NSString *)json { NSData *data = [json dataUsingEncoding:NSUTF8StringEncoding]; NSArray* aJsons = [NSJSONSerialization J 阅读全文
摘要:
#pragma mark -- 参数的排序 + (NSMutableString*)postSignParamet:(NSString*)method privateParam:(NSMutableDictionary*)param { NSMutableString* lastParam = [[ 阅读全文
摘要:
很多事时候弹出框只是为了提示用户,为了避免让用户过多不必要的操作,让弹出框自动消失就可以了 + (void)showDismissedAlertDialog:(NSString*)message { UIAlertView* alert = [[UIAlertView alloc] initWith 阅读全文
摘要:
#pragma mark - 获取音频文件时长 aFilePath:语音文件的路径 - (NSString *)getVoiceFileInfoByPath:(NSString *)aFilePath{ NSString *path = NSSearchPathForDirectoriesInDom 阅读全文