1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGMemoryImageCache+Signals.h

17 lines
380 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGMemoryImageCache.h"
#import <SSignalKit/SSignalKit.h>
@interface TGMemoryImageCacheEvent : NSObject
@property (nonatomic, strong, readonly) UIImage *image;
@property (nonatomic, strong, readonly) NSDictionary *attributes;
@end
@interface TGMemoryImageCache (Signals)
- (SSignal *)signalForKey:(NSString *)key;
- (SSignal *)imageSignalForKey:(NSString *)key;
@end