Save and cache images in a SwiftUI app | Continued Learning #27

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • 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 imag...
    Last video: • Save data and images t...
    🤙 WELCOME BACK 🤙
    WEBSITE: www.swiftful-t...
    DISCORD: / discord
    GITHUB: github.com/Swi...
    SAY THANKS: www.buymeacoff...

Комментарии • 34