//
//  NSString+Additions.h
//  IOSDuoduo
//
//  Created by 东邪 on 14-5-23.
//  Copyright (c) 2014年 dujia. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NSString (TTString)

+(NSString *)documentPath;
+(NSString *)cachePath;
+(NSString *)formatCurrentDate;
+(NSString *)formatCurrentDay;
- (NSString*)removeAllSpace;
- (NSURL *) toURL;
- (BOOL) isEmpty;
- (NSString *) MD5;
-(NSString *)trim;

- (CGSize)stringgetSizebyMaxWidth:(CGFloat)sizwW Font:(UIFont *)font;
- (CGSize)stringgetSizebySize:(CGSize)size Font:(UIFont *)font;
- (CGSize)stringgetSizebyMaxWidth:(CGFloat)sizwW floatFont:(CGFloat)floatFont;
@end
