Main Thread, Sync vs Async and Deadlocks in Swift

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 39

  • @afaaqahmedsaqi
    @afaaqahmedsaqi 3 года назад +5

    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 года назад +1

      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

  • @ShuklaAmbuj
    @ShuklaAmbuj 2 года назад +1

    Nice explanation, so where is the place we can use sync blocks, can you please give some example ?

  • @maniios7446
    @maniios7446 2 года назад +1

    hi ,plz do for closure. where we have to based on differences escaping and non escaping ..

  • @matrixRule127
    @matrixRule127 3 года назад +1

    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 :)

  • @radharamana9762
    @radharamana9762 3 года назад +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

  • @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.

  • @brindham4990
    @brindham4990 2 года назад

    Clear explanation with example👌🙂

  • @bohdanbochkovskyi852
    @bohdanbochkovskyi852 Год назад

    Thank you for the explanation!

  • @manish00748
    @manish00748 3 года назад +1

    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 года назад +1

      Sure Manish. Thanks for the suggestion, I’ll try to cover that. :)

  • @vaibhavshiledar8213
    @vaibhavshiledar8213 3 года назад

    Very nice explanation sir

  • @jai6133
    @jai6133 2 года назад

    Why we have sync and async both serial and concurrent task??

  • @vaishurao4814
    @vaishurao4814 3 года назад

    Thanks for neat and clean explanation ! 🤗👍

  • @yogeshkumarverma2125
    @yogeshkumarverma2125 4 месяца назад

    Thanks man!

  • @priyasrivastava4679
    @priyasrivastava4679 3 года назад

    Great explanation!

  • @Aditya-Pathak
    @Aditya-Pathak 3 года назад

    Great Pallav 👍🏼

  • @thahiraf1317
    @thahiraf1317 3 года назад

    please add some SwiftUI related videos.

  • @vivekgupta8827
    @vivekgupta8827 3 года назад

    Nicely explained

  • @anshjain06
    @anshjain06 3 года назад

    Good content. Keep it up.

  • @akashrevanna5327
    @akashrevanna5327 2 года назад

    Thank you brother 😊🙏

  • @manjeetchoudhary5860
    @manjeetchoudhary5860 8 месяцев назад

    🎉🎉🎉

  • @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.

  • @victorriurean
    @victorriurean 10 месяцев назад

  • @yogeshrathore919
    @yogeshrathore919 3 года назад

    Good content. Keep it up.