Grouping network calls like a boss - DispatchGroup

  Рет қаралды 3,896

Swift Arcade

Swift Arcade

Күн бұрын

#Swift / #iOS / #DispatchGroup
In this episode we look at how to group network calls together and coordinate other UI events and processing using the super powerful and cool DispatchGroups.
0:00 Intro
0:44 Notify explained
3:00 Notify demo
7:47 Wait explained
9:56 Wait demo
12:24 How not to block the main UI thread
Source code
github.com/jrasmusson/ios-sta...
Level-Up
Data Structures & Algorithms
www.udemy.com/course/the-swif...
Level Up AutoLayout
www.udemy.com/course/level-up...
Level Up in Swift
www.udemy.com/course/level-up...
Twitter
@jrasmusson

Пікірлер: 28
@artyombeldeiko5662
@artyombeldeiko5662 Жыл бұрын
Extremely helpful and informative. Thanks a lot!
@Darkmoon783
@Darkmoon783 Жыл бұрын
Very Clear explanation, thank you som much
@mitrio78
@mitrio78 Жыл бұрын
Thank you for the explanation! You are the best!
@jamesallison9725
@jamesallison9725 Жыл бұрын
Thanks for the clear explanation
@supreetpatil8977
@supreetpatil8977 Жыл бұрын
Very informative. Thank you
@esae7784
@esae7784 2 жыл бұрын
Thank you for this video, it is great as always.
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Hey you are very welcome Esa. Thanks for dropping by.
@maryamchaharsooghi430
@maryamchaharsooghi430 2 жыл бұрын
Great explanation.
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Thank you sir!
@user-yn9li8vh3r
@user-yn9li8vh3r 2 жыл бұрын
Good tool to use, thx!
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Awesome. Very welcome.
@user-hy5kl7my7g
@user-hy5kl7my7g 2 жыл бұрын
Great Video Thank you!
@user-hy5kl7my7g
@user-hy5kl7my7g 2 жыл бұрын
Can you cover the topic of xctest? I want to know your idea and hope to enjoy your words on the video
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
You are very welcome. Thank you for the comment.
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
@@user-hy5kl7my7g Check this out. kzfaq.info/get/bejne/kLyDrJygz5Obf2Q.html&ab_channel=SwiftArcade #8 Intro to Swift Unit Testing
@artemiartem8996
@artemiartem8996 2 жыл бұрын
thanks
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Most welcome Artem 😀
@Jock3R87
@Jock3R87 Жыл бұрын
Hi Mate... thanks a ton for making amazing videos... appropriate your efforts... however can you answer if i have 3 api and want to call one after other as first api output is input for second and second's output is input for third one.. how can we achieve that
@mattdamon2532
@mattdamon2532 2 жыл бұрын
You are the boss! Thank you for the amazing tutorial!
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Thank Matt. You are welcome to stop by anytime. Cheers!
@lazaroambrosio5646
@lazaroambrosio5646 2 жыл бұрын
Awesome video can’t wait for more 😄
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Thank you Lazaro. So glad you stopped by!
@surajupreti2771
@surajupreti2771 2 жыл бұрын
Why do we need to use group.wait() here? Can't we accomplish the same thing with group.notify(queue: .main) once the self.group.leave() is done?
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
I believe both ways will work. Try it out and me know!
@maryamchaharsooghi430
@maryamchaharsooghi430 2 жыл бұрын
👌🏻👌🏻👌🏻👌🏻
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Thank you Maryam. All the best.
Swift - Stack vs Heap
9:58
Swift Arcade
Рет қаралды 7 М.
The secret to the UIScrollView
11:44
Swift Arcade
Рет қаралды 12 М.
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,1 МЛН
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 21 МЛН
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
What are Container View Controllers?
14:30
Swift Arcade
Рет қаралды 2,8 М.
Multithreading в swift с нуля:  урок 12 - GCD Dispatch Group + Bonus
37:44
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 137 М.
iOS Dev 17: Semaphore vs DispatchGroup | Swift 5, XCode 11
17:07
Emmanuel Okwara
Рет қаралды 3,2 М.
How to squash and rebase in git
6:02
Swift Arcade
Рет қаралды 10 М.
The must-watch moments of the CNN Presidential Debate
35:29
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,2 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 519 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 28 МЛН
Ультрабюджетная игровая мышь? 💀
1:00
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,4 МЛН