10#import <Foundation/Foundation.h>
12NS_ASSUME_NONNULL_BEGIN
51- (BOOL)addPanelResourceInfo:(nullable NSDictionary *)info;
59- (nullable NSData *)getPanelResourceData:(nullable NSDictionary *)info;
67- (void)savePanelResourceData:(nullable NSData *)data info:(nullable NSDictionary *)info;
74- (void)deletePanelResourceData:(
int)itemID;
81- (void)setIgnoreSave:(nullable NSURL *)url;
Stores the list of scratch-panel resource descriptors and each panel's enciphered image data on disk,...
Definition ChallengeResourceManager.h:19
void saveResourceList()
Enciphers and saves the resource list to disk with a random-nonce header.
Definition ChallengeResourceManager.m:79
instancetype sharedManager()
The shared instance, built once.
Definition ChallengeResourceManager.m:34
NSMutableArray * arrayResource
The resource descriptors, each a dictionary keyed by item_id .
Definition ChallengeResourceManager.h:31
void loadResourceList()
Loads and deciphers the resource list from disk (or starts an empty one).
Definition ChallengeResourceManager.m:52