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.
- (void)cache:(NSCache *)
The cache with which the object of interest is associated.
The object of interest in the cache.
It is not possible to modify
cachefrom within the implementation of this delegate method.
Available in OS X v10.6 and later.