Part 0
Introduction

In this video we will start a new SwiftUI 2.0 project called Tony's Weather. This is the type of project that is minimal enough, just a few screens, to be given to junior iOS developer job candidates as a take-home project. Creating a project such as this will definitely prove to a potential employer that you are skilled in key aspects of iOS developing, such as using the Codable protocol, extensions, the JSON format, decoding and encoding data, static versus instance properties, number and date formatters and their importance for user friendliness, background work tasks (not just for downloading data), AppStorage, the Measurement class and measurement formatters, observable objects, the new Result type, working with a timer, integrating SwiftUI with UIKit (aka UIViewRepresentable), and so much more.

Outline

  • Where will we get the weather information from?

  • What is an API and how to work with an API (in general)?

  • Preparing data for previews (new in SwiftUI)

  • Starting the Xcode project and establishing initial settings