18#import <Foundation/Foundation.h>
19#import <UIKit/UIKit.h>
21NS_ASSUME_NONNULL_BEGIN
57- (nullable UIImage *)getResPNG:(nullable NSString *)name;
Holds decoded images so a screen change does not re-read them from disk.
Definition ImageCache.h:31
ImageCache * sharedCache
The shared instance.
Definition ImageCache.m:13
void clear()
Drops everything held.
Definition ImageCache.m:54
instancetype init()
Creates the backing cache and caps it at a hundred and twenty-eight entries.
Definition ImageCache.m:27