// // lastFileManager.h // 双子星云手机 // // Created by xd h on 2024/6/19. // #import #import "lastFileModel.h" NS_ASSUME_NONNULL_BEGIN #define KLastFileDirector @"lastFile" @interface lastFileManager : NSObject @property(nonatomic,copy) NSString *uid;//用户id 用来创建文件夹路径 防止不要用户的缓存关联 @property(nonatomic,assign) NSInteger saveDays;//默认90天 @property (nonatomic, strong) NSMutableDictionary * _Nullable lastFileList; @property (nonatomic, strong) NSMutableArray * _Nullable lastFileListArr; /** 实例化对象(单例) */ + (instancetype)shareManager; /** 增加配置信息 */ - (BOOL)saveFileInfoWith:(lastFileModel *)lastFileMod with:(NSString*)fullPath; /** 删除配置信息 */ - (BOOL)deleteFileInfoWithUrl:(NSString *)fullPath; @end NS_ASSUME_NONNULL_END