You can watch this episode by subscribing to Cocoacasts Plus.
Mastering MVVM with SwiftUI
Displaying Weather Data in the Forecast View
1 | Views, Models, and View Models 03:37 |
---|---|
2 | The Problem 04:49 |
3 | A Solution 07:05 |
4 | Fixing Code Smells 07:51 |
5 | Hiding the Model Layer 06:12 |
6 | Meet Thunderstorm 05:50 |
7 | Setting Up the Project 06:33 |
8 | Populating the Locations View 10:17 |
9 | Displaying Weather Data 08:17 |
10 | Populating the Location View 08:22 |
11 | Displaying Weather Data in the Location View 08:37 |
12 | Displaying Weather Data in the Forecast View 11:09 |
13 | Adding Locations 10:08 |
In this episode, we focus on the forecast view, a subview or child view of the location view. The forecast view displays the temperature for each day of the weather forecast. Let's add a few more details to the items of the vertical grid.
Instant and Unlimited Access
to 500+ Cocoacasts Tutorials
Monthly
$19 / month
Pay Once a Month
30 Day Money Back Guarantee
Yearly
$8.25 / month (billed annually)
Pay Once a Year and Save $129
30 Day Money Back
Guarantee