Main Thread, Sync vs Async and Deadlocks in Swift

Поделиться
HTML-код
  • Опубликовано: 1 дек 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

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

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

    Thank you for the explanation!

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

    Clear explanation with 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.

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

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

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

    Thanks for neat and clean explanation ! 🤗👍

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

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

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

    Great explanation!

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

    Thanks man!

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

    Very nice explanation sir

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

    Good content. Keep it up.

  • @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 6 месяцев назад

      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

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

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

    Thank you brother 😊🙏

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

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

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

    Nicely explained

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

    Great Pallav 👍🏼

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

    🎉🎉🎉

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

    please add some SwiftUI related videos.

  • @vaibhavshiledar
    @vaibhavshiledar 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 11 месяцев назад

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

    Good content. Keep it up.