mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 09:29:55 +01:00
15 lines
551 B
C
15 lines
551 B
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
|