Instance Property

evictsObjectsWithDiscardedContent

Whether the cache will automatically evict discardable-content objects whose content has been discarded.

Declaration

@property BOOL evictsObjectsWithDiscardedContent;

Discussion

If YES, the cache will evict a discardable-content object after its content is discarded. If NO, it will not. The default value is YES.

See Also

Managing Discardable Content

NSDiscardableContent

You implement this protocol when a class’s objects have subcomponents that can be discarded when not being used, thereby giving an application a smaller memory footprint.