Threads and Grand Central Dispatch in Swift

  Переглядів 20,737

Stewart Lynch

Stewart Lynch

День тому

In this video, we are going to take at Threading and Grand Central Dispatch in Swift.
We will investigate what threads and Queues are as well as the Grand Central Dispatch or CGD, the API for managing your queues. In the process, we will also touch on synchronous vs asyncrhonous code and finish off with an overview of DispatchGroups.
Starter Project: www.createchsol.com/StarterPr...
******* Download my StewartLynch UKposts Channel Application - Free **********
stewartlynch.gumroad.com/l/obsjz
Stewart Lynch's UKposts Channel
/ stewartlynch
CreaTECH Solutions Website
www.createchsol.com
Stewart Lynch's GitHub
github.com/StewartLynch

КОМЕНТАРІ: 65
@ZAP1able
@ZAP1able 3 роки тому
Great explanation
@StewartLynch
@StewartLynch 3 роки тому
Thanks
@tibettenballs4962
@tibettenballs4962 2 роки тому
yess. he sounds like a friendly robot.
@StewartLynch
@StewartLynch 2 роки тому
No one is forcing you to watch.
@tibettenballs4962
@tibettenballs4962 2 роки тому
@@StewartLynch once again, a friendly compliment. you are a great teacher. better than most I have come across.
@tibettenballs4962
@tibettenballs4962 2 роки тому
@@StewartLynch and your right, nobdoy is forcing me to watch. but my mom is addicted to meth, and i dont have a father., i have to take care of my little brother and ive been coding since 14, so i do kiind of have to watch your videos! thanks for being a jerk tho!
@StewartLynch
@StewartLynch 3 роки тому
At 4.51 in the video, I mistakenly say that the .default QoS is between .utility and .userInteractive. The slide is accurate though. .default is between .utility and .userInitiated. Sorry about that.
@MazenBaddad
@MazenBaddad Рік тому
I really don't think anyone can explain it better then you did, Great job.
@StewartLynch
@StewartLynch Рік тому
Thanks
@anushkamukhopadhyay8540
@anushkamukhopadhyay8540 2 роки тому
You explain things so well, I feel like I'm at my favorite professor's lecture. Thank you so much, this is a fantastic resource!
@StewartLynch
@StewartLynch 2 роки тому
Thank you for your kind words
@lynskyrd
@lynskyrd Рік тому
you turned the light on for me with respect to threading... thank you.
@lucasdebritoarruda7831
@lucasdebritoarruda7831 2 роки тому
By far, the best Swift programming content on UKposts. Thanks for this excellent explanation.
@StewartLynch
@StewartLynch 2 роки тому
Thanks for your comment
@manwithllama
@manwithllama 2 роки тому
I'm a total newbie and I could follow this. So many other presenters don't put space between their spoken sentences. A learner's brain falls behind fast and never quite catches up. Not here. Great cadence Stewart.
@StewartLynch
@StewartLynch 2 роки тому
Thanks. I was a school teacher in another life so I think I understand. I taught math and learned that I had to pause to let things sink in.
@victorsebastian732
@victorsebastian732 3 роки тому
Wonderful explanation. My long time doubts about GCD have been clarified. Thank you!!
@noctecoder6252
@noctecoder6252 2 роки тому
Best explanation with actual examples. Thank you for making these kind of tutorials. Great job.
@Mike-vr5jl
@Mike-vr5jl 2 роки тому
The greatest explanation of GCD i've found so far, Thanks
@myrondulay8628
@myrondulay8628 3 роки тому
Very detailed explanation. That log utility is useful.
@rungxanh2901
@rungxanh2901 2 роки тому
Really really intuitive. Thank you very much Stewart 🙏🏻
@leopapilaya
@leopapilaya 3 роки тому
Awesome! Your explanation is so clear!
@M1kaTck
@M1kaTck 3 роки тому
This was an awesome explanation, thank you.
@anshulkoshyari1356
@anshulkoshyari1356 Рік тому
One of the best explanations for this topic out there
@hamidkia5035
@hamidkia5035 Рік тому
I don't know how to thank you, for training very nice 👏👏👏
@user-wi3cy8hq3v
@user-wi3cy8hq3v 2 роки тому
Amazing explanation, thanks!
@rootx9608
@rootx9608 Рік тому
Best video on swift threading thank you :))
@AchrafTrabelsiMobileDeveloper
@AchrafTrabelsiMobileDeveloper 2 роки тому
Thank you for this awesome video !
@amari9773
@amari9773 2 роки тому
Much appreciated video. Well done.
@DhavalHNena
@DhavalHNena 2 роки тому
Very helpful and greatly explained!
@hongnhannguyen1509
@hongnhannguyen1509 3 роки тому
Great video, thanks very much!
@arkemal
@arkemal Рік тому
Very nice explanation. Thanks
@mayankkhursija6290
@mayankkhursija6290 3 роки тому
Great content.. its rare to see that there is no single dislike... Keep it up..
@chetanpatil1750
@chetanpatil1750 2 роки тому
Thanks for making it so simple This will really help me 👍
@ekkogaming5461
@ekkogaming5461 3 роки тому
best explanation I have seen so far! Thank you.
@StewartLynch
@StewartLynch 3 роки тому
Thanks, Glad you liked this video.
@vatanachhorn9534
@vatanachhorn9534 Рік тому
great video! thank you
@paracartoon
@paracartoon 2 роки тому
This is such a useful video! Thank you so much!
@StewartLynch
@StewartLynch 2 роки тому
You're so welcome!
@nileshjdarji
@nileshjdarji Рік тому
This is one of finest explanations out there for Queues. Quick question, what is an operation queue and where does it fall in what you have just shown in this video.
@shreyakgodala3240
@shreyakgodala3240 2 роки тому
Great resources for preparing for iOS interviews
@leonciocastillo6433
@leonciocastillo6433 3 роки тому
You won a subscription and like because this video has a wonderful content. Keep up the good work.
@StewartLynch
@StewartLynch 3 роки тому
Awesome, thank you!
@Joe-qv2jo
@Joe-qv2jo Рік тому
Awesome thanks 🙏
@shurale85
@shurale85 2 роки тому
Simple and concise explanation, thanks a lot! Can you pls clarify what is task, what is resume, what is NSoperation queue that you used in demo?
@aldairraulcosetitocoral5659
@aldairraulcosetitocoral5659 3 роки тому
Dear Stewart. When you use groups and when you declare a queue variable as Global, it means the main thread or queue will be notify?
@simpleaspossible6777
@simpleaspossible6777 3 роки тому
So nice, keep working
@hunghoauc423
@hunghoauc423 2 роки тому
It's very useful for me
@user-xv3lr6mb6g
@user-xv3lr6mb6g 3 роки тому
Большое спасибо !
@StewartLynch
@StewartLynch 3 роки тому
You are welcome
@vinothsivanandam8345
@vinothsivanandam8345 2 роки тому
fully watched
@herman3725
@herman3725 Рік тому
Takk!
@hossin7752
@hossin7752 2 місяці тому
great
@alimehmood8654
@alimehmood8654 3 роки тому
Default case for QoS is shown to be between .userInitiated and.utility but you have said that it is between .userInteractive and .utility. Which one is it?
@StewartLynch
@StewartLynch 3 роки тому
it is between .UserInitiated and .Utility as it shows, not what I said. I wish there was a way to go back and correct audio on UKposts without having delete and repost the video. Thanks for catching that.
@alimehmood8654
@alimehmood8654 3 роки тому
Stewart Lynch thanks. You can try putting this correction in a pinned post.
@StewartLynch
@StewartLynch 3 роки тому
@@alimehmood8654 Done. Thanks Ali
@multitudes389
@multitudes389 2 роки тому
👏🏻👏🏻👏🏻
@tibettenballs4962
@tibettenballs4962 2 роки тому
start a discord server. my channel has over 500 members, and around 10-15 active at any given time. We work on projects, and solve leet-code questions. your tutor style would attract a valuable crowd. many would be ingratiated to be under your tutelage. semper fi brother. Contextually, My YT channel averages under 1K views. there is potential in what you are doing and more should know about you. Ps: i would conjecture, given your teaching style and the lack of swifty ds and algo on YT is a benefactor to you market-share positioning (audience) within this cesspool-algo-drive-YT-world we live in.
@mhfs61
@mhfs61 3 роки тому
👍🏼👍🏼👍🏼
@followerOfJesus723
@followerOfJesus723 2 роки тому
OMG, the explanation for synchronous vs asynchronous was very bad, although it was technically correct. You explain it in a way that will make new programmers conflate asynch vs synch with serial vs concurrent.
@StewartLynch
@StewartLynch 2 роки тому
Thanks for taking the time to comment. Perhaps you could point us all to a clearer definition that would make sense in this context. I agree that the concepts often get confused and misrepresented. Again, thanks for any feedback you can give that would provide more clarity. And if there are other aspects of this video that are unclear, please comment as well. It is ot my intention to confuse.
@maqusss
@maqusss Рік тому
The ContentViews dogVM var should be @StateObject instead of @ObservedObject. Also there is error in getDogWithSession() at 17:00 in line 59. There is Data(contentsOf:) but we should just use data from completion handler.
@StewartLynch
@StewartLynch Рік тому
Agreed, but this video was created BEFORE @StateObject was available. @StateObjecet was introduced in iOS 14 and I crated this video while still. using iOS 13
@user-yd9xy3rb4x
@user-yd9xy3rb4x 2 роки тому
so synchronously .sync means - FIFO first in first out?
Multithreading & Async in iOS | A Basic Introduction
10:12
Sam Meech-Ward
Переглядів 4,6 тис.
Військовослужбовці ЗСУ проводять оповіщення в Полтаві
00:32
Блоховирус !🦠 #симба #тигра #булли
00:57
Симбочка Пимпочка
Переглядів 9 млн
When to Semaphore vs Dispatch Group! Careful Multithreaded Shared Resource
11:11
Lets Build That App
Переглядів 45 тис.
DispatchQueues: Serial, Concurrent, Async, & Sync - Overview
6:02
iOS Academy
Переглядів 23 тис.
Main Thread, Sync vs Async and Deadlocks in Swift
9:49
iCode
Переглядів 12 тис.
MVVM + Dependency Injection in Swift | Unit Testing | iOS
29:29
Strong vs. Weak Swift 5: What is Weak Self (Xcode 11, 2020)
16:41
iOS Academy
Переглядів 23 тис.
iPhone 19?
0:16
ARGEN
Переглядів 3,6 млн