Today we go over how to use DispatchGroup to wait for data with Swift 4. In this tutorial, you will learn how to make a block enter and leave the dispatch group, as well as notify after the last block has left.
The majority of apps make networking requests, and depending on the app, you may need to call multiple apis at the same time. As opposed to chaining your calls in a synchronous manner, which is much slower, you can add them to the dispatch group and call them at the same time to increase the performance of your app.
See what's next on the schedule by checking out my Trello board:
https://trello.com/b/TNhRZsB2/kilo-lo...
The finished project is available to any students of the free YouTube On my website. Make sure you enroll today:
https://www.kiloloco.com/p/youtube
If you have any questions or comments about the tutorial, or want to suggest a video to make, feel free to leave a comment below, or reach out to me on Twitter:
https://twitter.com/kilo_loco
If you found this tutorial helpful, make sure to subscribe to the channel for more great tutorials.
DispatchGroup: Waiting for Data | Swift 4, Xcode 9 camera iphone 8 plus apk | |
| 568 Likes | 568 Dislikes |
| 19,605 views views | 15.6K followers |
| Science & Technology | Upload TimePublished on 3 Oct 2017 |
Không có nhận xét nào:
Đăng nhận xét