Тёмный

Learn the Essentials of Swift in one hour 

Paul Hudson
Подписаться 108 тыс.
Просмотров 170 тыс.
50% 1

This video walks through all the essential language features of Swift in just under one hour, and is aimed at two groups of people: folks who have completed up to day 14 of the 100 Days of SwiftUI and want to review what they've learned, and developers with extensive experience of other languages who want to transfer their knowledge to Swift quickly.
This video is very fast! If you're struggling to understand concepts such as arrays, functions, closures, and similar, you should consider following the videos in my 100 Days of SwiftUI course at www.hackingwithswift.com/100/... - they are much slower, providing much more explanation and example code along the way.
00:00 Introduction
01:21 Creating constants and variables,
01:59 Strings
03:38 Integers
04:38 Decimals
05:01 Booleans
05:23 Joining strings
05:59 Arrays
07:39 Dictionaries
08:16 Sets
09:10 Enums
09:40 Type annotations
11:50 Conditions
12:46 Switch statements
13:25 The ternary conditional operator
13:55 Loops
16:24 Functions
17:39 Returning multiple values from functions
18:45 Customizing parameter labels
19:52 Providing default values for parameters
20:38 Handling errors in functions
22:46 Closures
25:02 Trailing closures and shorthand syntax
26:22 Structs
27:43 Computed properties
28:37 Property observers
29:16 Custom initializers
30:10 Access control
31:56 Static properties and methods
32:42 Classes
39:49 Protocols
43:49 Extensions
46:00 Protocol extensions
49:31 Optionals
49:31 Unwrapping optionals with guard
51:34 Nil coalescing
53:06 Optional chaining
54:09 Optional try?
55:37 Wrap up
56:52 Dog reward

Наука

Опубликовано:

 

