Episode #433

Working with Remote Data in SwiftUI

13 minutes
Published on March 30, 2020

This video is only available to subscribers. Get access to this video and 497 others.

With SwiftUI views we no longer have view controllers, and this can pose the question: Where does our data access and networking code live? In this episode we will load some data from a movies API in order to examine the ObservableObject protocol.

Episode Links

  • The Movie DB API - In order to follow along with this episode you'll need your own API key.

To provide your API key to the app, you need to edit the Scheme and provide an environment variable:

This episode uses Xcode 11.4-beta, Swift 5.2.