1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/Watch/Extension/TGNeoLabelViewModel.h

15 lines
551 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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