DDGDataCache_Swift icon indicating copy to clipboard operation
DDGDataCache_Swift copied to clipboard

一句代码就可为你的数据添加一级和二级目录缓存,支持单独删除指定文件下的文件

Results 2 DDGDataCache_Swift issues
Sort by recently updated
recently updated
newest added

环境swift5 + xcode13.1 + macos 11.6.1 代码 ``` DDGDataCache.save_asyncJsonResponseToCacheFile(json.dictionaryObject as AnyObject, URL: url, path: path, subPath: subpath) { succ in if succ { print("day weather 保存成功") } else { print("day...

环境:swift5 模拟器6s iOS9 操作:未经过存储,直接调用获取缓存大小 DDGDataCache.cacheAllSize() 错误日志: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSFileManager fileSystemRepresentationWithPath:]: nil or empty path argument'