filmov
tv
Swift Optionals - How to Unwrap (real examples)

Показать описание
A common iOS Dev interview question is to explain Optionals and how to unwrap them. In this Swift optionals tutorial I'll explain if let, guard statements, optional chaining, and force unwrapping, and nil coalescing.
This tutorial was created using Xcode 14 and iOS 16.
iOS Developer Interview Questions Playlist:
My iOS Dev Courses:
My Closures Video:
Twitter:
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Paul Hudson's Hacking With Swift:
Donny Wals - Combine:
Mark Moeyken’s SwiftUI Books:
#swift #softwaredeveloper #iosdeveloper
Timestamps:
0:00 - What are Optionals
0:59 - Unwrapping - if let
2:57 - Unwrapping - guard let
5:37 - Unwrapping - nil coalescing
7:15 - Force Unwrapping
8:37 - Optional Chaining
9:58 - Real Example - if let
11:09 - Real Example - guard let
11:44 - Real Example - nil coalescing
12:15 - Real Example - force unwrap
Swift Optionals - How to Unwrap (real examples)
How to use Optionals in Swift | Swift Basics #6
Swift Optionals Explained: How to use them and what are they (iOS for Beginners)
Summary: Optionals – Swift for Complete Beginners
Introduction to Swift: Optionals
(2020) Swift Tutorial for Beginners: Lesson 13 Optionals
Swift 4 – Optionals
Swift for Beginners Part 7 - Optionals & Unwrapping
Maruti Swift Zxi+ Model | Swift Top Model | Swift Zxi Plus | Swift Zxi+ Model | Maruti Swift 2025..
Optionals und nil - Variablen die keinen Wert haben müssen - Swift | iOS | Tutorial
Swift Optionals Explained
Introduction to Swift: Optional chaining
Optionals in Swift erklärt - so funktionieren sie - Swift 5
Dealing with Optionals in Swift
Swift Optionals - Is Force Unwrapping THAT Bad?
Swift Optionals Explained
Swift - все способы развернуть Optional (Подготовка к собеседованию)...
Swift 4 – Optional Chaining
Swift Optionals Tutorial - Unwrapping - Guard, If Let, Chaining, Force
GANZ EINFACH Optionals in Swift
Let's Code Swift | Lesson #17 | Optionals
Swift 5 - Опционалы (Optionals)
How to handle multiple optionals using optional chaining – Swift for Complete Beginners
Swift Einführung Folge 11: Optionals
Комментарии