Track icon indicating copy to clipboard operation
Track copied to clipboard

Track is a thread safe cache write by Swift. Composed of DiskCache and MemoryCache which support LRU.

Results 5 Track issues
Sort by recently updated
recently updated
newest added

经过多个项目的线上日志分析,发现此库有缓存丢失的现象。作者有空可以修复一下。

没有成功 Swift 4.1 Xcode Version 9.3.1 (9E501) 1. 文件无法创建 2. NSKeyedArchiver.archiveRootObject 失败 不走true

``` let cache: Cache = Cache.shareInstance cache.set(object: "2222" as NSCoding, forKey: "2223") let cache2 = Cache(name: "cache2") cache2?.set(object: "1111" as NSCoding, forKey: "1111") print(cache.object(forKey: "1111") ?? "none") ``` 输入结果为:1111

最近更新了 swfit 4 能否支持?