// NSString+sizeWithFont : iOS7で非推奨となったNSString:sizeWithFont系メソッドの代替メソッド
// http://ios.ch3cooh.jp/entry/20140424/1398309284 を元にiOS6以下対応を追加

#import <Foundation/Foundation.h>

@interface NSString (sizeWithFont)

- (CGSize)sizeWithFont7:(UIFont *)font;
- (CGSize)sizeWithFont7:(UIFont *)font constrainedToSize:(CGSize)size;
- (CGSize)sizeWithFont7:(UIFont *)font constrainedToSize:(CGSize)size lineBreakMode:(NSLineBreakMode)lineBreakMode;

@end
