In this video we will use FileManager and Data to download and cache images on device. We will present this images on the restaurant detail. While image is being download, a placeholder will be shown on the ImageCell.
Chapters:
0:00 Caching and Downloading Images
0:42 Model Changes
0:58 Image Cache Service
7:40 Adding Segmented Control Picker
8:35 Restaurant Images
11:05 Creating Image Loader Closure from ViewModel
14:55 Laying Out Images in a 2 Column Grid
Source code: https://github.com/codingWithTom/Rest...
RestApp - SwiftUI playlist: • RestApp - SwiftUI