Swift Concurrency Lesson 3 - Improving the User Experience

preview_player
Показать описание
This is the 3rd of 6 videos in the Swift Concurrency series. In this video we are going to improve the user experience by doing two things. Whenever our app is fetching and loading data, we want to present a spinning ProgressView on top of our view to indicate that the data is loading.
If an error occurs, then we need to know about it so instead of printing the error to the console we want to present an alert to our users with that error information and ask them to contact us with that information.

Links and Resources

Swift Concurrency Series Playlist:

Starter Code Completed Source code for Part 2:

Part 3 Completed Code:

Timestamps
0:00 Introduction
0:51 Adding a ProgressView
4:58 Forcing an error
7:02 NSLocalizedDescription and the APIError
9:00 Presenting an Alert when there is an error

🚨 SPECIAL CWC+ OFFER FOR YOUTUBE:

MY FREE ONLINE COURSE:

CWC+ PROGRAM:

WEEKLY UPDATES VIA EMAIL:

CONNECT:

ABOUT CODEWITHCHRIS:

DID THESE LESSONS HELP YOU?

ROADMAP:
Рекомендации по теме
Комментарии
Автор

Thank you so much. It’s the first tutorial that combine visual components with backend fetch’s.

slide
Автор

Great stuff Stewart. Clear and concise.

chrispyk
Автор

Excellent tutorial. Why is the api still being called even though the forPreview is set to true?

ricksciorra
Автор

Hi, I am new in swift programming, I am watching your videos for beginners, what I have to do for practice code I don't have mac laptop which support macOS. !?

xm
Автор

Could you please share an video that how to clean mac files to save enough space for xcode installation. I found always waste time to do that, however always could not save enough space.

Awesome奥深