Building a Weather Application From Scratch
Creating the User Interface of the Day View Controller
|2||Setting Up the Project|
|3||View Controller Containment|
|4||Fetching Weather Data|
|5||Removing Object Literals|
|6||Creating a View Model|
|7||Parsing the JSON Response|
|8||Handling Errors and Notifying the User|
|9||Adding Flexibility With Protocols|
|10||Creating the Day and Week View Models|
|11||Creating the User Interface of the Day View Controller|
|12||Organizing Fonts and Colors|
|13||Implementing the Day View Model|
It's time to create the user interface of the day view controller, the topmost child view controller of the root view controller. In this series, I show you several techniques for building user interfaces. Each of these techniques has its pros and cons. To create the user interface of the
DayViewController class, we take advantage of Auto Layout and storyboards. This approach is ideal for building static user interfaces.
Are you ready to step up your game?
Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.