Save and cache images in a SwiftUI app | Continued Learning #27
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

Download and save images using FileManager and NSCache | Continued Learning #28

Save data and images to FileManager in Xcode | Continued Learning #26

Stop! When the Agent Does Bad TDD (Swift + AI)

ByteCast #6 - Caching Network Request | Swift Actor & Task | NSCache

Trump’s Big Violent 80th Birthday Party at the White House, "Great Deal" with Iran & NY Knicks Win

What is Hashable protocol in SwiftUI? | Continued Learning #12

Google & AWS Veteran: What Top Tier Software Architects Actually Do

Publishers and Subscribers in Combine with a SwiftUI project | Continued Learning #25

Download JSON from API in Swift w/ URLSession and escaping closures | Continued Learning #22

Brain Focus Music ~ No Lyrics Work Playlist for Mental Clarity & Deep Work

The French Do Not Care About Work

How to schedule local Push Notifications in SwiftUI | Continued Learning #11

What About Design Documents? (Swift + AI)

How to cache the result of API calls (using NSCache) 📱 (FREE iOS tutorial)

Codable, Decodable, and Encodable in Swift | Continued Learning #21

Using “Plan” Mode Effectively (Swift + AI)

Stop Prompting Claude. Use Karpathy's Method Instead.

Combine Framework FREE course: write you first iOS app - use Subscriptions & Publishers like Subject

Why AI Agents are either the best or worst thing we’ve ever built

