// // QXFileManager.h // QXLive // // Created by 启星 on 2025/5/8. // #import NS_ASSUME_NONNULL_BEGIN @interface QXFileManager : NSObject ///获取Documents目录路径 +(NSString*)getDocumentPath; ///获取Library/Preferences目录路径 +(NSString*)getLibraryPreferencesPath; ///获取Library/Caches路径 +(NSString*)getLibraryCachesPath; /// 获取tmp路径 +(NSString*)getTmpPath; /// 搜索历史记录问价写入 +(BOOL)writeSearchHistoryWithContent:(NSString*)content; ///获取搜索历史 +(NSArray*)getSearchHistory; ///删除历史记录 +(BOOL)removeSearchHistory; // 创建下载文件路径 + (NSString*)createLocalSourceVideoDirectory; // 获取文件下载路径 + (NSString*)getGiftVideoPath:(NSString*)videoName; // 检查文件是否存在 + (BOOL)isExistsFileWithFilePath:(NSString *)filePath; @end NS_ASSUME_NONNULL_END