How to use Do, Try, Catch, and Throws in Swift | Swift Concurrency #1
HTML-код
- Опубликовано: 27 янв 2025
- Although these keywords are NOT new to Swift, they are almost always used when using Swift Concurrency. In the following videos in this playlist, we will use Do, Catch, Try, and Throws in every single video! Therefore, it's only logical to iron-out any confusion around these keywords before getting into the heart of this playlist.
In this video, we learn about Do-Catch blocks, the difference between Try, Try? and Try!, and what it means to Throw an error in Swift!
Next video: • Download images with A...
Previous video: • Learn Swift Concurrenc...
🤙 WELCOME BACK 🤙
WEBSITE: www.swiftful-t...
DISCORD: / discord
GITHUB: github.com/Swi...
SAY THANKS: www.buymeacoff...
Is this the best explanation of Do, Try, Catch, Throws?
This is the best explanation of Do, Try, Catch, Throws
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.
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.
Let’s go
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!
Really good explaination. Probably the best one on RUclips. Thanks!
Thrilled to learn again with your new series. Thanks for your step-by-step and clear-cut explanation.
That's great to hear. Thanks for watching Kenji!
It's blessings and gifted to have you Nick honestly .
You're the most organized and neat SwiftUI RUclipsr I've ever seen in my entire life. I wish you more power with love. ❤❤❤❤
These videos are one of the best things to happen to Swift. Thank you very much.
what a explanation man hats off
Finally you back. Don`t forget about us :)
Clean and neat stuff. Very detailed explanation … anyone can understand. Thanks for helping us with your videos.
hands down the best SwiftUI, Swift Teacher!
It's so clear and useful, thanks!
Brilliant explanation Nick, you made it very clear.
Thank you so much
That was absolutely fantastic! Thank you for sharing such a valuable information!
as a Lead Android Developer, I congratulate you, you explain very good the base.
Crystal clear perfect explanation 🔥
Very clear explanation as always, thank you so much!!!
Thanks Andres!!
Thanks for your step-by-step and clear-cut explanation.
12:44 small correction, its actually func 3 not the highlighted one, which is throwing error ‼
Nice and clear explanation. Good to see it, thanks for sharing your knowledge!
Your videos have made me more interested in iOS development
Great stuff and intro lesson for the playlist
Very well done and clear explanation.
Glad you liked it 🥳
Awesome video Nick again..
You surprise me every time!!
Great video!
Thank you, I am excited!
What's up Humberto! Let's do this 😎
Good stuff as always!
Thanks a lot! Great work!
the best!! I got a big clearty !!
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.
Request: could you post a link to video recommendations discussed with the videos for future videos? (ie Data injection in this video)
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
@@SwiftfulThinking Thanks!
great as always :-) .. thanks
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 :)
All the playlists are on my GitHub @SwiftfulThinking! I just realized I forgot to push this one though. I’ll do it tomorrow 🫡
@@SwiftfulThinkinggreat 👍
Thank you so much for starting new tutorial series! What will be a schedule for next series?
New videos every Monday and Wednesday!
Thank you so much!
Perfect!
Hey Nick, any chance you can add this project to your GitHub repo?
I like it a lot. Straight to the point. No time wasted!
Thanks a lot
Good gentle explanation. But I think you should have run it wit the try! in place. :D
I will Try! next time 😂
Thanks!
oh my its coming.
Tnx very good
What happens if you make both trys optional and they both fail?
Oh they both just return "nil"
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
Rocking a new mac in this course? Perhaps an M1 mac... can't hear any fans freaking out 😀
New microphone 😁
@@SwiftfulThinking Awesome!
Thank you so much god bless you