Closed Ita-Manor closed 3 years ago
how can I achieve an AutoPurgingImageCache with unlimited size?
what would happen if I - let imageCache = AutoPurgingImageCache(memoryCapacity: 0, preferredMemoryUsageAfterPurge: 0)
There's no support for unlimited size. Such usage would inevitably crash your app as the system ran out of memory, at least on iOS and associated OSes.
how can I achieve an AutoPurgingImageCache with unlimited size?
what would happen if I - let imageCache = AutoPurgingImageCache(memoryCapacity: 0, preferredMemoryUsageAfterPurge: 0)