Save and cache images in a SwiftUI app | Continued Learning #27
Автор: Swiftful Thinking
Загружено: 2021-04-30
Просмотров: 15744
In this video we will implement a simple NSCache to temporarily save an image. Caching is a very common technique used in all software development (not just iOS Development) where we can take objects that we've downloaded from the internet and temporarily store them somewhere for reuse. This is help us avoid having to re-download the objects if they appear on the screen a second time. This is quite similar to the last video in this series, except the FileManager is for more permanent objects that will save to the device forever, while NSCache is for temporary objects that will only save for the current session.
In the next video in this series, we develop a real application that efficiently utilizes an NSCache for downloading images!
Next video: • Download and save images using FileManager...
Last video: • Save data and images to FileManager in Xco...
🤙 WELCOME BACK 🤙
WEBSITE: https://www.swiftful-thinking.com
DISCORD: / discord
GITHUB: https://github.com/SwiftfulThinking/
SAY THANKS: https://www.buymeacoffee.com/nicksarno
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: