开发者

Using `NSCache` object which doesn't conform `NSDiscardableContent`?

开发者 https://www.devze.com 2023-02-13 07:01 出处:网络
I read doc about NSCache. Documentation says objects conforms NSDiscardableContent will be removed on insufficient memory situation. Does the开发者_如何学运维 class behave on classes which don\'t conf

I read doc about NSCache. Documentation says objects conforms NSDiscardableContent will be removed on insufficient memory situation. Does the开发者_如何学运维 class behave on classes which don't conform NSDiscardableContent protocol?


Yes, it does. NSCache behaves as I expected.

0

精彩评论

暂无评论...
验证码 换一张
取 消