What are Optionals in Swift?

Опубликовано: 24 Март 2026
на канале: donny wals
543
17

This video is a companion for the following blog post: https://www.donnywals.com/what-are-op...

Optionals are a powerful tool in Swift that enables us to eliminate a notorious kind of crash related to null pointers and exceptions. By encoding the nullability of a Swift type into your code the compiler can help you make sure that you properly handle the possibility of nil values in your code.

Level up your Swift Concurrency skills with my concurrency course: https://donnyplus.com/p/practical-swi...

Explore my books that will help you become a better Swift developer: https://donnywals.com/books