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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software