Protocol: NSCacheDelegate
Overview
The delegate of an NSCache object implements this protocol to perform specialized actions when an object is about to be evicted or removed from the cache.Called when an object is about to be evicted or removed from the cache.
Instance Method Summary (collapse)
-
- cache:willEvictObject:
Called when an object is about to be evicted or removed from the cache.
Instance Method Details
- (Object) cache(cache, willEvictObject:obj)
Called when an object is about to be evicted or removed from the cache. It is not possible to modify cache from within the implementation of this delegate method.