TapCommon-Unity/Plugins/iOS/TapCommonSDK.framework/Headers/NSString+Tools.h

32 lines
688 B
Objective-C

//
// NSString+Tools.h
// TDS
//
// Created by JiangJiahao on 2018/4/24.
// Copyright © 2018年 dyy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (Tools)
- (NSString *)tds_URLEncodedString;
- (NSString *)tds_URLDecodedString;
///反转字符串
- (NSString *)tds_reverse;
// MD5 hash of the file on the filesystem specified by path
+ (NSString *)tds_stringWithMD5OfFile:(NSString *) path;
// The string's MD5 hash
- (NSString *)tds_MD5Hash;
// base64
- (NSString *)tds_base64Encode;
- (NSString *)tds_base64Dencode;
/// 是否是空字符串
- (BOOL)tds_isEmpty;
+ (BOOL)tds_isEmpty:(NSString *)string;
- (NSDictionary *)tds_toDictionary;
@end