How to unwrap optionals with guard – Swift for Complete Beginners

preview_player
Показать описание
Other videos in the Optionals section:

2. How to unwrap optionals with guard: This video

Рекомендации по теме
Комментарии
Автор

Paul, thank you for the time and effort you put into this amazing series!

versystudio
Автор

Hi Paul. Why would I want to use guards or optionals opposed to If, else if and else?

TheFuentes
Автор

can't I just do an if fails return .like if let var != num then return... ??

en_coded