How to use custom Key for NSCache
Issue #766
Need to use a class, best is to subclass from NSObject
1 | let cache = NSCache<Key, UIImage>() |
1 | final class Key: NSObject { |
Issue #766
Need to use a class, best is to subclass from NSObject
1 | let cache = NSCache<Key, UIImage>() |
1 | final class Key: NSObject { |