mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
575 B
Objective-C
16 lines
575 B
Objective-C
#import "TGNeoViewModel.h"
|
|
#import <UIKit/UIKit.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
|