John Guerrero

19%
Flag icon
Optional binding is the recommended way to unwrap an optional. With optional binding, we perform a check to see whether the optional contains a valid value and, if so, unwrap it into a temporary variable or constant. This is all performed in one step.
Mastering Swift 5
Rate this book
Clear rating
Open Preview