NSCacheDelegate Protocol Reference
Available in iOS 4.0 and later.
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.
Responding to Object Eviction
Called when an object is about to be evicted or removed from the cache.
The cache with which the object of interest is associated.
The object of interest in the cache.
It is not possible to modify
cache from within the implementation of this delegate method.
- Available in iOS 4.0 and later.