Serial API call in Swift Hindi tutorial | Operation queue | grand central dispatch
API call chaining in swift or serial API call is a requirement that many of us have faced. In this tutorial, we will explore multiple ways using which we can serially call the APIs using the combination of dispatch framework i.e. grand central dispatch and operation queue.
Given are the chapters of the video
0:00 introduction
0:16 types of dependencies in api
0:50 what is a sequential dependency
1:34 parameter-based dependency
2:20 sequential dependency demo
5:14 behavior of the code
6:18 approaches
6:23 nested closure approach
7:36 concurrent queue approach
7:48 rxswift approach
8:08 dispatch semaphore approach
10:18 dispatch group approach
11:50 is there a simple way?
12:01 conclusion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. ?????
?Click on the link to subscribe: https://www.youtube.com/c/codecat?sub_confirmation=1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Video links:
1. Introduction to dependency: https://youtu.be/-TdK8dTKgOU
2. Introduction to threading: https://youtu.be/OKfv_0FvEf0
3. Calling multiple API using dispatch group: https://youtu.be/k_eoF9gYA-E
-----------------------------------------------------------------------------------------------------------------------
? Download the source code from
Github: https://github.com/codecat15/Youtube-tutorial/tree/master/DependenciesWithApi
Google Drive: https://drive.google.com/file/d/1Ukpjsq_WmwB41y9PpSX5BAS6UjynPtec/view?usp=sharing
-----------------------------------------------------------------------------------------------------------------------
# # # # # # # # # # # # # # # # # # # # # #
Connect with me on social media
Instagram: https://www.instagram.com/codecat15/
?: [email protected]
?: https://twitter.com/codecat15
Facebook: https://www.facebook.com/code.cat.792
Github: https://github.com/codecat15
###########################################
#operationQueue #URLSession #APIChainingInSwift
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Serial API call in Swift Hindi tutorial | Operation queue | grand central dispatch», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.