ibireme / YYCache

High performance cache framework for iOS.
MIT License
2.37k stars 505 forks source link

取出缓存为空 #130

Closed JLLJHD closed 5 years ago

JLLJHD commented 6 years ago

YYCache cache = [[YYCache alloc] initWithName:JoyHomeUserCacheName]; NSDictionary userDic = (NSDictionary *)[cache objectForKey:JoyHomeUserModelCache]; 缓存成功后 有时候取出数据为空

JLLJHD commented 5 years ago

是因为缓存的是字典的缘故吧,我也出现过 缓存的数据结构是字典,取出为空的情况

是的是的 怎么解决啊

yiimoney commented 5 years ago

YYCache cache = [[YYCache alloc] initWithName:JoyHomeUserCacheName]; NSDictionary userDic = (NSDictionary *)[cache objectForKey:JoyHomeUserModelCache]; 缓存成功后 有时候取出数据为空

这个问题解决了吗?

JLLJHD commented 5 years ago

没有解决 楼主不回复 @panliangjie

mzying2013 commented 4 years ago

问题是否已经解决?或者你们用其它框架替换了吗?