Optionals in Swift Language: Is nil a null pointer?

Описание к видео Optionals in Swift Language: Is nil a null pointer?

Hello everyone, today we will analyze Optionals. Let's discover how they work under the hood and answer an interesting question, Is nil a null pointer?

Content:
0:00 - Intro
0:44 - All objects must be initialized
1:25 - What are optional?
3:53 - The truth about nil
5:31 - Do you want to learn more?

------

Source code showed in the video:
https://github.com/pitt500/swift-and-...

------
Resources:
Swift.org: https://docs.swift.org/swift-book/Lan...
Apple: https://www.notion.so/Optionals-d0f87...

------
Other videos in the channel:
Never Type:    • Never Type in SwiftUI: Exploring its ...  
Why can't you use Int indices in a String?:    • Why can't you use an Int index in Swi...  
LazyVStack:    • Performance between LazyVStack, VStac...  
GeometryReader and apple Watch animations:    • Building Apple Watch Layout with Geom...  
What's new in SwiftUI 3.0:    • What's new in SwiftUI 3.0? #WWDC21  
Swift Concurrency:    • Swift Concurrency  


-----
Don't forget to subscribe to the channel, like it, and follow me on social media:

Twitter:
  / swiftandtips  
  / pitt500  

Finally, ask me for a video you would like to see next 😄!

Credits:
Music by Wataboi from https://pixabay.com/
Video edited with LumaFusion

Комментарии

Информация по комментариям в разработке