Protocol

NSCacheDelegate

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.

Declaration

@protocol NSCacheDelegate

Topics

Responding to Object Eviction

- cache:willEvictObject:

Called when an object is about to be evicted or removed from the cache.

Relationships

Inherits From

See Also

Managing the Delegate

delegate

The cache’s delegate.