Yasuhito Nagatomo 🌙 (@AtarayoSD)
2024-08-08 | ❤️ 17 | 🔁 3
Article: Memory consumption when loading UIImage from disk, by Antoine💡 a) UIImage(contentsOfFile:): Images are purgeable b) UIImage(name:): System caches the images in memory When handling a lot of images, use (a) and manage caching yourself. 👉 https://www.avanderlee.com/swiftui/memory-consumption-loading-uiimage-from-disk/