This notification will be sent when the disk cache got cleaned either there are cached files expired or the total size exceeding the max allowed size. The manually invoking of
clearDiskCachemethod will not trigger this notification.
objectof this notification is the
ImageCacheobject which sends the notification. A list of removed hashes (files) could be retrieved by accessing the array under
userInfoof the notification object you received. By checking the array, you could know the hash codes of files are removed.
public static let KingfisherDidCleanDiskCache: Notification.Name