1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/Share/TGModernCache.h

13 lines
368 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <Foundation/Foundation.h>
@interface TGModernCache : NSObject
- (instancetype)initWithPath:(NSString *)path size:(NSUInteger)size;
- (void)setValue:(NSData *)value forKey:(NSData *)key;
- (void)getValueForKey:(NSData *)key completion:(void (^)(NSData *))completion;
- (NSData *)getValueForKey:(NSData *)key;
- (bool)containsValueForKey:(NSData *)key;
@end