How to use Do, Try, Catch, and Throws in Swift | Swift Concurrency #1

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

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

  • @Pepe_the_raver
    @Pepe_the_raver 4 месяца назад +9

    Is this the best explanation of Do, Try, Catch, Throws?
    This is the best explanation of Do, Try, Catch, Throws

  • @911gogogo
    @911gogogo 2 года назад +16

    It's the revolution of SWIFTUI lectures. Nick is really gifted at teaching not only swiftui but everything. This mean he is very good at meta cognitive. Brilliant.

  • @RedPPP
    @RedPPP Год назад +3

    This is amazing. The code snippet demonstrates why each solution is needed based on the improvement made to each variation and explains the need for do-try-catch and why it is the most elegant solution.

  • @philippegden9826
    @philippegden9826 2 года назад +9

    Great to see you back. Looking forward to this series.
    Perhaps one thing to add here: if you don’t catch an error in a do-catch block the calling function can be marked throws and it will automatically throw it up to its calling function.

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

    as a Lead Android Developer, I congratulate you, you explain very good the base.

  • @ABNERJUDE
    @ABNERJUDE 9 месяцев назад +1

    Your explanation here through examples of using the 'do - catch' block and the 'try - throws' made me fully understand when/where to use them. Thank you!

  • @kavinda_dilshan_paramsoodi
    @kavinda_dilshan_paramsoodi 2 года назад +2

    You're the most organized and neat SwiftUI RUclipsr I've ever seen in my entire life. I wish you more power with love. ❤❤❤❤

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

    It's blessings and gifted to have you Nick honestly .

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

    hands down the best SwiftUI, Swift Teacher!

  • @dhruvsharma7769
    @dhruvsharma7769 7 месяцев назад +1

    what a explanation man hats off

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

    These videos are one of the best things to happen to Swift. Thank you very much.

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

    Finally you back. Don`t forget about us :)

  • @kenjyfukuda
    @kenjyfukuda 2 года назад +6

    Thrilled to learn again with your new series. Thanks for your step-by-step and clear-cut explanation.

    • @SwiftfulThinking
      @SwiftfulThinking  2 года назад +2

      That's great to hear. Thanks for watching Kenji!

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

    Your videos have made me more interested in iOS development

  • @1ongole1
    @1ongole1 Год назад +2

    Clean and neat stuff. Very detailed explanation … anyone can understand. Thanks for helping us with your videos.

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

    Crystal clear perfect explanation 🔥

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

    one day your kids will be so lucky as their father can teach them complex things in a very simple way. As a result of that your kids will be the best performing students in an entire class. Woh... I wish you were my brother Nick.

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

    Brilliant explanation Nick, you made it very clear.
    Thank you so much

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

    Thanks for your step-by-step and clear-cut explanation.

  • @andresraigoza2082
    @andresraigoza2082 2 года назад +2

    Very clear explanation as always, thank you so much!!!

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

    That was absolutely fantastic! Thank you for sharing such a valuable information!

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

    12:44 small correction, its actually func 3 not the highlighted one, which is throwing error ‼

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

    Awesome video Nick again..

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

    Nice and clear explanation. Good to see it, thanks for sharing your knowledge!

  • @3ilz
    @3ilz 2 года назад +1

    Great stuff and intro lesson for the playlist

  • @МирославБерезовский-ю4к

    Thank you so much for starting new tutorial series! What will be a schedule for next series?

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

    I like it a lot. Straight to the point. No time wasted!

  • @김현진-t8r6f
    @김현진-t8r6f Год назад

    You surprise me every time!!

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

    Very well done and clear explanation.

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

    Hey Nick, any chance you can add this project to your GitHub repo?

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

    Thank you, I am excited!

  • @mhmtkrnlk
    @mhmtkrnlk 2 года назад +3

    oh my its coming.

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

    Request: could you post a link to video recommendations discussed with the videos for future videos? (ie Data injection in this video)

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

      I tried to include the relevant links, I don't think there are too many. This is the Dependency Injection video: ruclips.net/video/E3x07blYvdE/видео.html

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

      @@SwiftfulThinking Thanks!

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

    Great video!

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

    the best!! I got a big clearty !!

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

    Good stuff as always!

  • @Abe-fb2lj
    @Abe-fb2lj 2 года назад

    Thanks a lot! Great work!

  • @jayantkumar1954
    @jayantkumar1954 2 года назад +3

    awesome videos ... one suggestion , whatever code you write , please add on github, so it will be easy for us to get a reference. Thank you nick for making these quality videos :)

    • @SwiftfulThinking
      @SwiftfulThinking  2 года назад +5

      All the playlists are on my GitHub @SwiftfulThinking! I just realized I forgot to push this one though. I’ll do it tomorrow 🫡

    • @jayantkumar1954
      @jayantkumar1954 2 года назад +2

      @@SwiftfulThinkinggreat 👍

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

    great as always :-) .. thanks

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

    Thank you so much!

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

    Thanks a lot

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

    Thanks!

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

    Tnx very good

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

    Good gentle explanation. But I think you should have run it wit the try! in place. :D

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

    What happens if you make both trys optional and they both fail?

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

      Oh they both just return "nil"

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

    I love your videos, but everything is too small, can you zoom in or make the fonts bigger while working on Xcode, unfortunately I have to stop watching because on my iPad 12.9, I can barely see

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

    Rocking a new mac in this course? Perhaps an M1 mac... can't hear any fans freaking out 😀

  • @PaulDabit
    @PaulDabit 3 месяца назад

    Thank you so much god bless you