NSCache

作者: 孙健会员 | 来源:发表于2017-05-24 11:18 被阅读44次
@property NSUInterger countLimit;//cache上限
@property NSUInterger totalCostLimit;//cache上限
- (id)objectForKey:(id)key;
- (void)setObject:(id)obj forKey:(id)key;
- (void)removeObjectForkey:(id)key
- (void)removeAllObjects;

相关文章

网友评论

      本文标题:NSCache

      本文链接:https://www.haomeiwen.com/subject/hbltxxtx.html