filmov
tv
Swift 3: Twitter - Handling Network and JSON Errors (Ep 14)
![preview_player](https://i.ytimg.com/vi/8UBlNPMZRuM/maxresdefault.jpg)
Показать описание
Today, let's discuss Network Errors and how to modify our completion handler to notify us of them. The most important error to handle when dealing with network calls is the 404 page not found error. This can commonly occur if you do not have connection to the internet or if the endpoint is not responding.
We'll look at a solution to present an error message in the UI when we encounter this error.
Finally, we'll examine how invalid json will crash our app and then I'll go into detail on how to apply an easy fix.
Enjoy.
Facebook Group
iOS Basic Training Course
Completed Source Code
We'll look at a solution to present an error message in the UI when we encounter this error.
Finally, we'll examine how invalid json will crash our app and then I'll go into detail on how to apply an easy fix.
Enjoy.
Facebook Group
iOS Basic Training Course
Completed Source Code
Комментарии