1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Watch/Extension/TGNeoLabelViewModel.h
2015-10-01 19:19:52 +03:00

15 lines
551 B
Objective-C

#import "TGNeoViewModel.h"
@interface TGNeoLabelViewModel : TGNeoViewModel
@property (nonatomic, strong) NSString *text;
@property (nonatomic, strong) NSAttributedString *attributedText;
@property (nonatomic, strong) NSDictionary *attributes;
@property (nonatomic, assign) CGFloat maxWidth;
@property (nonatomic, assign) bool multiline;
- (instancetype)initWithText:(NSString *)text font:(UIFont *)font color:(UIColor *)color attributes:(NSDictionary *)attributes;
- (instancetype)initWithAttributedText:(NSAttributedString *)attributedText;
@end