Dispatch Groups in Swift 5: iOS Concurrency (2020 Xcode 11, Swift 5)

  Рет қаралды 14,536

iOS Academy

iOS Academy

Күн бұрын

In this video we will learn about dispatch groups in Swift 5 and Xcode 11 for iOS Development. Dispatch groups are great ways to aggregate concurrent operations and get notified when they all complete.
#swift #iOSDeveloper #dispatchgroup
Join the iOS Academy Community: iosacademy.io/
** Get Skillshare free for 2 Months and learn iOS
www.skillshare...
** Manage all your investments from app earnings on Betterment!
bit.ly/3eBwlI9
** Grow your own KZbin tech channel with TubeBuddy:
www.tubebuddy....

Пікірлер: 45
@vincentjoyhere
@vincentjoyhere 3 жыл бұрын
You are really good at this man. Thanks for doing this. :)
@Andriybiguniak
@Andriybiguniak 2 жыл бұрын
Bro, it is cool that you make useful content, but it is very difficult to perceive it due to zooming. I think if you record a video with good quality and slightly increase the font in the SDK, it will be much more comfortable to watch
@MuhammadAhmed-jm7nj
@MuhammadAhmed-jm7nj Жыл бұрын
Implemented this in real life project, thanks for doing this ❤
@lil_bryant24
@lil_bryant24 2 жыл бұрын
Amazing explanation. Thank you!
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Youre welcome
@sivakrishna5293
@sivakrishna5293 3 жыл бұрын
Simple and clean.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@ernestorh6110
@ernestorh6110 4 жыл бұрын
You 're the best. Thanks!
@debdutsaha4316
@debdutsaha4316 3 жыл бұрын
I am very very much pleased with you tutorial
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@christostsangaris4785
@christostsangaris4785 4 жыл бұрын
@iOS Academy, any chance you illustrate how to cache data fetched by a network call (eg Firebase) to use on multiple ViewControllers?? Thanks!!
@jacklee1750
@jacklee1750 4 жыл бұрын
Amazing video as always! Keep it up!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks! Make sure to subscribe!
@maqusss
@maqusss 2 жыл бұрын
I think about case when first asyncAfter completes before second call "group.enter()". Then "group.notify" will be called before completing all operations.
@saminadhikari7532
@saminadhikari7532 3 жыл бұрын
Quick, simple and practical example. Just what tutorials should be. Thank you!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@anujajoshi4233
@anujajoshi4233 2 жыл бұрын
When would we use this vs utilizing combine?
@rudolphhock1155
@rudolphhock1155 3 жыл бұрын
3:24 : nice trick !
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@chatsnoirblamo
@chatsnoirblamo 4 жыл бұрын
I hope you don’t mind suggestions. I want to get out of the tutorial wheel so I just need more on mvvm and what Apple looks for in code. I wanted to ask wwdc questions about WatchOS permissions. That kind of thing. The App Store is a hot topic after the mail app controversy. Thanks as always.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
I love getting these suggestions! Mvvm is upcoming, wwdc stuff is great too, & that mail app controversy would be a real interesting rant video haha
@chatsnoirblamo
@chatsnoirblamo 4 жыл бұрын
iOS Academy I look forward to seeing it any of those and more. Your code is nice.
@dev_jeongdaeri
@dev_jeongdaeri 4 жыл бұрын
You are super cool! 🤩👍👍👍
@iOSAcademy
@iOSAcademy 4 жыл бұрын
thanks! Make sure to sub :)
@michaelabrams5931
@michaelabrams5931 2 жыл бұрын
I am trying to fetch users from a list of dictionaries (stored in firebase) and append them IN ORDER to a list of users. How would you reccomend going about this? Love the video, and appreciate the hard work for the ios community!
11 ай бұрын
Wouldn't simple for loop does what you want? You can say like "for (user, userData) in users { self.users.append(user) }" something like that
@mak_whisk
@mak_whisk 3 жыл бұрын
Thank you)
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome!
@pratikgajbhiye5354
@pratikgajbhiye5354 4 жыл бұрын
Incredible ❤️❤️❤️
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks!
@Cronay
@Cronay 3 жыл бұрын
Thanks.
@asadgillani5540
@asadgillani5540 4 жыл бұрын
Start a series like Uber App if you can please
@iOSAcademy
@iOSAcademy 4 жыл бұрын
On my list, stay tuned
@asadgillani5540
@asadgillani5540 4 жыл бұрын
@@iOSAcademy okay
@ibrahimmogedami4147
@ibrahimmogedami4147 4 жыл бұрын
what's the difference between DispatchQueue.main & DispatchQueue.global ... i'm try it with the example but nearly the are the same
@iOSAcademy
@iOSAcademy 4 жыл бұрын
main thread (UI) and background work
@ibrahimmogedami4147
@ibrahimmogedami4147 4 жыл бұрын
@@iOSAcademy OK . I understood from the next video , thank you for your great effort
@hbwdino
@hbwdino 4 жыл бұрын
If we remove defer.. what would happened?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Nothing, defer is good practice for scope dropping
@ozgurshow
@ozgurshow 3 жыл бұрын
please stop sick zoom
@mattmartindale4562
@mattmartindale4562 4 жыл бұрын
Awesome video as always! Please do a video on OperationQueues. And possibly a video on optimizing scrolling for tableViews (ex: preFetchRowAt, caching data, cancel loading if you scroll passed cell)
@faastfood
@faastfood 2 жыл бұрын
Absolutely awesome content.
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@roushilsingla6325
@roushilsingla6325 4 жыл бұрын
Nice explanation. Thanks!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks!
Hashable & Equatable in Swift 5 (Xcode 11, 2020) - iOS
18:38
iOS Academy
Рет қаралды 13 М.
№33 - Extensions в swift | Что от вас скрывают!?
32:09
В’ячеслав Білий
Рет қаралды 4,3 М.
Cute
00:16
Oyuncak Avı
Рет қаралды 12 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 101 МЛН
Grouping network calls like a boss - DispatchGroup
14:35
Swift Arcade
Рет қаралды 4 М.
Multithreading в swift с нуля:  урок 12 - GCD Dispatch Group + Bonus
37:44
002. Дмитрий Галимзянов «GCD»
11:42
Yandex for Developers
Рет қаралды 8 М.
Threads and Grand Central Dispatch in Swift
22:14
Stewart Lynch
Рет қаралды 21 М.
Concurrency and Grand Central Dispatch in iOS
12:03
Clarissa Calderon - Swift Bits
Рет қаралды 1,8 М.
Swift Method Dispatch - Сергей Турсунов
41:02
CocoaHeads
Рет қаралды 14 М.
Strong vs. Weak Swift 5: What is Weak Self (Xcode 11, 2020)
16:41
iOS Dev 17: Semaphore vs DispatchGroup | Swift 5, XCode 11
17:07
Emmanuel Okwara
Рет қаралды 3,2 М.
Cute
00:16
Oyuncak Avı
Рет қаралды 12 МЛН