1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Watch/Extension/TGNeoRenderableViewModel.h
2015-10-01 19:19:52 +03:00

13 lines
359 B
Objective-C

#import "TGNeoViewModel.h"
#import <SSignalKit/SSignalKit.h>
@interface TGNeoRenderableViewModel : TGNeoViewModel
@property (nonatomic, assign) CGSize contentSize;
@property (nonatomic, strong) UIImage *cachedImage;
- (CGSize)layoutWithContainerSize:(CGSize)containerSize;
+ (SSignal *)renderSignalForViewModel:(TGNeoRenderableViewModel *)viewModel;
@end