A wrap around NSCache.
The NSCache functionality with a typed Swift API.
let cache: Cache<String, UIImage> = [:]
cache["image"] = UIImage()
let image = cache["image"]let keys = cache.keyslet values = cache.compactMap { $0.value }cache.delegate = self