Main Thread, Sync vs Async and Deadlocks in Swift

  Рет қаралды 13,727

iCode

iCode

Күн бұрын

Пікірлер: 39
@afaaqahmedsaqi
@afaaqahmedsaqi 3 жыл бұрын
Awesome explanation for this topic out there, Never heard details about this topic this deep. Keep up the good work!
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Aafaq, glad that you liked the video 🙂
@radharamana9762
@radharamana9762 3 жыл бұрын
@@iCode_Happy_Coding Hi Pallav, you are trying to change background color in background thread but that didn't work however add a view in background thread which is expensive operation. Howcome adding a view worked here? My understanding is it should happen in main thread and why it is not crashing for queue1 operation? correct me if my understanding is wrong
@matrixRule127
@matrixRule127 3 жыл бұрын
Hi Pallav, coming here from linkedin!! Awesome explanation..!! Looking forward for more!! Thanks for sharing.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad that you liked it. A new video comes every Sunday, please stay tuned :)
@ShuklaAmbuj
@ShuklaAmbuj 2 жыл бұрын
Nice explanation, so where is the place we can use sync blocks, can you please give some example ?
@rushabhsingh2148
@rushabhsingh2148 3 жыл бұрын
Thank you. Need more detail videos on multithreading topics
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Sure Rushabh, I'll keep it in mind while deciding the topic and will try to cover concurrency in upcoming videos.
@maniios7446
@maniios7446 2 жыл бұрын
hi ,plz do for closure. where we have to based on differences escaping and non escaping ..
@radharamana9762
@radharamana9762 3 жыл бұрын
Hi Pallav, you are trying to change background color in background thread but that didn't work however add a view in background thread which is expensive operation. Howcome adding a view worked here? My understanding is it should happen in main thread and why it is not crashing for queue1 operation? correct me if my understanding is wrong
@shiviagarwal9134
@shiviagarwal9134 3 жыл бұрын
Same question. Please reply Pallav.
@King-DieGo-12
@King-DieGo-12 5 ай бұрын
view is not part of view hierarchy yet, (addSubview is done after color is set to blue), so change in color to blue wont have any affect, but once view is added to subview, any color change is to be done in main thread
@bohdanbochkovskyi852
@bohdanbochkovskyi852 Жыл бұрын
Thank you for the explanation!
@brindham4990
@brindham4990 2 жыл бұрын
Clear explanation with example👌🙂
@manish00748
@manish00748 3 жыл бұрын
Please upload one on MVVM with some example. The ones on Internet doesn’t provided a clear context
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Sure Manish. Thanks for the suggestion, I’ll try to cover that. :)
@vaibhavshiledar8213
@vaibhavshiledar8213 3 жыл бұрын
Very nice explanation sir
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad you liked it :)
@vaishurao4814
@vaishurao4814 3 жыл бұрын
Thanks for neat and clean explanation ! 🤗👍
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thank you Vaishu 🙂
@yogeshkumarverma2125
@yogeshkumarverma2125 4 ай бұрын
Thanks man!
@priyasrivastava4679
@priyasrivastava4679 3 жыл бұрын
Great explanation!
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad that you liked it 🙂
@jai6133
@jai6133 2 жыл бұрын
Why we have sync and async both serial and concurrent task??
@thahiraf1317
@thahiraf1317 3 жыл бұрын
please add some SwiftUI related videos.
@akashrevanna5327
@akashrevanna5327 3 жыл бұрын
Thank you brother 😊🙏
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad that you found the video helpful 🙂
@vivekgupta8827
@vivekgupta8827 3 жыл бұрын
Nicely explained
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thank you so much 🙂
@Aditya-Pathak
@Aditya-Pathak 3 жыл бұрын
Great Pallav 👍🏼
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Aditya. I'm glad that you liked it :)
@anshjain06
@anshjain06 3 жыл бұрын
Good content. Keep it up.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks sir. Glad you liked it.
@victorriurean
@victorriurean 10 ай бұрын
@manjeetchoudhary5860
@manjeetchoudhary5860 9 ай бұрын
🎉🎉🎉
@vaibhavshiledar8213
@vaibhavshiledar8213 3 жыл бұрын
Please upload video tutorials regularly sir
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Yes, new video will be posted every Sunday. Please stay tuned.
@yogeshrathore919
@yogeshrathore919 3 жыл бұрын
Good content. Keep it up.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Yogesh, glad that you liked it :)
Copy on Write in Swift | iOS
8:11
iCode
Рет қаралды 7 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 986 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 206 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 154 МЛН
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 64 МЛН
Threads and Grand Central Dispatch in Swift
22:14
Stewart Lynch
Рет қаралды 22 М.
Method Dispatch in Swift | Static | Dynamic | Message
11:39
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 98 М.
When to Semaphore vs Dispatch Group! Careful Multithreaded Shared Resource
11:11
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 986 М.