Introduction

Introduction

In the previous lesson, you unpacked the differences between apps that use static data and apps that use dynamic data. You also learned about JSON and its role in serving the data your application needs to function. In the case of your SwiftWeather app, you’ll need to use the OpenWeatherMap API to fetch the weather data and display it in your app. In this lesson, you’ll cover the following topics:

  • Understand the difference between GET, POST, PUT, and DELETE requests.
  • Construct and configure URLSession objects to make GET requests.
  • Identify best practices for handling network errors.

Once this lesson is complete, you can make the necessary network requests in iOS to support your application. Networking might seem daunting at first, but with the proper guidance, you’ll see that making efficient and reliable network requests is a skill you can master.

See forum comments
Download course materials from Github
Previous: Quiz: JSON & REST API Basics Next: Instruction