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 https://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
Смотрите видео Learn the Essentials of Swift in one hour онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul Hudson 15 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 196,32 раз и оно понравилось 6.3 тысяч людям.