Using `NSCache` object which doesn't conform `NSDiscardableContent`?
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.
精彩评论