简体   繁体   中英

In-memory cache for saving strings or NSNumbers

Is there any external library out there that does in-memory caching? I was just thinking of creating a NSDictionary with key-value stores for this if there isn't any. I know there's EGOCache but this does disk caching. Any ideas?

NSCache基本上就像一个NSDictionary,只需要做一些修改就可以根据优先级等清除数据。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM