Main Thread, Sync vs Async and Deadlocks in Swift

Поділитися
Вставка
  • Опубліковано 25 лис 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 Рік тому

    Thank you for the explanation!

  • @ShuklaAmbuj
    @ShuklaAmbuj 2 роки тому +1

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

  • @brindham4990
    @brindham4990 2 роки тому

    Clear explanation with example👌🙂

  • @maniios7446
    @maniios7446 2 роки тому +1

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

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

  • @yogeshkumarverma2125
    @yogeshkumarverma2125 5 місяців тому

    Thanks man!

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

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

  • @vaibhavshiledar
    @vaibhavshiledar 3 роки тому

    Very nice explanation sir

  • @vaishurao4814
    @vaishurao4814 3 роки тому

    Thanks for neat and clean explanation ! 🤗👍

  • @priyasrivastava4679
    @priyasrivastava4679 3 роки тому

    Great explanation!

  • @thahiraf1317
    @thahiraf1317 3 роки тому

    please add some SwiftUI related videos.

  • @anshjain06
    @anshjain06 3 роки тому

    Good content. Keep it up.

  • @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 👍🏼

  • @akashrevanna5327
    @akashrevanna5327 3 роки тому

    Thank you brother 😊🙏

  • @manjeetchoudhary5860
    @manjeetchoudhary5860 9 місяців тому

    🎉🎉🎉

  • @victorriurean
    @victorriurean 11 місяців тому

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

  • @yogeshrathore919
    @yogeshrathore919 3 роки тому

    Good content. Keep it up.