Learn the Essentials of Swift in one hour

preview_player
Показать описание
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.

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
Рекомендации по теме
Комментарии
Автор

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.

dc
Автор

(mostly for myself)
20:39 Handling errors or exceptions in functions
32:42 Classes vs struct
47:20 Optionals

zenchiassassin
Автор

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

PetePeteRepeat
Автор

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 YouTube in quite a while.

notabeneenterprises
Автор

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!

samr.
Автор

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

streetchronicles
Автор

Paul, thank you for all the hard work you do on the videos and website. The forum has been invaluable for me!

thetrain
Автор

Thanks a lot, Paul! Great material, as well as the whole 100 Days course.

artempolivanov
Автор

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

thaysmartinez
Автор

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!

joevrolijk
Автор

amazing, just finished whole video, coming from different stack to swift look promising. Thanks

iamikhan
Автор

On day 15 of the course!! You're an amazing teacher.

tn
Автор

Thank you so much for the awesome walkthrough, Paul! 🙌 I will definitely be following you, and take part in the 100 day course! 📚

Skjoldborg
Автор

About an hour ago I found this video and just finished watching it. I have to say, this is by far the best about Swift I've ever seen! So clear and precise, easy to understand and very pleasant to watch and listen to. Thank you so so much! (Subscribed, of course!)

jenny-c
Автор

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!)

KimbrellBrad
Автор

This was great! Just finished the first 14 days of SwiftUI so this is the final vid before I move on to the rest!

robotman
Автор

One of the best teachers I've had. The end of the video melted my heart.

kindofexistentialist
Автор

THANK YOU. this was exactly what I was looking for. Work as a java BE dev and I was not looking forward to sitting thru an entire beginner course to flesh out an app idea.

EAGLEMANFREEDOM
Автор

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.

joeldcanfield_spinhead
Автор

Fantastic tour through the language! Extra points for the crisp audio!

friendlywavingrobot