Files
leanote-ios/Leanote/controller/auth/UILabel+SuggestSize.h
2015-08-21 23:49:41 +08:00

10 lines
277 B
Objective-C
Executable File

#import <UIKit/UIKit.h>
@interface UILabel (SuggestSize)
- (CGSize)suggestedSizeForWidth:(CGFloat)width;
- (CGSize)suggestSizeForAttributedString:(NSAttributedString *)string width:(CGFloat)width;
- (CGSize)suggestSizeForString:(NSString *)string width:(CGFloat)width;
@end