mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
15 lines
551 B
Objective-C
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
|