9 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 185   
@dc366
@dc366 2 года назад
I'm an experienced programmer in other languages. I'm so glad I found this video. Learned a lot in an hour. No point watching other tutorials that are much longer. You do a very good job explaining everything quickly.
@UTJK.
@UTJK. Год назад
He's a master!
@cwbh10
@cwbh10 10 месяцев назад
Exactly the same for me! Helpful when I just want to quickly pick up Swift to start
@linuxhopper6947
@linuxhopper6947 3 месяца назад
That what I was thinking, great video! thanks
@blhack123
@blhack123 Месяц назад
Exactly the same here. Excellent video!
@notabeneenterprises4210
@notabeneenterprises4210 2 месяца назад
Paul. What a fabulous video! So refreshing to find a "just the facts" approach tailored to people who have been around the block a few times instead of the interminable glacier-like pace of most "intro" tutorials. Best hour I've spent on RU-vid in quite a while.
@PetePeteRepeat
@PetePeteRepeat 2 года назад
What a phenomenal video! Fast paced, no-frills, and straight to the point... as someone with extensive experience in JavaScript and modern web dev, these skills are easily transferrable to Swift! Thanks Paul :)
@J4raz
@J4raz 2 года назад
Do one hour SwiftUI please :D
@gustavomonge1785
@gustavomonge1785 10 месяцев назад
Please !!
@zenchiassassin283
@zenchiassassin283 Год назад
(mostly for myself) 20:39 Handling errors or exceptions in functions 32:42 Classes vs struct 47:20 Optionals
@kindofexistentialist
@kindofexistentialist 2 года назад
One of the best teachers I've had. The end of the video melted my heart.
@tibettenballs4962
@tibettenballs4962 2 года назад
Yo. You probably need a cardiologist.. or at least a foot rub.
@terryterry1655
@terryterry1655 Год назад
Sorry i stepped on your melted heart.
@thaysmartinez
@thaysmartinez 10 месяцев назад
I've been following the 100 days of SwiftUI and this is definitely a must-watch refresher of the basics. The course is so well structured, with short videos and well thought explanations and examples that I hadn't realised I learned this much. I'm glad I watched until the end, the Samoyeds made it all worth it :)
@samr.4692
@samr.4692 2 года назад
What an amazing video!!! I was craving for a refresher on the essentials, one year after finishing #100DaysOfSwiftUI. Thank you very much for all you do for the community!
@joevrolijk
@joevrolijk Год назад
As a professional java dev this really helped me getting started on swift! Awesome video, all you need as a developer coming from other languages! Subscribed to the channel!
@thetrain1919
@thetrain1919 2 года назад
Paul, thank you for all the hard work you do on the videos and website. The forum has been invaluable for me!
@Skjoldborg8
@Skjoldborg8 9 месяцев назад
Thank you so much for the awesome walkthrough, Paul! 🙌 I will definitely be following you, and take part in the 100 day course! 📚
@_engid
@_engid Год назад
Fantastic tour through the language! Extra points for the crisp audio!
@streetchronicles5693
@streetchronicles5693 Год назад
Insanely well put together. I work in dev and havent used Swift in over a year, so this video was perfect to remember all the little Swift specific things
@artempolivanov1802
@artempolivanov1802 2 года назад
Thanks a lot, Paul! Great material, as well as the whole 100 Days course.
@fdm225
@fdm225 28 дней назад
amazing, as a programmer who is learning swift this is just amazing.
@joeldcanfield_spinhead
@joeldcanfield_spinhead Год назад
When I started reaching limitations customizing my Mac with AppleScript I tried to teach myself Swift and it took minutes to lose my way. After 30 years of web dev, I feel pretty solid in some areas, but I really needed this video to get up and running with Swift. Your warnings were well taken; it is indeed lightning fast. But pausing for note-taking, I feel like I'm ready to play with the 100 Days course and build some stuff. Thanks ever so much, sir.
@KimbrellBrad
@KimbrellBrad 2 года назад
Very well done sir! Nice crash review for those getting started. Much more in your 100 Days of Swift & 100 Days of SwiftUI on your site. I am taking the 100 SwiftUI as a review and am finding that there are several items that I had not seen yet. I'm sure more to come so I'm in for the entire 100 Days! And most amazing...it is free! (full disclosure: I am an HWS+ member and find it offers tons of value for any skill level!)
@t4n
@t4n Год назад
On day 15 of the course!! You're an amazing teacher.
@hirenrafaliya3577
@hirenrafaliya3577 3 месяца назад
I'm an experienced programmer in Kotlin & Javascript. This is my first video on Swift and just finished watching it completely and I'm now good to go to directly jump on making apps with Swift. Totally worth 58 minutes.
@iamikhan
@iamikhan 2 года назад
amazing, just finished whole video , coming from different stack to swift look promising. Thanks
@vivasfermin
@vivasfermin 2 года назад
Thank you so much Paul. Your videos are very well explained. Excellent work!
@swetakadam1075
@swetakadam1075 10 месяцев назад
Paul, this is the best video, I am so glad I found this, it is very high quality content for 1 hour, this video helps a person trying to transition from Kotlin/Java to Swift in a swift manner, you are best tutor, thank you for quality work, wishing that your subscribers reach 1M value soon.
@rajaspydey
@rajaspydey 2 года назад
damn. this is exactly what I was waiting for. FInished 100 days course earlier this week and wanted to go over all of them again to fit the puzzles back together. from basics. this is simplifying my job.
@d42
@d42 Год назад
shuba shuba. how is your journey going?
@user-he4cy1cm9x
@user-he4cy1cm9x 3 месяца назад
This video is amazing, thank you so much for taking the time to teach in such a efficient and clear way! I am very grateful! :)
@tharindudarshana6480
@tharindudarshana6480 Год назад
Great tutorial ! Thank you very much for the efforts you put in these tutorials
@brendenowen2609
@brendenowen2609 Год назад
You have a knack for explaining Swift. Thanks!
@MrMarioPrieto
@MrMarioPrieto 8 месяцев назад
This is the Swift Bible for programmers coming from other languages, where we already know the concepts and it is a matter of how to do them in Swift. Thank you very much!
@AnthonyLerpiniere
@AnthonyLerpiniere 2 года назад
This is exactly what I needed to get back into Swift programming!
@siarheiramaniuk1419
@siarheiramaniuk1419 Год назад
Thank you a lot for this job! It was really nice to quickly go through all the topics that I have studied lately.
@husfus
@husfus 2 года назад
The video I needed! Coming from JavaScript/TS, I’m familiar with most of the concepts here. The only this missing from the video is chapters - cause I will be coming back to it. Thanks for this awesome video Paul.
@robotman011
@robotman011 2 года назад
This was great! Just finished the first 14 days of SwiftUI so this is the final vid before I move on to the rest!
@immmax
@immmax Год назад
Thank you! It's important to put into practice what I learned. So, again - thank you very much for this course and the way you explain things! ❤‍🔥
@annichan113
@annichan113 2 года назад
THIS is what I was searching for! Perfect speed for folks who already have programming experience! 👍
@tibettenballs4962
@tibettenballs4962 2 года назад
Hi anni. I sell apricots to someone with the same name. Do you like apricots, by any chance?
@EAGLEMANFREEDOM
@EAGLEMANFREEDOM 11 месяцев назад
THANK YOU. this was exactly what I was looking for. Work as a java BE dev and I was reallllly not looking forward to sitting thru an entire beginner course to flesh out an app idea.
@xanwtf
@xanwtf Год назад
Excellent video to wrap up the first sections of 100 Days of Swift UI, and a bonus very cute doggo at the end!
@priyamohod1510
@priyamohod1510 Год назад
Excellent efforts! It helps to be on track. Thank you!
@BTGAndy
@BTGAndy 10 месяцев назад
Fantastic content Paul, I'm learning so much!
@47goodfoot
@47goodfoot Месяц назад
I really appreciate this quick and informative instructional video! I just got several of your books and am really looking forward to working through them, while pausing periodically to make my own apps, of course. 😃
@luisgomezreus732
@luisgomezreus732 2 года назад
Fantastic summary of Swift !!! Thank you very much Paul ... and how beautiful are your dogs ❤️
@user-nd9dx8ph5z
@user-nd9dx8ph5z 10 месяцев назад
Fantastic video. It's great because it's concise, but also full of information; little to no time is wasted on fluff. I fell into the latter target audience category as described in the description (I have experience in other languages, but not so much with Swift). Watched this on 1.5x speed, and I feel like it gave me pretty much everything I was looking for in under 40 mins. Quite pleased 🙂.
@TheSlyDragon93
@TheSlyDragon93 2 года назад
This is perfect I was looking for something like this as junior web developer looking to try out swift. Many thanks for this Paul
@JulianHarris
@JulianHarris Год назад
Absolutely fantastic and cemented my conviction Swift is my favourite language (and over 30 years I’ve worked in C, C++, Object Pascal, Ruby, PHP, Go, Python, C#, and Dart).
@ProffesorGomez
@ProffesorGomez 2 месяца назад
Wow @Paulhudson I’ve never finished a complex tutorial before while taking notes. It took me 15 days but I finished because you’re such a good teacher and also I have a passion project that I need to finished. Thank you Paul 💚
@semilife
@semilife 2 года назад
Great whirlwind tour of Swift Language. You are a gentleman. Thanks.
@ekipkalir3429
@ekipkalir3429 2 года назад
Amazing Paul, really good content and to be fair a fast track check of Swift .
@foleoR1891
@foleoR1891 2 года назад
Wow! Thanks for the video! You’re a good teacher.
@taash32
@taash32 Год назад
for me when i first came from a Kotlin & Dart Background, this Video was the best choice to watch, then again its the best again and again to remember when you forget something 1 hour crash course that summarizes 52 hours of trying/googling Much Respect
@bravehearted1010
@bravehearted1010 Год назад
One of the best Swift Basics video :D
@imranonthenet
@imranonthenet 2 года назад
Excellent tutorial !! Thanks a lot Paul
@YannSaintLaurent
@YannSaintLaurent 2 года назад
Lots of good bits in there... thanks Paul
@sobhhi
@sobhhi Год назад
Thank you for this tutorial. Excellent crash course for those of us who already know a language and want to pick up Swift.
@KevinSmith-qr9rt
@KevinSmith-qr9rt Год назад
Thanks for the video. Lovely meeting your dog at the end.
@Kokopellli
@Kokopellli 13 дней назад
The only thing I’m wondering is how does this video have less than 10 million views ❤ Paul thank you so much !
@NeylaRojas
@NeylaRojas 2 года назад
I did enjoy this video very much, specially the last part, one treat more for Arya and Luna please, pure love 🐶
@aplbep
@aplbep Год назад
Amazing video as always!
@dhatawesomedude
@dhatawesomedude Год назад
Thanks Paul. Just what I needed.
@yalcinozer4434
@yalcinozer4434 Год назад
Before this video, I have read the official docs. But I can easily see that I missed some really important parts. Thanks for the clear and concise summary.
@roryblyth3396
@roryblyth3396 11 месяцев назад
What a stark raving sane video. When developing for The Apple Stuff, I formerly used Objective-C (the sanest OO C) and Xamarin. I love them both with all my nerdy little heart, but now that I'm working with watchOS, I'm finding Xcode is the "best" option. Can't get far with SwiftUI when you don't know the basics of Swift itself. After going through eight billion WWDC videos and tutorials, I finally found what I needed: A fast primer on Swift for devs. You're articulate, get to the point, and now I understand the funky Swift ways. I think it's an ugly language, but I need it. You made it a little prettier to mine eyes. Also, thank you for not starting every single spoken statement with, "Now I'm gonna go ahead and..." After twenty years of giving and watching demos, I appreciate the elegance. You're something else, Mr. Hudson. May the praise and the cash fall into thine coffers; may thine efforts wield bounteous rewards.
@tontonchan3833
@tontonchan3833 2 года назад
I like this version of 100 days of SwiftUI. Build the foundation before deal with real coding. Previous version actually make sense to me, learn from real work is a common way to learn something. However, I spent quite a lot of time to digest the new concept. With this new flow, people learn all the basic concept with simple exercise. It save a lot of time.
@Jay-tr7ue
@Jay-tr7ue 11 месяцев назад
Handling errors with Swift is just cleaner than Javascript. The error enum combined with do.. And setting up all the catch statements just makes soo much sense!
@rdtba21qw
@rdtba21qw 2 года назад
Brilliant stuff - thanks Paul.
@martinkowollik1432
@martinkowollik1432 2 года назад
Thanks a lot Paul! Your lossons are awesome!
@annabusby4304
@annabusby4304 6 месяцев назад
Just completed the first 15 days of the 100 course! It’s been brilliant so far!!! Really, really good work :D I also have a coding dog mascot called Bella, I think she’s learnt that if I’m sat the computer and she hears your voice on a video then it’s time for her to nap haha
@cwbh10
@cwbh10 10 месяцев назад
Amazing video and super cute dog!
@bharadwajb2902
@bharadwajb2902 2 года назад
Really good compilation!
@legenarian6811
@legenarian6811 5 месяцев назад
ty bc as a competitive programmer who has never touched oop before this is a very nice crash course that got me into swift without much hassle
@Indently
@Indently 2 года назад
Very well done. Thanks!
@migalejo85
@migalejo85 Год назад
Kudos to this channel, everything is always very good explain simple and to the point. Keep the good work. :-)
@mehmetderan1208
@mehmetderan1208 Год назад
Great tutorial ! Thank you so much..
@jemsophia
@jemsophia 2 месяца назад
oh my godddd this was fantastic, thank you soooo much
@AllenThomasVarghese
@AllenThomasVarghese 7 месяцев назад
Nice and quick intro for experienced programmers
@scottthomson2438
@scottthomson2438 2 года назад
Fantastic, thanks Paul!
@jessestone117
@jessestone117 Год назад
Such excellent videos!
@EricTMCode
@EricTMCode 2 года назад
Thanks for this Amazing video ! Thank you very much for what you do !
@alicancagatay2374
@alicancagatay2374 Год назад
Fantastic !! Thank you very much.
@TsiriniainaRakotonirina
@TsiriniainaRakotonirina Год назад
I can't thank you enough as I went through this the whole day and took note greatly. God bless you Edit: You earned a new subscriber
@forexhoss9381
@forexhoss9381 17 дней назад
This video was awesome, thank you
@Akshatgiri
@Akshatgiri Год назад
Amazing video!
@carmackxiao1304
@carmackxiao1304 Год назад
Very good video, really finish in one Hour
@MarkJaquith
@MarkJaquith 11 месяцев назад
I wish I'd watched this video first. Really great video.
@brucehe9517
@brucehe9517 Год назад
Helpful video thank you.
@oleholgerson3416
@oleholgerson3416 2 года назад
Thank you very much for your great work
@sujathathakur8504
@sujathathakur8504 2 года назад
As always Awesome!
@hcrnn7518
@hcrnn7518 10 месяцев назад
Kotlin and Swift are so similar. This was super easy for me. Great tutorial.
@romagoot5289
@romagoot5289 10 месяцев назад
Best teacher ever)Thank you
@tdovas
@tdovas 9 месяцев назад
excellent video! thank you!
@azurlemo7988
@azurlemo7988 2 года назад
Thank you, you're amazing!!!!!
@emptypocket2516
@emptypocket2516 Год назад
ITS WORKING! nice job dude
@user-wf1hp4in1w
@user-wf1hp4in1w 2 месяца назад
very nice video, thanks!
@Donnshin
@Donnshin Год назад
On to day 16 tomorrow. Thank you Paul, I'm really hoping this works out for me.
@DavideMarzorati
@DavideMarzorati Год назад
Thank Man for your work..I appreciate!
@FelipeCampelo0
@FelipeCampelo0 8 месяцев назад
Great work!
@yalcinozer4434
@yalcinozer4434 Год назад
Great content
@yoliocaffeyole4602
@yoliocaffeyole4602 Год назад
You are the bomb, @twostraws--I am grateful to have stumbled upon you 🎃 Cheers!
@kikleine
@kikleine 3 месяца назад
The wrap up is my favorite part
@kikleine
@kikleine 3 месяца назад
Scratch that, hadn't seen the reward part yet
@feddardslark
@feddardslark 2 года назад
Thanks a lot Paul !
@rct999
@rct999 6 месяцев назад
Swift looks very elegant. Working with php and js, I sometimes forget how nice things could be.
@V100X
@V100X Год назад
42:56 I'll save this timestamp for later. Thanks Paul
@mysticsunonline
@mysticsunonline Год назад
Great Video...Very inspiring...
@awais341
@awais341 Год назад
That's what I was looking for. Having Dev experience in Objective C, Java, Php & Python. This was what I was looking for one stop shop in order to get my hands dirty with Swift...!
Далее
8 Things I Wish I Knew When I Started Programming
19:51
Swift 5.9 Released | Prime Reacts
14:36
Просмотров 61 тыс.
How to become an iOS developer in 2021
53:33
Просмотров 162 тыс.
5 Steps to Better SwiftUI Views
31:19
Просмотров 55 тыс.
Python vs Swift | Chris Lattner and Lex Fridman
11:16
Просмотров 148 тыс.
Build your next website in Swift
24:45
Просмотров 30 тыс.
While loops in Python are easy ♾️
6:58
Просмотров 307 тыс.
How to code in Swift | Swift Basics #1
18:25
Просмотров 32 тыс.
Юмор AirPods Max 😃
0:36
Просмотров 22 тыс.
Странный чехол из Technodeus ⚡️
0:44