---
type: video
yt_id: VVU2YVRMdUlfajQtMHdpRFN6bWFQY3RRLmRORDlpTk16ZUtz
videoId: dND9iNMzeKs
title: "Downloading & Caching Images in iOS with Swift"
date: "2020-10-29T06:33:28Z"
slug: "downloading-and-caching-images-in-ios-with-swift"
image: 
  name: "downloading-&-caching-images-in-ios-with-swift.jpg"
  alt: "Downloading & Caching Images in iOS with Swift"
  width: 1280
  height: 720
status: 'published'
description: "Learn how to use URLSession to download images into a UICollectionView. Then cache those images using an NSCache"
tags: ['iOS', 'Swift', 'UIKit', 'UICollectionView', 'URLSession', 'NSCache', 'Image Download', 'Image Caching']
---

Learn how to use URLSession to download images into a UICollectionView. Then cache those images using an NSCache

🔗Code:
[https://github.com/Sam-Meech-Ward/iOS-image-download](https://github.com/Sam-Meech-Ward/iOS-image-download)

🔗Entire iOS Playlist 
[https://www.youtube.com/playlist?list=PL0X6fGhFFNTdT5W3b8kh2DQH4OgKAIewZ](https://www.youtube.com/playlist?list=PL0X6fGhFFNTdT5W3b8kh2DQH4OgKAIewZ)


