mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 09:29:55 +01:00
19 lines
530 B
C
19 lines
530 B
C
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@interface TGNeoViewModel : NSObject
|
||
|
|
||
|
@property (nonatomic, assign) CGRect frame;
|
||
|
@property (nonatomic, readonly) CGRect bounds;
|
||
|
@property (nonatomic, assign) bool hidden;
|
||
|
|
||
|
@property (nonatomic, readonly) NSArray *submodels;
|
||
|
- (void)addSubmodel:(TGNeoViewModel *)viewModel;
|
||
|
- (void)removeSubmodel:(TGNeoViewModel *)viewModel;
|
||
|
|
||
|
- (void)drawInContext:(CGContextRef)context;
|
||
|
- (void)drawSubmodelsInContext:(CGContextRef)context;
|
||
|
|
||
|
- (CGSize)contentSizeWithContainerSize:(CGSize)containerSize;
|
||
|
|
||
|
@end
|